[Live-devel] RTSP/1.0 404 File Not Found, Or In Incorrect Format
Tony Griffen
tonygriffen at gmail.com
Thu Jan 3 09:47:53 PST 2013
Thank you for your suggestions. I've downloaded the latest source
code and rebuilt it. It is now:
LIVE555 Streaming Media library version 2013.01.03
welcome.wav still doesn't stream, and since file shows:
# file welcome.wav
welcome.wav: RIFF (little-endian) data, WAVE audio, Microsoft
PCM, 16 bit, stereo 44100 Hz
and since it plays everywhere I tried it, it would not occur to me
that live555MediaServer might not be able to read it (apparently
generateSDPDescription() in ServerMediaSession.cpp fails and
then I get this: setRTSPResponse("404 File Not Found, Or In
Incorrect Format")).
So, following your hint, I created a streaming video mpg file and
tried that. Worked like a charm, and the output from openRTSP is
exactly perfect for what I want to show.
Still perplexed about the WAV file, but it is no longer important
to my task.
Thanks,
t.
On Thu, Jan 3, 2013 at 2:14 AM, Ross Finlayson <finlayson at live555.com> wrote:
> I have read many thread on the dreaded message "RTSP/1.0 404 File Not
> Found, Or In Incorrect Format" when trying to stream from
> Live555MediaServer, yet I was not able to find any solution.
>
>
> There's nothing 'dreaded' about that error message; it means exactly what it
> says. The server is either (1) unable to find the specified file, or (2) it
> did find the file, but discovered that it's in a format that it can't
> handle. Because "fopen()" apparently succeeds on the file name, we know
> that (2) must be true.
>
> Therefore, we need to find out why the server doesn't like the file
> "welcome.wav". See
> http://www.live555.com/liveMedia/faq.html#my-file-doesnt-work
>
> Also, because you've read the FAQ (as everyone is asked to do before they
> post to this mailing list), you know that we support only the latest version
> of the "LIVE555 Streaming Media" software. You are using an old version
> (2012.02.04). You should upgrade to the latest version ASAP.
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list