<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>W dniu 15.03.2012 15:05, Grzegorz Gaj napisaĆ(a):</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">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.)</blockquote>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><br />Ok. It almost worked but..<br /><br />When I am sending :<br /><br />SETUP <a href="rtsp://127.0.0.1/testStream/track1">rtsp://127.0.0.1/testStream/track1</a> RTSP/1.0<br />CSeq: 4<br />User-Agent: ./openRTSP (LIVE555 Streaming Media v2012.02.29)<br />Transport: RTP/AVP;multicast;destination=230.1.1.1;client_port=7000-7001<br /><br /><br />the testMPEG2TransportStreamer responds with:<br /><br />RTSP/1.0 200 OK<br />CSeq: 4<br />Date: Thu, Mar 15 2012 14:03:51 GMT<br />Transport: RTP/AVP;multicast;destination=239.255.42.42;source=xxx.xxx.xxx.xxx;port=1234-1235;ttl=7<br />Session: 0F290F2E<br /><br /><br />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 ?<br /><br />Thanks</blockquote>
<pre> </pre>
</blockquote>
<p> </p>
<div> </div>
</body></html>