Closed jflasch closed 4 years ago
That error appears when a 200 OK comes in, so please share the remote SDP.
Edit: although you may be right, it checks !session->media.has_srtp_remote_video
without checking if video is negotiated at all. Should be easy enough to replicate locally.
The commit above should fix it. Thanks for spotting the issue!
The commit above fixed it. Thanks for the support!
SIP audio stopped working in v0.7.4, specifically starting with commit dca6fec91c8c4f1da096bbad295a7725a04c5f00.
This is the line we believe to be causing problems for us: https://github.com/meetecho/janus-gateway/commit/dca6fec91c8c4f1da096bbad295a7725a04c5f00#diff-163984d531b35b047dc3f79fabe0527eL3842
We are only using the SIP plugin for audio. Prior to the above commit, audio with the SIP plugin works fine with our application. We also tried with the most recent version of master and it does not work.
We are using the SIP plugin to communicate with Asterisk. Our register message to Janus looks like this:
Our call request to Janus looks like this:
The Janus logs show us this error:
The change that we linked above seems like it's now expecting audio and video to be mandatory if you specify
sdes_mandatory
even though we only want to use audio.