| name | description | type | min | max | default |
|---|---|---|---|---|---|
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) | int | 1 | MAX_INT | 1 |
has-drm | Information for RialtoServer that given stream is DRM protected | bool | - | - | 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) | uint | 0 | 3840 | 3840 |
maxVideoHeight
| Maximum height of video frames to be decoded. should only be set for video only streams. (deprecated; use max-video-height) | uint | 0 | 2160 | 2160 |
max-video-width | Maximum width of video frames to be decoded. Should only be set for video only streams. | uint | 0 | 3840 | 3840 |
max-video-height | Maximum height of video frames to be decoded. should only be set for video only streams. | uint | 0 | 2160 | 2160 |
frame-step-on-preroll | Allows frame stepping on preroll into pause | bool | - | - | FALSE |
| name | description | type | min | max | default |
|---|---|---|---|---|---|
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) | int | 1 | MAX_INT | 1 |
has-drm | Information for RialtoServer that given stream is DRM protected | bool | - | - | true |
volume | Volume of this stream | double | 0.0 | 1.0 | 1.0 |
mute | Mute status of this stream | bool | - | - | FALSE |
| name | description | type | min | max | default |
|---|---|---|---|---|---|
ts-offset | Not supported | - | - | - | - |
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);
| name | description | return type | parameters | sinks |
|---|---|---|---|---|
buffer-underflow-callback | Signal that buffer underflow occured | void | (uint, void*) | rialtomsevideosink |