Chromium Code Reviews

Unified Diff: webrtc/api/android/java/src/org/webrtc/CameraSession.java

Issue 2381343002: Add onCameraDisconnected camera event. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/api/android/java/src/org/webrtc/CameraSession.java
diff --git a/webrtc/api/android/java/src/org/webrtc/CameraSession.java b/webrtc/api/android/java/src/org/webrtc/CameraSession.java
index 6e64927c9e4a6e8918ee76e841e656b243aa7a92..7feb0462cef0dc75b8239da7b69b718bd77c7d6f 100644
--- a/webrtc/api/android/java/src/org/webrtc/CameraSession.java
+++ b/webrtc/api/android/java/src/org/webrtc/CameraSession.java
@@ -21,6 +21,7 @@ public interface CameraSession {
public interface Events {
void onCameraOpening();
void onCameraError(CameraSession session, String error);
+ void onCameraDisconnected(CameraSession session);
void onCameraClosed(CameraSession session);
void onByteBufferFrameCaptured(
CameraSession session, byte[] data, int width, int height, int rotation, long timestamp);

Powered by Google App Engine