We are having trouble with our WHIP implementation. When streaming from OBS-WebRTC using WHIP to Janus, the initial connection appears to be established as OBS-WebRTC shows a green box and the ‘start streaming’ button changes from ‘connecting’ to ‘stop streaming’, but the kbps in the bottom right corner of OBS stays at 0 and after a few seconds it shows two error messages. So it doesn’t seem like the stream is actually being sent.
The OBS-WebRTC error messages and log are attached.
Current WHIP implementation:-
1. The sdp from OBS-WebRTC is received through a POST api.
2. -> Create a new Janus session
-> Attach VideoRoom plugin
-> Publish to Videoroom
-> Configure and send the SDP offer to Janus
All the steps are achieved through Janus HTTP API and long polling.
3. Get the SDP answer from Janus and return it to OBS-WebRTC with a 202 status.
Errors:-
The OBS-WebRTC starts streaming for some time then prompts connection failure. Though it starts streaming the stream is probably not being sent as the data transfer speed never changes from 0 kbps.
Logs:-
In the logs "Ice not completed yet for this channel as Ne[en0:192.168.1.x/24:Unknown:id=1] has more than 1 connection." We suspect the issue must be something regarding the ICE fail. Another interesting observation is there are no ICE candidates in the SDP offer of OBS-WebRTC.
"A socket operation was attempted to an unreachable network."
Another probably important discovery from the logs will be the above line.
Thanks for any help.