API for setting the position and size of the video output window for a pipeline session.
The notifyQos() callback is used to notify clients of dropped audio/video data in the server side pipeline.
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).
API for setting and getting the volume for a pipeline session.
API for obtaining the number of "rendered frames" and "dropped frames"
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);
}
API for setting and getting the "immediate-output" property (used for low-latency output)
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) ...
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);
API for setting and getting the mute setting for a pipeline session.
API for processing audio gap for a pipeline session. Functionality used to avoid audio pops during transitions.