webrtcbin: Notify missing ice-gathering-state for COMPLETE 16/265816/7 submit/tizen/20211117.064045
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 29 Oct 2021 06:45:18 +0000 (15:45 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 16 Nov 2021 05:30:08 +0000 (14:30 +0900)
commit68f3bee3a48d7f006123f01fc10bdcc8be4dbbde
tree8f5e5b52f8b66c4d1c0b01ddcb4588e8fcd82ff5
parent61810b61928d0e1b0708c836a1c11a12522173b8
webrtcbin: Notify missing ice-gathering-state for COMPLETE

Occasionally, GATHERING_STATE_COMPLETE was obtained in _update_ice_
gathering_state_task() before consuming all the tasks for local ICE
candidates in _on_local_ice_candidate_task(). It missed notifying the
'ice-gathering-state' signal for gathering completion.
This patch fixes it.

Change-Id: Ie0a997e6976f48b876cb0741f488826a0c172116
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
ext/webrtc/gstwebrtcbin.c
ext/webrtc/gstwebrtcbin.h