aws / amazon-chime-sdk-android

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

Audio is not transferring to secondary display #472

Open saurabh810 opened 2 years ago

saurabh810 commented 2 years ago

Describe the bug We are using a secondary display (i.e. presentation is a special kind of dialog whose purpose is to present content on a secondary display) to show attendees videos on it. But the audio is not transferring to the secondary display it's still coming from the phone instead of the secondary display.

To Reproduce Steps to reproduce the behavior:

  1. Start screen mirroring from the settings.
  2. Open Youtube or any media app & play the video.
  3. Check audio is coming from mirrored display.
  4. Join the meeting from the same device when screen is mirrored.
  5. Check audio is not transferring to secondary display, it's still coming from the phone.

Expected behavior Is there any way to transfer audio to secondary display like other media applications. We check it with both audio configuration i.e AudioStreamType.Music & AudioStreamType.VoiceCall

Test environment Info (please complete the following information):

dingyishen-amazon commented 2 years ago

Hi @saurabh810, for clarification, do you use Motorola Edge 20 as the secondary display and mirror the screen of Pixel 6 Pro to it?

saurabh810 commented 2 years ago

Hi @dingyishen-amazon, no, I am casting/mirroring the screen of Motorola Edge 20 or Pixel 6 Pro to a Chromecast-enabled device (in my case it's Mi TV).

georgezy-amzn commented 2 years ago

Hi @saurabh810,

This is not supported currently, I'll mark this as feature request.