Merge branch 'voip/add-voip-function' of https://gitlab.com/famedly/company/frontend/famedlysdk into voip/add-voip-function
This commit is contained in:
commit
4ebf5b2553
|
|
@ -880,7 +880,7 @@ class CallSession {
|
||||||
pc!.onIceGatheringState = (RTCIceGatheringState state) async {
|
pc!.onIceGatheringState = (RTCIceGatheringState state) async {
|
||||||
Logs().v('[VOIP] IceGatheringState => ${state.toString()}');
|
Logs().v('[VOIP] IceGatheringState => ${state.toString()}');
|
||||||
if (state == RTCIceGatheringState.RTCIceGatheringStateGathering) {
|
if (state == RTCIceGatheringState.RTCIceGatheringStateGathering) {
|
||||||
Timer(Duration(milliseconds: 3000), () async {
|
Timer(Duration(seconds: 3), () async {
|
||||||
if (!iceGatheringFinished) {
|
if (!iceGatheringFinished) {
|
||||||
iceGatheringFinished = true;
|
iceGatheringFinished = true;
|
||||||
await _candidateReady();
|
await _candidateReady();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue