[vlc-commits] commit: VOD: missing "unicast;" in SETUP Transport response header ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Tue May 25 18:48:45 CEST 2010


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May 25 19:46:17 2010 +0300| [4244990b1c37fe6dbe3fdcc9effc008c20105619] | committer: Rémi Denis-Courmont 

VOD: missing "unicast;" in SETUP Transport response header

(cherry picked from commit ab5f8e9460b96d8b16e8a2020c41f5f37d9df789)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=4244990b1c37fe6dbe3fdcc9effc008c20105619
---

 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 7f4ae09..ab3343d 100644
--- a/modules/misc/rtsp.c
+++ b/modules/misc/rtsp.c
@@ -1407,20 +1407,20 @@ static int RtspCallbackES( 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",
                                      p_rtsp_es->i_port, p_rtsp_es->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",
                                      p_rtsp_es->i_port, p_rtsp_es->i_port + 1 );
                     }
                 }
                 else
                 {
                     httpd_MsgAdd( answer, "Transport",
-                                  "RTP/AVP/UDP;client_port=%d-%d",
+                                  "RTP/AVP/UDP;unicast;client_port=%d-%d",
                                   p_rtsp_es->i_port, p_rtsp_es->i_port + 1 );
                 }
             }



More information about the vlc-commits mailing list