Play gstreamer RTP audio stream in browser

Michael Smith michaelsmith201708 at hotmail.com
Mon Sep 18 14:33:02 UTC 2017


Hello,

I'm receiving a RTP audio stream that can use different codecs like OPUS, G711, G722, etc. I can play the received audio in my alsa interface, but I also want to play it in a browser web player. Does anybody have an idea of what is the best way of doing it? I'm streaming only an audio with RTP packets.

I tried the code in this link (https://stackoverflow.com/questions/22296991/playing-audio-stream-using-html5), but it only worked with this playbin:

gst-launch-1.0 autoaudiosrc ! audioresample ! vorbisenc ! oggmux max-delay=50 max-page-delay=50 ! tcpserversink host=192.168.1.147 port=8080

Any tip will be very helpful,

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170918/02637407/attachment-0001.html>


More information about the gstreamer-devel mailing list