awslabs / amazon-kinesis-video-streams-webrtc-sdk-android

Android SDK for interfacing with Amazon Kinesis Video Streams Signaling Service.
Apache License 2.0
59 stars 38 forks source link

after connect peer how to mute on or off?? #53

Closed Joseph-TSS closed 3 years ago

disa6302 commented 3 years ago

@Joseph-TSS ,

Question is not clear. Are you looking to mute local audio or received remote audio? If local audio, you can use audioManager.setMicrophoneMute(boolean) to do so.

Joseph-TSS commented 3 years ago

audioManager.setMicrophoneMute(boolean) its working for me and thanks a lot... again i need a favor from u (how to end the session and can i flip camera while live stream?)

disa6302 commented 3 years ago

With the current sample, that is not possible. There is a UI button to select front or back facing camera. The best way would be to re-establish peer connection.

About ending session, onDestroy() handles it.

disa6302 commented 3 years ago

Closing assuming question is answered