<div dir="ltr"><div>Hello,</div><div><br></div><div>I am trying to bridge H.264 over RSTP from a camera to webRTC for seeing the video in the browser.</div><div><br></div><div>I started by setting up the example <a href="https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc-sendrecv.c" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc-sendrecv.c</a> and it works.</div><div><br></div><div>My successive step was moving from VP8 to H.264, thus in the function start_pipeline I changed</div><div><br></div><div>"videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! vp8enc deadline=1 ! rtpvp8pay ! "</div><div>"queue ! " RTP_CAPS_VP8 "96 ! sendrecv. "</div><div><br></div><div>to</div><div><br></div><div>videotestsrc is-live=true pattern=ball ! videoconvert ! queue ! x264enc ! rtph264pay config-interval=-1 ! "</div><div>"queue ! " RTP_CAPS_H264 "96 ! sendrecv. "</div><div><br></div><div>and
 this also works. At this point I tried to change the pipeline, by 
fetching the nal units from a RTSP source and by sending them to the 
webrtcbin</div><div><br></div><div>"rtspsrc location=rtsp://<a href="http://192.168.69.159/live2.sdp" target="_blank">192.168.69.159/live2.sdp</a> latency=0 ! queue ! rtph264depay ! h264parse ! rtph264pay config-interval=-1 ! "</div><div>"queue ! " RTP_CAPS_H264 "96 ! sendrecv. "</div><div><br></div><div>With
 firefox 85.0.1 the example hangs with "Sending SDP answer". Neither 
video nor audio flaw between webrtc-sednrecv and firefox. On the other 
hand, if I try it with chrome 88.0.4323.150 it works as expected.</div><div><br></div><div>I suspect that there must be something wrong in my pipe, but I cannot understand what. Can you please give me a hint?</div><div><br></div><div>Thank you,</div><div><br></div><div>Ottavio<font color="#888888"><br></font></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Non c'è più forza nella normalità, c'è solo monotonia<br></div></div>