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

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

How set the opus encoding for input audio? #87

Closed SangKarthi94 closed 3 weeks ago

SangKarthi94 commented 1 year ago

To send the local audio to the PeerConnection, we need to encode the microphone audio as ENCODING_OPUS. Currently, the audio encoding is set to PCM_16BIT by default, so we would require a callback mechanism to dynamically change the encoding attributes.

niyatim23 commented 3 weeks ago

This can be achieved by SDP re-negotiation but you will experience a brief interruption during the process