mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
media-factory: configure multicast in media
This commit is contained in:
parent
5b53335873
commit
ccfb99f852
1 changed files with 5 additions and 0 deletions
|
@ -793,6 +793,7 @@ default_configure (GstRTSPMediaFactory * factory, GstRTSPMedia * media)
|
|||
gboolean shared, eos_shutdown;
|
||||
guint size;
|
||||
GstRTSPAuth *auth;
|
||||
gchar *mc;
|
||||
|
||||
/* configure the sharedness */
|
||||
GST_RTSP_MEDIA_FACTORY_LOCK (factory);
|
||||
|
@ -809,4 +810,8 @@ default_configure (GstRTSPMediaFactory * factory, GstRTSPMedia * media)
|
|||
gst_rtsp_media_set_auth (media, auth);
|
||||
g_object_unref (auth);
|
||||
}
|
||||
if ((mc = gst_rtsp_media_factory_get_multicast_group (factory))) {
|
||||
gst_rtsp_media_set_multicast_group (media, mc);
|
||||
g_free (mc);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue