{"action":"created","issue":{"url":"https://api.github.com/repos/oney/react-native-webrtc/issues/111","repository_url":"https://api.github.com/repos/oney/react-native-webrtc","labels_url":"https://api.github.com/repos/oney/react-native-webrtc/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/oney/react-native-webrtc/issues/111/comments","events_url":"https://api.github.com/repos/oney/react-native-webrtc/issues/111/events","html_url":"https://github.com/oney/react-native-webrtc/issues/111","id":169533176,"number":111,"title":"Android crushes","user":{"login":"Partysun","id":522287,"avatar_url":"https://avatars.githubusercontent.com/u/522287?v=3","gravatar_id":"","url":"https://api.github.com/users/Partysun","html_url":"https://github.com/Partysun","followers_url":"https://api.github.com/users/Partysun/followers","following_url":"https://api.github.com/users/Partysun/following{/other_user}","gists_url":"https://api.github.com/users/Partysun/gists{/gist_id}","starred_url":"https://api.github.com/users/Partysun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Partysun/subscriptions","organizations_url":"https://api.github.com/users/Partysun/orgs","repos_url":"https://api.github.com/users/Partysun/repos","events_url":"https://api.github.com/users/Partysun/events{/privacy}","received_events_url":"https://api.github.com/users/Partysun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-05T05:41:36Z","updated_at":"2016-09-20T10:19:13Z","closed_at":null,"body":"Hi, I have the problem with new 0.10 version on Android devices. When I try pc.addLocalStream(), app crashes.\r\nIt's a very stable bug. If I downgrade version to 0.8, Android addLocalStream is ok.\r\n\r\n```\r\n08-07 13:34:08.943 11697 11748 I org.webrtc.Logging: WebRtcAudioManager: Sample rate is set to 48000 Hz\r\n08-07 13:34:08.955 11697 11748 I org.webrtc.Logging: WebRtcAudioEffects: canUseAcousticEchoCanceler: true\r\n08-07 13:34:08.960 11697 11748 I org.webrtc.Logging: WebRtcAudioEffects: canUseAutomaticGainControl: false\r\n08-07 13:34:08.968 11697 11748 I org.webrtc.Logging: WebRtcAudioEffects: canUseNoiseSuppressor: true\r\n08-07 13:34:08.970 11697 11748 D JVM     : JNIEnvironment::RegisterNatives(org/webrtc/voiceengine/WebRtcAudioRecord)\r\n08-07 13:34:08.971 11697 11748 I org.webrtc.Logging: WebRtcAudioRecord: ctor@[name=Thread-7248, id=7248]\r\n08-07 13:34:08.971 11697 11748 I org.webrtc.Logging: WebRtcAudioEffects: ctor@[name=Thread-7248, id=7248]\r\n08-07 13:34:08.971 11697 11748 I org.webrtc.Logging: WebRtcAudioManager: init@[name=Thread-7248, id=7248]\r\n08-07 13:34:08.972 11697 11748 I org.webrtc.Logging: WebRtcAudioManager: audio mode is: MODE_NORMAL\r\n08-07 13:34:08.973 11697 11748 I org.webrtc.Logging: WebRtcAudioRecord: enableBuiltInAEC(true)\r\n08-07 13:34:08.973 11697 11748 I org.webrtc.Logging: WebRtcAudioEffects: setAEC(true)\r\n08-07 13:34:08.973 11697 11748 I org.webrtc.Logging: WebRtcAudioRecord: enableBuiltInNS(true)\r\n08-07 13:34:08.973 11697 11748 I org.webrtc.Logging: WebRtcAudioEffects: setNS(true)\r\n08-07 13:34:09.305 11697 11744 I org.webrtc.Logging: PeerConnectionFactory: onNetworkThreadReady\r\n08-07 13:34:09.364 11697 11748 I org.webrtc.Logging: PeerConnectionFactory: onWorkerThreadReady\r\n08-07 13:34:09.478 11697 11749 I org.webrtc.Logging: PeerConnectionFactory: onSignalingThreadReady\r\n08-07 13:34:14.952 11697 11753 D com.oney.WebRTCModule.WebRTCModule: mMediaStreamId: 0\r\n08-07 13:34:19.285 11697 11753 D com.oney.WebRTCModule.WebRTCModule: addStreamtrue\r\n08-07 13:34:19.285 11697 11753 D com.oney.WebRTCModule.WebRTCModule: peerConnectionSetRemoteDescription() start\r\n08-07 13:34:20.187 11697 11753 D com.oney.WebRTCModule.WebRTCModule: peerConnectionSetRemoteDescription() end\r\n08-07 13:34:20.391 11697 11753 D com.oney.WebRTCModule.WebRTCModule: RTCPeerConnectionCreateAnswerWithObjectID start\r\n08-07 13:34:20.392 11697 11753 D com.oney.WebRTCModule.WebRTCModule: RTCPeerConnectionCreateAnswerWithObjectID end\r\n08-07 13:34:20.403 11697 11753 D com.oney.WebRTCModule.WebRTCModule: peerConnectionSetLocalDescription() start\r\n08-07 13:34:20.958 11697 11748 I org.webrtc.Logging: WebRtcAudioRecord: enableBuiltInAEC(false)\r\n08-07 13:34:20.958 11697 11748 I org.webrtc.Logging: WebRtcAudioEffects: setAEC(false)\r\n08-07 13:34:20.959 11697 11748 I org.webrtc.Logging: WebRtcAudioRecord: enableBuiltInNS(true)\r\n08-07 13:34:20.959 11697 11748 I org.webrtc.Logging: WebRtcAudioEffects: setNS(true)\r\n08-07 13:34:21.021 11697 11744 I org.webrtc.Logging: NetworkMonitor: Start monitoring from native observer -1424603392\r\n08-07 13:34:21.023 11697 11744 W System.err: \tat org.webrtc.NetworkMonitorAutoDetect$ConnectivityManagerDelegate.getNetworkState(NetworkMonitorAutoDetect.java:191)\r\n08-07 13:34:21.023 11697 11744 W System.err: \tat org.webrtc.NetworkMonitorAutoDetect.<init>(NetworkMonitorAutoDetect.java:441)\r\n08-07 13:34:21.023 11697 11744 W System.err: \tat org.webrtc.NetworkMonitor.setAutoDetectConnectivityStateInternal(NetworkMonitor.java:139)\r\n08-07 13:34:21.023 11697 11744 W System.err: \tat org.webrtc.NetworkMonitor.startMonitoring(NetworkMonitor.java:108)\r\n08-07 13:34:21.023 11697 11744 E rtc     :\r\n08-07 13:34:21.023 11697 11744 E rtc     :\r\n08-07 13:34:21.023 11697 11744 E rtc     : #\r\n08-07 13:34:21.023 11697 11744 E rtc     : # Fatal error in ../../webrtc/api/java/jni/androidnetworkmonitor_jni.cc, line 195\r\n08-07 13:34:21.023 11697 11744 E rtc     : # last system error: 88\r\n08-07 13:34:21.023 11697 11744 E rtc     : # Check failed: !jni()->ExceptionCheck()\r\n08-07 13:34:21.023 11697 11744 E rtc     : # Error during CallVoidMethod\r\n08-07 13:34:21.023 11697 11744 E rtc     : #\r\n```"},"comment":{"url":"https://api.github.com/repos/oney/react-native-webrtc/issues/comments/248261430","html_url":"https://github.com/oney/react-native-webrtc/issues/111#issuecomment-248261430","issue_url":"https://api.github.com/repos/oney/react-native-webrtc/issues/111","id":248261430,"user":{"login":"zxcpoiu","id":5081771,"avatar_url":"https://avatars.githubusercontent.com/u/5081771?v=3","gravatar_id":"","url":"https://api.github.com/users/zxcpoiu","html_url":"https://github.com/zxcpoiu","followers_url":"https://api.github.com/users/zxcpoiu/followers","following_url":"https://api.github.com/users/zxcpoiu/following{/other_user}","gists_url":"https://api.github.com/users/zxcpoiu/gists{/gist_id}","starred_url":"https://api.github.com/users/zxcpoiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zxcpoiu/subscriptions","organizations_url":"https://api.github.com/users/zxcpoiu/orgs","repos_url":"https://api.github.com/users/zxcpoiu/repos","events_url":"https://api.github.com/users/zxcpoiu/events{/privacy}","received_events_url":"https://api.github.com/users/zxcpoiu/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T10:19:13Z","updated_at":"2016-09-20T10:19:13Z","body":"@txthinking \r\n\r\n1. are you using `0.11.0` or `0.12.0`?\r\n2. I didn't see `pc.addLocalStream()` in https://github.com/oney/react-native-webrtc/blob/master/RTCPeerConnection.js\r\nhow you trigger this error?"}}
{"actor":{"display_login":"zxcpoiu"}}