RTSP stream to webrtcbin

evaluat0r volatileconst at gmail.com
Tue Aug 20 17:57:10 UTC 2019


Ottawa Boy wrote
> Hi Nirbheek,
> 
> In your reply to Ivan in the comments section of your blog post, you
> mentioned that it should be possible to directly payload-encode an RTSP
> stream containing H264 frames into webrtcbin without having to first
> decode
> it and then re-encode it. I am interested in this exact scenario. I've
> tried the following pipeline but it doesn't show the video on the webpage.
> There is no error in the browser console either. Could you please take a
> look and let me know if there is something wrong with this pipeline?
> 
> gst_parse_launch("rtspsrc location=rtsp://10.51.52.115/h264 ! queue !
> rtph264pay ! application/x-rtp,media=video,encoding-name=H264,payload=96 !
> webrtcbin name=sendrecv", &error);
> 
> Thanks!
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

I don’t think that is technically correct. This is because webrtc supports
adapt but rate control. If the sender needs to lower the bit rate or
increase it, then it necessitates decode/encode step. Therefore, you can’t
simply pass it through.



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


More information about the gstreamer-devel mailing list