Index: webrtc/api/android/java/src/org/webrtc/CameraVideoCapturer.java |
diff --git a/webrtc/api/android/java/src/org/webrtc/CameraVideoCapturer.java b/webrtc/api/android/java/src/org/webrtc/CameraVideoCapturer.java |
index 1a66fcc37b413827ca2a2927cee468bcda6c4436..283d5d1f2bd55609f461dea4ac124fa4449bfb77 100644 |
--- a/webrtc/api/android/java/src/org/webrtc/CameraVideoCapturer.java |
+++ b/webrtc/api/android/java/src/org/webrtc/CameraVideoCapturer.java |
@@ -25,6 +25,9 @@ public interface CameraVideoCapturer extends VideoCapturer { |
// or any camera exception happens on camera thread. |
void onCameraError(String errorDescription); |
+ // Called when camera is disconnected. |
+ void onCameraDisconnected(); |
+ |
// Invoked when camera stops receiving frames. |
void onCameraFreezed(String errorDescription); |