Alex Glaznev e095148869 Port some fixes in AppRTCDemo.
- Make PeerConnectionClient a singleton.
- Fix crash in CpuMonitor.
- Remove reading constraints from room response.
- Catch and report camera errors.

R=wzh@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/43059004

Cr-Commit-Position: refs/heads/master@{#8930}
2015-04-06 21:02:34 +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