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 1d049f91d4ea8316a9c7c065d2258e8b109f3d9a..5c50e5aeb519f7b0ebab932346a2a54f9d6ba22b 100644 |
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
@@ -1058,7 +1058,7 @@ public class PeerConnectionClient { |
return; |
} |
Log.d(TAG, "changeCaptureFormat: " + width + "x" + height + "@" + framerate); |
- videoCapturer.onOutputFormatRequest(width, height, framerate); |
+ videoSource.adaptOutputFormat(width, height, framerate); |
} |
// Implementation detail: observe ICE & stream changes and react accordingly. |