2017-01-15 106 views
0

我正在使用intel webRTC庫。 https://software.intel.com/en-us/webrtc-sdk/Android WebRTC與intel webRTC套件崩潰

它只崩潰然而在特定的手機上..

E/rtc: # 

# Fatal error in ../../webrtc/api/java/jni/androidnetworkmonitor_jni.cc, line 195 

# Check failed: !jni()->ExceptionCheck() 

# Error during CallVoidMethod 

我看到我的設備得到了SDP供給和發過來的。但它似乎無法收集任何冰上候選人並在那裏墜毀。

LG G2(LG-D800)運行android 5.0.2。 Build#LRX22G

回答

1

OK沒關係。我只是在看錯誤日誌。看着詳細的水平有助於解決問題..

01-15 12:28:55.127 30077-31547/com.test.user W/System.err: java.lang.SecurityException: ConnectivityService: Neither user 10188 nor current process has android.permission.CHANGE_NETWORK_STATE. 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at android.os.Parcel.readException(Parcel.java:1540) 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at android.os.Parcel.readException(Parcel.java:1493) 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at android.net.IConnectivityManager$Stub$Proxy.requestNetwork(IConnectivityManager.java:2443) 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:3210) 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at android.net.ConnectivityManager.requestNetwork(ConnectivityManager.java:3237) 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at org.webrtc.NetworkMonitorAutoDetect$ConnectivityManagerDelegate.requestMobileNetwork(NetworkMonitorAutoDetect.java:341) 
01-15 12:28:55.127 10743-10743/? I/MusicBrowser: [MediaPlaybackService.java:2079:saveQueue()] oooooo {full=true} 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at org.webrtc.NetworkMonitorAutoDetect.<init>(NetworkMonitorAutoDetect.java:449) 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at org.webrtc.NetworkMonitor.setAutoDetectConnectivityStateInternal(NetworkMonitor.java:139) 
01-15 12:28:55.127 30077-31547/com.test.user W/System.err:  at org.webrtc.NetworkMonitor.startMonitoring(NetworkMonitor.java:108) 
01-15 12:28:55.127 30077-31547/com.test.user E/rtc: # 
                   # Fatal error in ../../webrtc/api/java/jni/androidnetworkmonitor_jni.cc, line 195 
                   # Check failed: !jni()->ExceptionCheck() 
                   # Error during CallVoidMethod 
                   #