mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
rtsp: cleanups
This commit is contained in:
parent
18d6152af2
commit
26ff5fc073
3 changed files with 1 additions and 13 deletions
1
TODO
1
TODO
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
- implement multicast and TCP transports
|
|
||||||
- use a config file to configure the server
|
- use a config file to configure the server
|
||||||
- error recovery
|
- error recovery
|
||||||
|
|
|
@ -37,8 +37,6 @@ gst_rtsp_media_factory_set_auth
|
||||||
gst_rtsp_media_factory_get_auth
|
gst_rtsp_media_factory_get_auth
|
||||||
gst_rtsp_media_factory_set_buffer_size
|
gst_rtsp_media_factory_set_buffer_size
|
||||||
gst_rtsp_media_factory_get_buffer_size
|
gst_rtsp_media_factory_get_buffer_size
|
||||||
gst_rtsp_media_factory_set_multicast_group
|
|
||||||
gst_rtsp_media_factory_get_multicast_group
|
|
||||||
gst_rtsp_media_factory_construct
|
gst_rtsp_media_factory_construct
|
||||||
gst_rtsp_media_factory_create_element
|
gst_rtsp_media_factory_create_element
|
||||||
<SUBSECTION Standard>
|
<SUBSECTION Standard>
|
||||||
|
@ -97,8 +95,6 @@ gst_rtsp_media_set_auth
|
||||||
gst_rtsp_media_get_auth
|
gst_rtsp_media_get_auth
|
||||||
gst_rtsp_media_set_buffer_size
|
gst_rtsp_media_set_buffer_size
|
||||||
gst_rtsp_media_get_buffer_size
|
gst_rtsp_media_get_buffer_size
|
||||||
gst_rtsp_media_set_multicast_group
|
|
||||||
gst_rtsp_media_get_multicast_group
|
|
||||||
|
|
||||||
gst_rtsp_media_prepare
|
gst_rtsp_media_prepare
|
||||||
gst_rtsp_media_unprepare
|
gst_rtsp_media_unprepare
|
||||||
|
|
|
@ -1281,14 +1281,7 @@ create_sdp (GstRTSPClient * client, GstRTSPMedia * media)
|
||||||
|
|
||||||
info.server_proto = proto;
|
info.server_proto = proto;
|
||||||
protocols = gst_rtsp_media_get_protocols (media);
|
protocols = gst_rtsp_media_get_protocols (media);
|
||||||
if (protocols & GST_RTSP_LOWER_TRANS_UDP_MCAST)
|
info.server_ip = g_strdup (client->server_ip);
|
||||||
#if 0
|
|
||||||
info.server_ip = gst_rtsp_media_get_multicast_group (media);
|
|
||||||
#else
|
|
||||||
info.server_ip = g_strdup (client->server_ip);
|
|
||||||
#endif
|
|
||||||
else
|
|
||||||
info.server_ip = g_strdup (client->server_ip);
|
|
||||||
|
|
||||||
/* create an SDP for the media object */
|
/* create an SDP for the media object */
|
||||||
if (!gst_rtsp_sdp_from_media (sdp, &info, media))
|
if (!gst_rtsp_sdp_from_media (sdp, &info, media))
|
||||||
|
|
Loading…
Reference in a new issue