Mercurial > libavformat.hg
diff rtsp.c @ 3221:e17b25e8a34e libavformat
Remove the "multicast=" tag from UDP and RTP URLs
author | lucabe |
---|---|
date | Tue, 15 Apr 2008 11:23:07 +0000 |
parents | 98e633b72d38 |
children | 47e0fbaba376 |
line wrap: on
line diff
--- a/rtsp.c Mon Apr 14 14:31:43 2008 +0000 +++ b/rtsp.c Tue Apr 15 11:23:07 2008 +0000 @@ -973,7 +973,7 @@ struct in_addr in; in.s_addr = htonl(reply->transports[0].destination); - snprintf(url, sizeof(url), "rtp://%s:%d?multicast=1&ttl=%d", + snprintf(url, sizeof(url), "rtp://%s:%d?ttl=%d", inet_ntoa(in), reply->transports[0].port_min, reply->transports[0].ttl); @@ -1413,7 +1413,7 @@ for(i=0;i<rt->nb_rtsp_streams;i++) { rtsp_st = rt->rtsp_streams[i]; - snprintf(url, sizeof(url), "rtp://%s:%d?multicast=1&ttl=%d", + snprintf(url, sizeof(url), "rtp://%s:%d?ttl=%d", inet_ntoa(rtsp_st->sdp_ip), rtsp_st->sdp_port, rtsp_st->sdp_ttl);