amazon-chime-sdk-ios
amazon-chime-sdk-ios copied to clipboard
Enable VF/startRemoteVideo() will fail intermittently if calling on audioSessionDidStart(reconnecting: Bool)
Describe the bug
Voice focus:
When calling audioVideo.realtimeSetVoiceFocusEnabled(enabled: true)
in audioSessionDidStart(reconnecting: Bool)
, the operation will fail, no error log found. It will work if delay the operation ~1 second.
startRemoteVideo:
Same as voice focus, except the log says VideoClient is not initialized so returning without doing anything
. It will work if invoking in videoSessionDidStartWithStatus(sessionStatus: AmazonChimeSDK.MeetingSessionStatus)
instead.
For both, they fail intermittently, and work fine on Android in audioSessionDidStart(reconnecting: Bool)
.
To Reproduce Steps to reproduce the behavior:
- Invoke
audioVideo.realtimeSetVoiceFocusEnabled(enabled: true)
or invokestartRemoteVideo
inaudioSessionDidStart(reconnecting: Bool)
- See log
Expected behavior It should work same as Android
Logs If applicable, add logs from console to help explain your problem.
Screenshots If applicable, add screenshots to help explain your problem.
Test environment Info (please complete the following information):
- Device: iPhoneX
- OS: iOS16
- Version AmazonChimeSDK: 0.22.4
- Version AmazonChimeSDKMedia: 0.17.8
- Can you reproduce this in the demo app? will try If you are reporting a crash:
- Are you using bitcode supported binaries?
- Please provide full crash logs in the form of a ".crash" or ".ips" file with a binary images section.
Additional context
Could you please provide logs for the issue?