Skip to content

Enable VF/startRemoteVideo() will fail intermittently if calling on audioSessionDidStart(reconnecting: Bool) #537

Open
@georgezy-amzn

Description

@georgezy-amzn

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:

  1. Invoke audioVideo.realtimeSetVoiceFocusEnabled(enabled: true) or invoke startRemoteVideo in audioSessionDidStart(reconnecting: Bool)
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    audioaudio related issuebugSomething isn't workingvideovideo related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions