PeerConnection(android): allow initializing either (or neither) of {Voice,Video}Engine.
Enables applications that don't want to pay the init/startup cost or request extra permissions (e.g. audio-only app, or DataChannel-only app). BUG=3234 Review URL: https://webrtc-codereview.appspot.com/15489004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6164 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
		| @@ -125,7 +125,8 @@ public class AppRTCDemoActivity extends Activity | ||||
|     addContentView(hudView, hudLayout); | ||||
|  | ||||
|     if (!factoryStaticInitialized) { | ||||
|       abortUnless(PeerConnectionFactory.initializeAndroidGlobals(this), | ||||
|       abortUnless(PeerConnectionFactory.initializeAndroidGlobals( | ||||
|           this, true, true), | ||||
|         "Failed to initializeAndroidGlobals"); | ||||
|       factoryStaticInitialized = true; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fischman@webrtc.org
					fischman@webrtc.org