You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Capabilities

Supported MIME Types

Output Control

Set Video Window Size & Position

API for setting the position and size of the video output window for a pipeline session.


Quality of Service

The notifyQos() callback is used to notify clients of dropped audio/video data in the server side pipeline.


Get supported properties

This is not something that a user of rialto-gstreamer needs to be concerned about (it is done automatically). This API is to query if a specified set of properties are supported on the RialtoServer. This enables RialtoGstreamer to determine the set of properties to present, and support, for the client. This will happen upon creation of a pipeline (a sink is created).

Volume

API for setting and getting the volume for a pipeline session.


Stats

API for obtaining the number of "rendered frames" and "dropped frames"

Example rialto-gstreamer client code
GstStructure *stats{nullptr};
g_object_get(sink, "stats", &stats, nullptr);
if (stats)
{
    guint64 renderedVideoFrames;
    guint64 droppedVideoFrames;
    if (gst_structure_get_uint64(stats, "rendered", &renderedVideoFrames) &&
        gst_structure_get_uint64(stats, "dropped", &droppedVideoFrames))
    {
        std::cout << "renderedVideoFrames " << renderedVideoFrames << std::endl;
        std::cout << "droppedVideoFrames " << droppedVideoFrames << std::endl;
    }
    gst_structure_free(stats);
}

Immediate Output

API for setting and getting the "immediate-output" property (used for low-latency output)

Example rialto-gstreamer client code
gboolean immediateOutput;
# NOTE: The "immediate-output" property will only be available if it's supported by the hardware
g_object_get(videoSink, "immediate-output", &immediateOutput, nullptr);
if (immediateOutput) ...


Example rialto-gstreamer client code
gboolean immediateOutput{TRUE}; // The desired setting
# NOTE: The "immediate-output" property will only be available if it's supported by the hardware
g_object_set(videoSink, "immediate-output", immediateOutput, nullptr);

Mute

API for setting and getting the mute setting for a pipeline session.





Process Audio Gap

API for processing audio gap for a pipeline session. Functionality used to avoid audio pops during transitions.

  • No labels