on_rtcp_stats (GstRTSPStream * stream, GstStructure * stats,
GstRTSPClient * client)
{
- GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (client);
+ GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (GST_RTSP_WFD_CLIENT (client));
guint fraction_lost, exthighestseq, jitter, lsr, dlsr, rtt;
gint packetslost;
GstRTSPStream * stream, GstRTSPContext * ctx)
{
if (media) {
- GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (client);
+ GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (GST_RTSP_WFD_CLIENT (client));
priv->media = media;
}
if (stream) {
- GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (client);
+ GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (GST_RTSP_WFD_CLIENT (client));
if (priv)
priv->stats.stream = stream;
g_signal_connect (stream, "rtcp-statistics", (GCallback) on_rtcp_stats,
handle_wfd_play (GstRTSPClient * client, GstRTSPContext * ctx)
{
GstRTSPWFDClient *_client = GST_RTSP_WFD_CLIENT (client);
- GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (client);
+ GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (_client);
g_return_if_fail (priv != NULL);
GstWFDMessage *msg = NULL;
GstRTSPWFDClient *_client = GST_RTSP_WFD_CLIENT (client);
- GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (client);
+ GstRTSPWFDClientPrivate *priv = gst_rtsp_wfd_client_get_instance_private (_client);
g_return_if_fail (priv != NULL);
GstRTSPSessionPool *session_pool = NULL;
GstRTSPMountPoints *mount_points = NULL;
GstRTSPAuth *auth = NULL;
- GstRTSPWFDServerPrivate *priv = gst_rtsp_wfd_server_get_instance_private (server);
+ GstRTSPWFDServerPrivate *priv = gst_rtsp_wfd_server_get_instance_private (GST_RTSP_WFD_SERVER (server));
g_return_val_if_fail (priv != NULL, NULL);