android 做点对点视频demo,真机调用videoCall总是失败

错误码2307
2016-11-24 15:05 添加评论 分享
0

783269447@qq.com

赞同来自:

11-24 14:52:15.027 12280-12280/com.ifsoar.arrowlive W/CameraBase: An error occurred while connecting to camera: 0
11-24 14:52:15.028 12280-12280/com.ifsoar.arrowlive E/anLive: Failed to open Camera 0, Facing back, Orientation 90, skipping
                                                          java.lang.RuntimeException: Fail to connect to camera service
                                                              at android.hardware.Camera.<init>(Camera.java:542)
                                                              at android.hardware.Camera.open(Camera.java:382)
                                                              at org.webrtc.videoengine.VideoCaptureDeviceInfoAndroid.getDeviceInfo(Unknown Source)
                                                              at org.webrtc.PeerConnectionFactory.initializeAndroidGlobals(Native Method)
                                                              at com.arrownock.live.AnLive.a(Unknown Source)
                                                              at com.arrownock.live.AnLive.a(Unknown Source)
                                                              at com.arrownock.live.AnLive.videoCall(Unknown Source)
                                                              at com.ifsoar.arrowlive.MainActivity.onStartVideo(MainActivity.java:130)
                                                              at com.ifsoar.arrowlive.MainActivity_ViewBinding$3.doClick(MainActivity_ViewBinding.java:60)
                                                              at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
                                                              at android.view.View.performClick(View.java:5207)
                                                              at android.view.View$PerformClick.run(View.java:21177)
                                                              at android.os.Handler.handleCallback(Handler.java:739)
                                                              at android.os.Handler.dispatchMessage(Handler.java:95)
                                                              at android.os.Looper.loop(Looper.java:148)
                                                              at android.app.ActivityThread.main(ActivityThread.java:5438)
                                                              at java.lang.reflect.Method.invoke(Native Method)
                                                              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
                                                              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
11-24 14:52:15.031 12280-12280/com.ifsoar.arrowlive W/CameraBase: An error occurred while connecting to camera: 1
11-24 14:52:15.032 12280-12280/com.ifsoar.arrowlive E/anLive: Failed to open Camera 1, Facing front, Orientation 270, skipping
                                                          java.lang.RuntimeException: Fail to connect to camera service
                                                              at android.hardware.Camera.<init>(Camera.java:542)
                                                              at android.hardware.Camera.open(Camera.java:382)
                                                              at org.webrtc.videoengine.VideoCaptureDeviceInfoAndroid.getDeviceInfo(Unknown Source)
                                                              at org.webrtc.PeerConnectionFactory.initializeAndroidGlobals(Native Method)
                                                              at com.arrownock.live.AnLive.a(Unknown Source)
                                                              at com.arrownock.live.AnLive.a(Unknown Source)
                                                              at com.arrownock.live.AnLive.videoCall(Unknown Source)
                                                              at com.ifsoar.arrowlive.MainActivity.onStartVideo(MainActivity.java:130)
                                                              at com.ifsoar.arrowlive.MainActivity_ViewBinding$3.doClick(MainActivity_ViewBinding.java:60)
                                                              at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
                                                              at android.view.View.performClick(View.java:5207)
                                                              at android.view.View$PerformClick.run(View.java:21177)
                                                              at android.os.Handler.handleCallback(Handler.java:739)
                                                              at android.os.Handler.dispatchMessage(Handler.java:95)
                                                              at android.os.Looper.loop(Looper.java:148)
                                                              at android.app.ActivityThread.main(ActivityThread.java:5438)
                                                              at java.lang.reflect.Method.invoke(Native Method)
                                                              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
                                                              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
11-24 14:52:15.033 12280-12280/com.ifsoar.arrowlive D/anLive: [
                                                            {},
                                                            {}
                                                          ]
2016-11-24 15:07 添加评论 分享

要回复问题请先登录注册

退出全屏模式 全屏模式 回复