Hello Ross<br> I am using your testOnDemandRTSPServer.cpp in which i am using the following part:-<br> // A MPEG-2 Transport Stream, coming from a live UDP (raw-UDP or RTP/UDP) source:<br> {<br> char const* streamName = "mpeg2TransportStreamFromUDPSourceTest";<br>
char const* inputAddressStr = "239.255.42.42";<br> // This causes the server to take its input from the stream sent by the "testMPEG2TransportStreamer" demo application.<br> // (Note: If the input UDP source is unicast rather than multicast, then change this to NULL.)<br>
portNumBits const inputPortNum = 1234;<br> // This causes the server to take its input from the stream sent by the "testMPEG2TransportStreamer" demo application.<br> Boolean const inputStreamIsRawUDP = False; <br>
ServerMediaSession* sms<br> = ServerMediaSession::createNew(*env, streamName, streamName,<br> descriptionString);<br> sms->addSubsession(MPEG2TransportUDPServerMediaSubsession<br> ::createNew(*env, inputAddressStr, inputPortNum, inputStreamIsRawUDP));<br>
rtspServer->addServerMediaSession(sms);<br><br> char* url = rtspServer->rtspURL(sms);<br> *env << "\n\"" << streamName << "\" stream, from a UDP Transport Stream input source \n\t(";<br>
if (inputAddressStr != NULL) {<br> *env << "IP multicast address " << inputAddressStr << ",";<br> } else {<br> *env << "unicast;";<br> }<br> *env << " port " << inputPortNum << ")\n";<br>
*env << "Play this stream using the URL \"" << url << "\"\n";<br> delete[] url;<br> }<br><br>for this application i first run the "<b>testMPEG2TransportStreamer.exe</b>" ant then run this <b>testOnDemandRTSPServer.cpp</b>,it works well for rtsp streaming then i added the <b>RTSPServerSupportingHTTPStreaming.cpp</b> and <b>ByteStream.cpp</b> then i again ran the <b>testMPEG2TransportStreamer.exe</b> and then the <b>testOnDemandRTSPServer.exe</b> including the<b> tunneling file </b>now when i try to receive the data through<b> <a href="http://URL/mpeg2TransportStreamFromUDPSourceTest">http://URL/mpeg2TransportStreamFromUDPSourceTest</a>,</b><br>
<b>my vlc player says:-<br>VLC is unable to open the MRL.</b><br><b>Do i have to attach any other file to the project???Am i doing something wrong??</b><br><br>Thanks<br>Tarun<br>