Files
platform-external-webrtc/webrtc/examples/androidtests
Magnus Jedvert a6cba3ab5c Java VideoRenderer.Callbacks: Make renderFrame() interface asynchronous
This CL makes the Java render interface asynchronous by requiring every call to renderFrame() to be followed by an explicit renderFrameDone() call. In JNI, this is implemented with cricket::VideoFrame::Copy() before calling renderFrame(), and a corresponding call to delete in renderFrameDone(). This CL is primarily done to prepare for a new renderer implementation.

BUG=webrtc:4742, webrtc:4909
R=glaznev@webrtc.org

Review URL: https://codereview.webrtc.org/1313563002 .

Cr-Commit-Position: refs/heads/master@{#9814}
2015-08-29 13:57:56 +00:00
..

This directory contains an example unit test for Android AppRTCDemo.

Example of building & using the app:

- Build Android AppRTCDemo and AppRTCDemo unit test:
cd <path/to/webrtc>/src
ninja -C out/Debug AppRTCDemoTest

- Install AppRTCDemo and AppRTCDemoTest:
adb install -r out/Debug/apks/AppRTCDemo.apk
adb install -r out/Debug/apks/AppRTCDemoTest.apk

- Run unit tests:
adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner