[Live-devel] RTSP server delivers HTTP 404 describe response tocertain clients

Ross Finlayson finlayson at live555.com
Mon Mar 26 06:37:18 PDT 2012


I didn't really understand your message; it seems to be flailing around, talking about lots of different, unrelated things.

But your immediate problem - the one that you need to fix first, before worrying about anything else - is the RTSP 404 errors.  These are usually caused by the "RTSPServer::lookupServerMediaSession()" call failing.

If you *haven't* subclassed "RTSPServer" (e.g., you're not using the "DynamicRTSPServer" code, or your own subclass of "RTSPServer"), then this usually just means that your RTSP client is not using the correct 'stream name' in the "rtsp://" URL.  The 'stream name' is the "streamName" string - i.e., the second parameter - that was given in the call to "ServerMediaSession::createNew()".

If, however, you *are* using the "DynamicRTSPServer" code, then the 404 error is probably caused by the "DynamicRTSPServer::lookupServerMediaSession()" function, so you'll need to look at that code (in "mediaServer/DynamicRTSPServer .cpp") to figure out why that is failing.

Or if you're using your own subclass of "RTSPServer", and have reimplemented the "lookupServerMediaSession()" virtual function in your own code, then the error is probably caused by that function failing.

In any case, because you're using your own custom code, I can't help you much.  But Remember, You Have Complete Source Code.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120326/45667c6b/attachment.html>


More information about the live-devel mailing list