Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(860)

Unified Diff: webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java

Issue 2861893003: Add support for media recorders in Camera1Capturer. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java
diff --git a/webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java b/webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java
index d15927222e54b2777a89da5ea6dcbab6eb7af48c..10fcad217c5804d726a39c3be9f9a55a074fc254 100644
--- a/webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java
+++ b/webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera1CapturerUsingTextureTest.java
@@ -15,6 +15,7 @@ import android.support.test.InstrumentationRegistry;
import android.support.test.filters.LargeTest;
import android.support.test.filters.MediumTest;
import android.support.test.filters.SmallTest;
+import java.io.IOException;
import org.chromium.base.test.BaseJUnit4ClassRunner;
import org.junit.After;
import org.junit.Before;
@@ -115,6 +116,12 @@ public class Camera1CapturerUsingTextureTest {
fixtures.cameraEventsInvoked();
}
+ @Test
+ @MediumTest
+ public void testUpdateMediaRecorder() throws InterruptedException, IOException {
+ fixtures.updateMediaRecorder(false /* useSurfaceCapture */);
+ }
+
// Test what happens when attempting to call e.g. switchCamera() after camera has been stopped.
@Test
@MediumTest

Powered by Google App Engine
This is Rietveld 408576698