<div dir="ltr"><div><br></div><div>From experience, you can create a pipeline that takes in whatever data (be it RTSP or something else) and send it to a WebRTC element. You don't really need to reply to I-Frame requests and such.</div><div><br></div><div>The only trick is that WebRTC has non-standard signalling; so you'll need to handle that in some way or you'll need to hardcode about everything you can.</div><div><br></div><div>In general, the pipelines I used was something along the lines of</div><div><br></div><div>uridecodebin uri=..... caps="video/x-vp9; video/x-vp8; video/x-h264; video/x-h265" ! parser ! payloader ! webrtcsink uri=....</div><div><br></div><div>Of course this was unidirectional.<br></div><div><br></div><div>By doing this, you could easily send feeds from standard cameras over (IIRC) amazon cloud to some browser on a hand held device.</div><div><br></div><div>Unfortunately, management lost interest; and this code is now rotting in some git repo :-(<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 7 Aug 2020 at 09:00, evaluat0r <<a href="mailto:volatileconst@gmail.com">volatileconst@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">pasifus wrote<br>
> and what gstreamer pipeline you used?<br>
> <br>
> <br>
> <br>
> <br>
> --<br>
> Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
<br>
> gstreamer-devel@.freedesktop<br>
<br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
I don't think you can do this because if a PLI or intra frame request is<br>
made, then you have to respond to that. But RTSP doesn't understand those<br>
requests so your webrtc sender would have to decode and encode the h264 or<br>
vp8 data.<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">g. Marc</div>