PeerConnection(java): added MediaConstraints support to AudioSource, now fed to AudioTrack.
BUG=2912 R=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/8509004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5540 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
		| @@ -242,7 +242,9 @@ public class AppRTCDemoActivity extends Activity | ||||
|         lMS.addTrack(videoTrack); | ||||
|       } | ||||
|       if (appRtcClient.audioConstraints() != null) { | ||||
|         lMS.addTrack(factory.createAudioTrack("ARDAMSa0")); | ||||
|         lMS.addTrack(factory.createAudioTrack( | ||||
|             "ARDAMSa0", | ||||
|             factory.createAudioSource(appRtcClient.audioConstraints()))); | ||||
|       } | ||||
|       pc.addStream(lMS, new MediaConstraints()); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fischman@webrtc.org
					fischman@webrtc.org