RTSP stream to webrtcbin
Matthew Waters
ystreet00 at gmail.com
Wed Apr 11 05:16:17 UTC 2018
On 11/04/18 07:32, 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
> <http://10.51.52.115/h264> ! queue ! rtph264pay !
> application/x-rtp,media=video,encoding-name=H264,payload=96 !
> webrtcbin name=sendrecv", &error);
You need to depayload after rtspsrc before you repayload again.
i.e. add a rtph264depay before rtph264pay.
Cheers
-Matt
> Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180411/64653a1f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180411/64653a1f/attachment-0001.sig>
More information about the gstreamer-devel
mailing list