<div dir="ltr"><div>Dear evaluat0r,</div><div><br></div><div>I have been doing some debug. The problem does not seem to be related to the request of an I frame, but to a missing attribute in webrtcbin. Specifically, I get</div><div><br></div><div>gstwebrtcbin.c:4333:_set_description_task:<sendrecv> media 0 is missing or contains an empty 'ice-ufrag' attribute</div><div><br></div><div>How can I set it in the gstwebrtcbin?</div><div><br></div><div>Finally, for requiring an I frame. Is there an event I can hook? I can bridge the request to the RTSP source.</div><div><br></div><div>Thank you,</div><div><br></div><div>Ottavio<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 12 feb 2021 alle ore 08:34 evaluat0r <<a href="mailto:volatileconst@gmail.com">volatileconst@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ottavio Campana-2 wrote<br>
> Hello,<br>
> <br>
> I am trying to bridge H.264 over RSTP from a camera to webRTC for seeing<br>
> the video in the browser.<br>
> <br>
> I started by setting up the example<br>
> <a href="https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc-sendrecv.c" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc-sendrecv.c</a><br>
> and it works.<br>
> <br>
> My successive step was moving from VP8 to H.264, thus in the function<br>
> start_pipeline I changed<br>
> <br>
> "videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! vp8enc<br>
> deadline=1 ! rtpvp8pay ! "<br>
> "queue ! " RTP_CAPS_VP8 "96 ! sendrecv. "<br>
> <br>
> to<br>
> <br>
> videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! x264enc !<br>
> rtph264pay config-interval=-1 ! "<br>
> "queue ! " RTP_CAPS_H264 "96 ! sendrecv. "<br>
> <br>
> and this also works. At this point I tried to change the pipeline, by<br>
> fetching the nal units from a RTSP source and by sending them to the<br>
> webrtcbin<br>
> <br>
> "rtspsrc location=rtsp://<a href="http://192.168.69.159/live2.sdp" rel="noreferrer" target="_blank">192.168.69.159/live2.sdp</a> latency=0 ! queue !<br>
> rtph264depay ! h264parse ! rtph264pay config-interval=-1 ! "<br>
> "queue ! " RTP_CAPS_H264 "96 ! sendrecv. "<br>
> <br>
> With firefox 85.0.1 the example hangs with "Sending SDP answer". Neither<br>
> video nor audio flaw between webrtc-sednrecv and firefox. On the other<br>
> hand, if I try it with chrome 88.0.4323.150 it works as expected.<br>
> <br>
> I suspect that there must be something wrong in my pipe, but I cannot<br>
> understand what. Can you please give me a hint?<br>
<br>
While that may work with chrome, it isn't guaranteed to work. If you receive<br>
certain messages from chrome that require to generate an I frame on request,<br>
then you can't do that if you are dealing with compressed video.<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">Non c'è più forza nella normalità, c'è solo monotonia<br></div>