Properties:

rialtomsevideosink
namedescriptiontypeminmaxdefault

single-path-stream

Information for RialtoServer that only one type of stream will be attached.

(Deprecated, use "streams-info" GstContext)

bool--FALSE

streams-number

Number of streams of given type
(Deprecated, use "streams-info" GstContext)
int1MAX_INT1

has-drm

Information for RialtoServer that given stream is DRM protectedbool--true

rectangle

Window coordinates

(format: "x,y,width,height")

string---

maxVideoWidth

 

Maximum width of video frames to be decoded. Should only be set for video only streams.

(deprecated; use max-video-width)

uint0

3840

3840

maxVideoHeight

 

Maximum height of video frames to be decoded. should only be set for video only streams.

(deprecated; use max-video-height)

uint0

2160

2160

max-video-width

Maximum width of video frames to be decoded. Should only be set for video only streams.

uint0

3840

3840

max-video-height

Maximum height of video frames to be decoded. should only be set for video only streams.

uint0

2160

2160

frame-step-on-preroll 

Allows frame stepping on preroll into pause

bool-

-

FALSE

rialtomseaudiosink
namedescriptiontypeminmaxdefault

single-path-stream

Information for RialtoServer that only one type of stream will be attached.

(Deprecated, use "streams-info" GstContext)

bool--FALSE

streams-number

Number of streams of given type
(Deprecated, use "streams-info" GstContext)
int1MAX_INT1

has-drm

Information for RialtoServer that given stream is DRM protectedbool--true

volume

Volume of this stream

double0.01.01.0

mute

Mute status of this stream

bool--FALSE
rialtowebaudiosink
namedescriptiontypeminmaxdefault

ts-offset

Not supported

--

-

-

Context

Rialto now supports GstContext with 'streams-info' GstStructure inside to provide the number of streams to RialtoServer. This is recommended way to supply this information in non-playbin pipelines. If such context is not supplied in non-playbin pipelines, Rialto will assume that there's one video stream and one audio stream without any subtitles.

Example of GstContext with 'streams-info'.

    GstContext *context = gst_context_new("streams-info", false);

    GstStructure *contextStructure = gst_context_writable_structure(context);
    gst_structure_set(contextStructure, "video-streams", G_TYPE_UINT, 0x0u, "audio-streams", G_TYPE_UINT, 0x1u,
                      "text-streams", G_TYPE_UINT, 0x0u, nullptr);

    gst_element_set_context(GST_ELEMENT(pipeline), context);

    gst_context_unref(context);


Signals

namedescriptionreturn typeparameterssinks

buffer-underflow-callback

Signal that buffer underflow occured

void(uint, void*)

rialtomsevideosink
rialtomseaudiosink

  • No labels