How to modify the pipeline in test-onvif.c to stream a wav file

ndr16 endre16 at gmail.com
Mon Apr 5 12:04:23 UTC 2021


I'm trying to modify  this example
<https://github.com/GStreamer/gst-plugins-good/blob/master/tests/examples/rtsp/test-onvif.c>  
to play audio on a capable IP camera. I managed to compile the example and
got it working with the rednoise. What's the right way to pass an
appropriate (or any) wav file to the backpipe in
setup_backchannel_shoveler()?

I tried the following but didn't play any sound:

backpipe = gst_parse_launch("filesrc location=output.wav ! wavparse !
audioconvert ! audioresample ! mulawenc ! rtppcmupay ! appsink name=out",
NULL);

Any ideas?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list