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
104 stars 49 forks source link

Plan to share content with audio source #333

Open eunhwa-park opened 2 years ago

eunhwa-park commented 2 years ago

Could you share a plan to share content with audio source?

According to the article below, screen sharing for the Amazon Chime SDKs for Android cannot support audio sharing. https://aws.amazon.com/about-aws/whats-new/2021/01/amazon-chime-sdk-ios-android-support-screen-share/?nc1=h_ls

In Zoom or other video communication apps, I can share audio when sharing my screen. Using Chime SDK for Android, screen sharing with video/audio source is essential. Please let me know how to sharing audio or your plans.

Thank you a lot !

eunhwa-park commented 2 years ago

I found a similar request in ios issue (https://github.com/aws/amazon-chime-sdk-ios/issues/300). It seems that the same development is required for the Android SDK.

linsang21 commented 2 years ago

Hi @eunhwa-park, thanks for submitting the request. We'll get back to you when there's any progress on this feature request.

zhinang-amazon commented 2 years ago

Our team is currently undertaking a significant project to align our end to end audio processing pipeline with WebRTC protocols and enable features such like injectable audio and a secondary content share audio sending stream. At the same time, we want to make sure that we maintain and improve the audio quality. We will keep this ticket open until we add support for Content Share Audio. In the meantime, since we support this in the JS SDK, have you explored embedding a WebView to enable this?

Here is our Android WebView demo with JS SDK: https://github.com/aws-samples/amazon-chime-sdk/tree/main/apps/android-webview-sample Keep in mind that that demo does not have content share functionality implemented, and you would have to figure out how to convert your content audio video data into the MediaStream object that is required by the JS SDK API.