aws / amazon-chime-sdk-ios

An iOS client library for integrating multi-party communications powered by the Amazon Chime service.
https://aws.amazon.com/chime/chime-sdk/
Apache License 2.0
139 stars 64 forks source link

AmazonChimeSdk "VideoClient is not initialized so returning without doing anything" when starting remote or local video #653

Open BonVit opened 4 months ago

BonVit commented 4 months ago

Describe the bug We recently started to get an error "VideoClient is not initialized so returning without doing anything" when starting remote or local video in a meeting.

This was reported from Production and we were able to reproduce (not consistently) in QA environment.

When the bug happens the audio connection is working, both parties are able to hear each other but the video is not working.

We are using Chime SDK version:

The bug also reproduces on version:

We tried to upgrade the SDK but this did fix the problem.

Logs Code and log flow we see: 1) audioVideo.start(callKitEnabled: false) Logs: "Initializing VideoClient" "Starting VideoClient" 2) audioVideo.startRemoteVideo() Logs: "VideoClient is not initialized so returning without doing anything" 3) audioVideo.startLocalVideo() Logs: VideoClient is not initialized so returning without doing anything

Test environment Info (please complete the following information):

Additional context In our IOS app we are using WebRtc connection implemented by ourselves using WebRtc version M107. We have multiple WebRtc frameworks compiled into our IOS application due to product specific requirements. The additional WebRtc library usage is not related to Chime, we use it to connect data and video channels between 2 parties, IOS application and proprietary device.