chore: Time unit replacement.
This commit is contained in:
parent
9bc35a216a
commit
e5c8e4f4fe
|
|
@ -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