<div dir="ltr"><div>Hi,</div><div>I try to use webrtcbin with Janus.</div><div>I've found examples like <a href="https://github.com/centricular/gstwebrtc-demos/blob/master/janus/janusvideoroom.py" target="_blank">https://github.com/centricular/gstwebrtc-demos/blob/master/janus/janusvideoroom.py</a>, <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/blob/master/tests/examples/webrtc/webrtcrenego.c" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/blob/master/tests/examples/webrtc/webrtcrenego.c</a>, <a href="https://github.com/centricular/gstwebrtc-demos/blob/master/sendrecv/gst-rust/src/main.rs" target="_blank">https://github.com/centricular/gstwebrtc-demos/blob/master/sendrecv/gst-rust/src/main.rs</a>, <a href="https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc_sendrecv.py" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc_sendrecv.py</a>.</div><div><br></div><div>They
tend to create an offer locally, send it to Janus, receive an answer
and set it as a remote description. I would like to mimic behaviour,
which we used to use with python's aiortc: get an offer from Janus,
generate an answer and send it back.</div><div><br></div><div>I set SDP
offer from Janus with set-remote-description, then emit create-answer;
but I get an answer WebRTCSessionDescription with an empty SDP and a
very strange WebRTCSDPType=-43384639 (non-existing enum?).</div><div><br></div><div>What am I doing wrong and how to fix this?</div><div><br></div><div>The python script used is here: <a href="https://pastebin.com/WGPcF64m" target="_blank">https://pastebin.com/WGPcF64m</a></div><div>Module dvr_processor.dvr_processor.janus contains communication with Janus: <a href="https://pastebin.com/KAhTv8Lq" target="_blank">https://pastebin.com/KAhTv8Lq</a></div><div>Logs are here: <a href="https://pastebin.com/QVegDhRZ" target="_blank">https://pastebin.com/QVegDhRZ</a></div><div><br></div><div>It is gstreamer 1.20.1 on ubuntu-22.04 based image.</div><div><br></div><div>Regards,</div><div>Alexei Golovko.</div></div>