<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/04/18 07:32, Ottawa Boy wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPFxh=Ry4GmYD0yPm4sPmvvmS6hMviZaHmLzbcHQEX+jHYxyxw@mail.gmail.com">
<div dir="ltr">Hi Nirbheek,
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>gst_parse_launch("rtspsrc location=<a class="moz-txt-link-freetext" href="rtsp://">rtsp://</a><a
href="http://10.51.52.115/h264" moz-do-not-send="true">10.51.52.115/h264</a>
! queue ! rtph264pay !
application/x-rtp,media=video,encoding-name=H264,payload=96 !
webrtcbin name=sendrecv", &error);<br>
</div>
</div>
</blockquote>
<br>
You need to depayload after rtspsrc before you repayload again.<br>
<br>
i.e. add a rtph264depay before rtph264pay.<br>
<br>
Cheers<br>
-Matt<br>
<br>
<blockquote type="cite"
cite="mid:CAPFxh=Ry4GmYD0yPm4sPmvvmS6hMviZaHmLzbcHQEX+jHYxyxw@mail.gmail.com">
<div dir="ltr">
<div>Thanks!</div>
</div>
</blockquote>
</body>
</html>