chore: Time unit replacement.

This commit is contained in:
Krille Fear 2021-12-02 15:12:59 +00:00 committed by Duan Weiwei
parent 9bc35a216a
commit e5c8e4f4fe
1 changed files with 1 additions and 1 deletions

View File

@ -880,7 +880,7 @@ class CallSession {
pc!.onIceGatheringState = (RTCIceGatheringState state) async {
Logs().v('[VOIP] IceGatheringState => ${state.toString()}');
if (state == RTCIceGatheringState.RTCIceGatheringStateGathering) {
Timer(Duration(milliseconds: 3000), () async {
Timer(Duration(seconds: 3), () async {
if (!iceGatheringFinished) {
iceGatheringFinished = true;
await _candidateReady();