open-webrtc-toolkit/owt-client-android

AudioEncodeParamters are not reflecting in remote audio stream

shakthi-prashanth-m opened this issue · 1 comments

I've created audio encoding parameters using

        AudioCodecParameters opusCodec = new AudioCodecParameters(OPUS, 2, 48000);
        AudioEncodingParameters opus = new AudioEncodingParameters(opusCodec);

and added opus to p2p client config as below:

        p2pConfig = P2PClientConfiguration.builder().addAudioParameters(opus)

But remote stream OnStreamAdded says audio config as 16000 sample rate, Mono channel.
Am I missing something ?

The issue was due to lack of android permissions in the Android app, not with OWT Android SDK. Hence closing.