Skip to content

webrtc/signaling: Correct the condition when calling a busy peer

byran77 requested to merge byran77/gst-examples:fix-calling-busy-peer into master

Hi,

Thanks for such great examples for reference and study!

I thought there exists a little mistake in webrtc signaling server. When a session request is coming, ERROR occurs when the callee is busy. But peer_status is the status of the caller, which is of course None when calling someone, while self.peers[callee_id][2] is that of the callee.

Merge request reports

Loading