Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
georgezy-amzn opened this issue Nov 9, 2022 · 1 comment
Labels
audio audio related issue bug Something isn't working video video related issue

Comments

@georgezy-amzn
Copy link
Collaborator

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

@dingyishen-amazon
Copy link
Contributor

Could you please provide logs for the issue?

@ltrung ltrung added bug Something isn't working audio audio related issue video video related issue labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audio audio related issue bug Something isn't working video video related issue
Projects
None yet
Development

No branches or pull requests

3 participants