Gstreamer WebRTC SFU

roy_ros roy.ros.cobo at gmail.com
Thu Mar 29 17:29:56 UTC 2018


Hello im developing an SFU with gstreamer for my university final degree
project.

My problem is when i try to connect the webrtcbin1 srcpad is created with
the browser stream to the webrtbinc2 sinkpad and negotiates with the
webrtcbin2 to another browser so the 2nd browser can see the stream of the
browser 1.
Even though the browser 2 is getting the media of the browser 1 ( it apears
when i do pc.getRemoteStreams() in the browser console) the media doesnt
plays.

To do this i have the following pipeline structure:

webrtcbin1_srcpad_Browser_1 ! rtpvp8depay ! vp8dec ! videoconvert ! tee
name=t ! queue ! vp8enc ! rtpvp8pay ! queue !
application/x-rtp,media=video,payload=96,encoding-name=VP8 ! webrtcbin
name=wrbinB2

and take the wrbinB2 and negotiate to the browser 2 ( this happens when the
browser 1 fires the signal pad-added on the webrtcbin1), the negotiation
with the browser 2 is correct and i get no errors in the gst.c nor
browser.js.

I probably do the conversion in a wrong way but i dont know how would be to
connect one webrtcbin srcpad to the sinkpad of another webrtcbin

Thank you so much in advance!



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


More information about the gstreamer-devel mailing list