[vlc-devel] commit: Add missing unicast parameter in the Transport: response ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Jun 6 16:37:44 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri Jun  6 16:51:52 2008 +0300| [6145aa227a84a32b65beb8f27758e63f0b23b6b3]

Add missing unicast parameter in the Transport: response

So-called "RTSP" VoD remains extremely broken,
and I have no intention to fix it.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6145aa227a84a32b65beb8f27758e63f0b23b6b3
---

 modules/misc/rtsp.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/misc/rtsp.c b/modules/misc/rtsp.c
index a97551d..450551d 100644
--- a/modules/misc/rtsp.c
+++ b/modules/misc/rtsp.c
@@ -1019,19 +1019,19 @@ static int RtspCallback( httpd_callback_sys_t *p_args, httpd_client_t *cl,
                     if( strstr( psz_transport, "MP2T/H2221/UDP" ) )
                     {
                         httpd_MsgAdd( answer, "Transport",
-                                      "MP2T/H2221/UDP;client_port=%d-%d",
+                                      "MP2T/H2221/UDP;unicast;client_port=%d-%d",
                                       i_port, i_port + 1 );
                     }
                     else if( strstr( psz_transport, "RAW/RAW/UDP" ) )
                     {
                         httpd_MsgAdd( answer, "Transport",
-                                      "RAW/RAW/UDP;client_port=%d-%d",
+                                      "RAW/RAW/UDP;unicast;client_port=%d-%d",
                                       i_port, i_port + 1 );
                     }
                 }
                 else
                     httpd_MsgAdd( answer, "Transport",
-                                  "RTP/AVP/UDP;client_port=%d-%d",
+                                  "RTP/AVP/UDP;unicast;client_port=%d-%d",
                                   i_port, i_port + 1 );
             }
             else /* TODO  strstr( psz_transport, "interleaved" ) ) */




More information about the vlc-devel mailing list