| Index: webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
|
| diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
|
| index 3ad27d6d8a860a0e4b103deacb0497c9761b7132..7c292aeee79b2acc7608159bdec51eb3c9cb0393 100644
|
| --- a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
|
| +++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
|
| @@ -309,8 +309,11 @@ public class PeerConnectionClient {
|
|
|
| // Enable/disable OpenSL ES playback.
|
| if (!peerConnectionParameters.useOpenSLES) {
|
| - Log.d(TAG, "Disable OpenSL ES audio");
|
| + Log.d(TAG, "Disable OpenSL ES audio even if device supports it");
|
| WebRtcAudioManager.setBlacklistDeviceForOpenSLESUsage(true /* enable */);
|
| + } else {
|
| + Log.d(TAG, "Allow OpenSL ES audio if device supports it");
|
| + WebRtcAudioManager.setBlacklistDeviceForOpenSLESUsage(false);
|
| }
|
|
|
| // Create peer connection factory.
|
|
|