Android WebRTC开发环境设置

1.加入依赖

compile 'io.pristine:libjingle:11139@aar'

后面的版本号去这里查看

http://mvnrepository.com/artifact/io.pristine/libjingle

2.权限

<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />

3.完成,开搞吧





参考:http://www.tuicool.com/articles/VvueErU

https://tech.appear.in/2015/05/25/Introduction-to-WebRTC-on-Android/

你可能感兴趣的:(android,WebRTC)