aws/amazon-chime-sdk-ios

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

BonVit opened this issue · 0 comments

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:

  • AmazonChimeSDK-No-Bitcode (0.24.0):
    • AmazonChimeSDKMedia-No-Bitcode (= 0.19.0)
  • AmazonChimeSDKMedia-No-Bitcode (0.19.0)

The bug also reproduces on version:

  • AmazonChimeSDK-No-Bitcode (0.22.7):
    • AmazonChimeSDKMedia-No-Bitcode (= 0.17.11)
  • AmazonChimeSDKMedia-No-Bitcode (0.17.11)

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):

  • OS: IOS 17.3.1

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.