gst-examples: webrtc: signalling: simple-server Fix condition when calling a busy...
authorbyran77 <byran77@outlook.com>
Mon, 15 Nov 2021 09:04:07 +0000 (17:04 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 12 Dec 2022 15:08:23 +0000 (15:08 +0000)
commit1e5abde7b1f7502f34182465e317221912d6a8de
treec05f721ee1e9dc168bc2b571ff7e6e56ee7ec4c5
parent06c7b335058515bd6da0dc5c687c934a932c1237
gst-examples: webrtc: signalling: simple-server Fix condition when calling a busy peer

When a session request is coming in, 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.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2460>
subprojects/gst-examples/webrtc/signalling/simple_server.py