diff options
author | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-06-06 18:40:44 +0000 |
---|---|---|
committer | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-06-06 18:40:44 +0000 |
commit | 5101f8464568c3233d0b95195247e2f63d9064cf (patch) | |
tree | 96de1293bd03a3a509545e05618879415abf1e65 /video_engine/test | |
parent | 5befd8b0eef77a2c5a3f8d1f20d167766372ace3 (diff) | |
download | webrtc-5101f8464568c3233d0b95195247e2f63d9064cf.tar.gz |
AppRTCDemo(android): support app (UI) & capture rotation.
Now app UI rotates as the device orientation changes, and the captured stream
tries to maintain real-world-up, matching Chrome/Android and Hangouts/Android
behavior.
BUG=2432
R=glaznev@webrtc.org, henrike@webrtc.org, wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/15689005
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6354 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'video_engine/test')
-rw-r--r-- | video_engine/test/auto_test/source/vie_autotest_android.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video_engine/test/auto_test/source/vie_autotest_android.cc b/video_engine/test/auto_test/source/vie_autotest_android.cc index cc283b04..86b9b1d3 100644 --- a/video_engine/test/auto_test/source/vie_autotest_android.cc +++ b/video_engine/test/auto_test/source/vie_autotest_android.cc @@ -21,7 +21,7 @@ int ViEAutoTestAndroid::RunAutotest(int testSelection, int subTestSelection, JavaVM* javaVM, void* env, void* context) { ViEAutoTest vieAutoTest(window1, window2); ViETest::Log("RunAutoTest(%d, %d)", testSelection, subTestSelection); - webrtc::VideoEngine::SetAndroidObjects(javaVM); + webrtc::VideoEngine::SetAndroidObjects(javaVM, context); #ifndef WEBRTC_ANDROID_OPENSLES // voice engine calls into ADM directly webrtc::VoiceEngine::SetAndroidObjects(javaVM, env, context); |