[Live-devel] How can I make RTSPServer to stream from file to multicast address ?

freezer at smsnet.pl freezer at smsnet.pl
Thu Mar 15 07:37:44 PDT 2012


  

W dniu 15.03.2012 15:05, Grzegorz Gaj napisał(a): 

>> You can't
do this with the "LIVE555 Media Server" (or "testOnDemandRTSPServer"),
because that is a unicast server (i.e., delivering streams via unicast
only). If you want to stream a Transport Stream file via multicast, then
I suggest using the "testMPEG2TransportStreamer" demo application (in
"testProgs") instead. One change that you will need to make to that code
is uncomment the line #define IMPLEMENT_RTSP_SERVER 1 on line 34 of
"testMPEG2TransportStreamer.cpp", so that you get a RTSP server that
clients can connect to to receive the stream. (Note that the stream will
be delivered via RTP/UDP, not raw-UDP.)
> 
>> Ok. It almost worked
but..
>> 
>> When I am sending :
>> 
>> SETUP
rtsp://127.0.0.1/testStream/track1 [1] RTSP/1.0
>> CSeq: 4
>>
User-Agent: ./openRTSP (LIVE555 Streaming Media v2012.02.29)
>>
Transport:
RTP/AVP;multicast;destination=230.1.1.1;client_port=7000-7001
>> 
>> the
testMPEG2TransportStreamer responds with:
>> 
>> RTSP/1.0 200 OK
>>
CSeq: 4
>> Date: Thu, Mar 15 2012 14:03:51 GMT
>> Transport:
RTP/AVP;multicast;destination=239.255.42.42;source=xxx.xxx.xxx.xxx;port=1234-1235;ttl=7
>>
Session: 0F290F2E
>> 
>> As u can see destination address is set
permanently on server side. I would like to change it thru SETUP. How
can I achieve this ?
>> 
>> Thanks

  

Links:
------
[1]
http://poczta.smsnet.pl/rtsp://127.0.0.1/testStream/track1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120315/83463817/attachment.html>


More information about the live-devel mailing list