<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hello Ross,<br><br>Many thanks for your pointer. I enabled debug and retried my experiments with VLC, QT and Windows Media Player. From the logs, I observed the following.<br><br>After connection is setup,<br>- both VLC and QT send DESCRIBE command with bytes and parseRTSPRequestString returns DESCRIBE command name.<br>- After this stage, both VLC and QT are able to sent SETUP command which is also serviced successfully<br>- After setup, PLAY is also serviced successfully for both the players. At the end of this stage, RTP info in URL is passed successfully from RTSPServer. <br>- After this stage, VLC is able to play the stream without any issues. But, in case of QT, I observed that QT sends "0" bytes and terminates the connection. After the same, QT sends a GET command with HTTP/1.0 to
Live555MediaServer. <br>- Because the incoming protocol type is HTTP, parseRTSPRequestString() failed and hence, Bad Request Message is observed in QT.<br><br>The same issue is observed when I try playing the streaming data using Windows Media Player too. I have attached the log in case of QT player.<br><br>Is this a known defect with QT or am I missing some parameter or initialization? Another interesting issue I observed was that one version of QT detected the frame width and height, but was unable to display the decoded data. <br><br>Do I need to invoke or modify any call in case of QT/ Windows Media Player? I assume that the current failure is due to the incoming request type to be HTTP. How do I overcome the same?<br><br>Thanks,<br>Ganesh<br><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span
style="font-weight: bold;">From:</span></b> Ross Finlayson <finlayson@live555.com><br><b><span style="font-weight: bold;">To:</span></b> LIVE555 Streaming Media - development & use <live-devel@ns.live555.com><br><b><span style="font-weight: bold;">Sent:</span></b> Monday, May 4, 2009 8:33:10 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Live-devel] RTSP Streaming Playback in QuickTime<br></font><br>
> I am trying to stream out MPEG4/H.264 streams from my application on a device using livemedia stack. I am able to play the streams without any issues using VLC player and my own player based of Livemedia stack. However, when I try to play the same using a Quicktime player, I observe a "Bad Request" message.<br><br>Turn on debugging output in your RTSP server application, by adding<br>#define DEBUG 1<br>to the start of "liveMedia/RTSPServer.cpp", and recompile. That should tell you why the server is rejecting the request.<br>-- <br>Ross Finlayson<br>Live Networks, Inc.<br><span><a target="_blank" href="http://www.live555.com/">http://www.live555.com/</a></span><br>_______________________________________________<br>live-devel mailing list<br><a ymailto="mailto:live-devel@lists.live555.com" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br><span><a target="_blank"
href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a></span><br></div></div></div><br>
</body></html>