I am trying to run the example program
https://github.com/thaytan/gst-rtsp-server/blob/master/examples/test-ogg.cto stream ogg vorbis audio files over RTSP but it doesn't work. The
test-mp4.c example from the same folder did work with VLC. However the
test-ogg.c example makes VLC get in a loop of errors. I also tried using
`gst-launch` to play the stream but it did not work.
So I run the server first:
$ ./ogg Vanilla\ -\ For\ What\ It\'s\ Worth\ -\ 02\ Azure.ogg
stream ready at rtsp://127.0.0.1:8554/test
Then I try to play the stream with gst-launch:
$ gst-launch-1.0 -v rtspsrc location=rtsp://127.0.0.1:8554/test
!decodebin ! autoaudiosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://127.0.0.1:8554/test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Unhandled error
Additional debug info:
gstrtspsrc.c(6157): gst_rtspsrc_send ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Service Unavailable (503)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Running the .ogg audio file with*out* rtsp does work though:
$ gst-launch-1.0 filesrc location=music.ogg ! oggdemux ! decodebin !
autoaudiosink
What gives?
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel