Open kendo6666 opened 1 month ago
if (widget.callType == CallType.video) {
await Future.delayed(const Duration(seconds: 1));
}
await _room?.localParticipant?.setMicrophoneEnabled(enabledMicrophone);
After adding 1 second delay the problem was solved.Perhaps it would be correct to publish the audio track first, as fastConnection does.
There is an intermittent issue we have encountered while using the flutter SDK for audio and video calls on iOS devices.
Issue Summary: We have observed that approximately 10%-20% of the time, the remote participant cannot hear any audio during a call. Upon investigation, we found that the SDP offer generated by the createAndSendOffer method sometimes lacks any audio information. This issue does not occur on Android devices using the same SDK versions.
Details: iOS Devices: iPhone X (iOS 16.4) iPhone 11 (iOS 15.0.2)
Livekit Server Versions: 1.6.0 1.7.0
Livekit SDK Versions: 1.5.3 to 2.2.2 (all versions tested)
Steps to Reproduce:
Observed Behavior: The SDP offer generated by the createAndSendOffer method sometimes lacks audio information. The remote participant cannot hear any audio during the call.
Thank you for your attention to this matter. We look forward to your prompt response and assistance.