openwebrtc-examples icon indicating copy to clipboard operation
openwebrtc-examples copied to clipboard

iphone 4s native demo crashes

Open RicardCampanya opened this issue 9 years ago • 3 comments

I'm running native demo on iphone 4s and Ipad air, when enter in the same room and call (doesn't matter who calls) ipad receives video from iphone, but iphone crashes and stop. One time I get the video call (without audio) working perfectly but only one. Is the crash made due the capabilities of iphone 4s? O can be other things involved?

Thanks for reading!

captura de pantalla 2016-01-16 a las 0 30 30

This is the iphone's last log

2016-01-16 00:02:43.558 NativeDemo[2628:608489] [OpenWebRTC] initialized correctly! 2016-01-16 00:02:44.714 NativeDemo[2628:608489] Video settings: { bitrate = 1024000; framerate = 25; height = 480; mode = VGA; width = 640; } 2016-01-16 00:02:46.218 NativeDemo[2628:608489] Can't find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad; using 563160167_Portrait_iPhone-Simple-Pad_Default 2016-01-16 00:02:47.086 NativeDemo[2628:608489] [OpenWebRTC] Setting video rotation to: -90

(:2628): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed 2016-01-16 00:02:54.608 NativeDemo[2628:608489] Joining room with ID: 1295 [video/capture] Front Camera [video/capture] Back Camera [audio/capture] Default audio input 2016-01-16 00:02:54.962 NativeDemo[2628:608651] gotLocalSources: ( { mediaType = video; name = "Front Camera"; source = "<80fc9216>"; }, { mediaType = video; name = "Back Camera"; source = "<40fc9216>"; }, { mediaType = audio; name = "Default audio input"; source = ""; } ) 2016-01-16 00:02:54.963 NativeDemo[2628:608651] Found cameras: ( "Front Camera", "Back Camera" ) 2016-01-16 00:02:54.965 NativeDemo[2628:608651] [OpenWebRTC] Setting video rotation to: 0 2016-01-16 00:03:01.884 NativeDemo[2628:608489] peer <681684B1-DF43-4C50-A0BC-F8A1A09FFF44> joinedRoom: 1295 2016-01-16 00:03:01.884 NativeDemo[2628:608489] [OpenWebRTC] Setting video rotation to: -90 2016-01-16 00:03:01.885 NativeDemo[2628:608489] [PeerServerHandler] Sending orientation msg: {"orientation": 0} 2016-01-16 00:03:02.091 NativeDemo[2628:608489] Rotating remote view to: 90 2016-01-16 00:03:02.091 NativeDemo[2628:608489] [OpenWebRTC] Setting video rotation to: 90

(:2628): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed 2016-01-16 00:03:02.396 NativeDemo[2628:608489] [PeerServerHandler] Message successfully sent to peer 2016-01-16 00:03:02.889 NativeDemo[2628:608489] [OpenWebRTCNativeHandler] Switching to local source Back Camera : 0x1692fc40 2016-01-16 00:03:04.616 NativeDemo[2628:608489] [OpenWebRTCNativeHandler] Switching to local source Front Camera : 0x1692fc80 2016-01-16 00:03:12.248 NativeDemo[2628:608489] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2016-01-16 00:03:12.249 NativeDemo[2628:608489] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2016-01-16 00:03:12.249 NativeDemo[2628:608489] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: NO 2016-01-16 00:03:23.100 NativeDemo[2628:608651] ############################# got_dtls_certificate 2016-01-16 00:03:23.103 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2016-01-16 00:03:23.105 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2016-01-16 00:03:23.106 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: NO 2016-01-16 00:03:23.173 NativeDemo[2628:608651] ############################# got_dtls_certificate 2016-01-16 00:03:23.175 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2016-01-16 00:03:23.177 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2016-01-16 00:03:23.179 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: NO 2016-01-16 00:03:23.211 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.213 NativeDemo[2628:608651] Candidate generated: candidate:1 1 UDP 2013266431 192.168.1.35 58284 typ host 2016-01-16 00:03:23.216 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.223 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.224 NativeDemo[2628:608651] Candidate generated: candidate:2 1 TCP 1019216383 192.168.1.35 0 typ host tcptype active 2016-01-16 00:03:23.224 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.226 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.229 NativeDemo[2628:608651] Candidate generated: candidate:3 1 TCP 1015022079 192.168.1.35 64352 typ host tcptype passive 2016-01-16 00:03:23.229 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.231 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.231 NativeDemo[2628:608651] Candidate generated: candidate:4 1 UDP 2013266431 10.14.165.199 50545 typ host 2016-01-16 00:03:23.233 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.240 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.241 NativeDemo[2628:608651] Candidate generated: candidate:5 1 TCP 1019216383 10.14.165.199 0 typ host tcptype active 2016-01-16 00:03:23.241 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.244 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.245 NativeDemo[2628:608651] Candidate generated: candidate:6 1 TCP 1015022079 10.14.165.199 64353 typ host tcptype passive 2016-01-16 00:03:23.245 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.248 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.249 NativeDemo[2628:608651] Candidate generated: candidate:7 1 UDP 2013266431 192.168.1.35 64701 typ host 2016-01-16 00:03:23.249 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.253 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.260 NativeDemo[2628:608651] Candidate generated: candidate:8 1 TCP 1019216383 192.168.1.35 0 typ host tcptype active 2016-01-16 00:03:23.260 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.262 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.262 NativeDemo[2628:608651] Candidate generated: candidate:9 1 TCP 1015022079 192.168.1.35 64354 typ host tcptype passive 2016-01-16 00:03:23.263 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.265 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.266 NativeDemo[2628:608651] Candidate generated: candidate:10 1 UDP 2013266431 10.14.165.199 50656 typ host 2016-01-16 00:03:23.279 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.302 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.303 NativeDemo[2628:608651] Candidate generated: candidate:11 1 TCP 1019216383 10.14.165.199 0 typ host tcptype active 2016-01-16 00:03:23.304 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.307 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.308 NativeDemo[2628:608651] Candidate generated: candidate:12 1 TCP 1015022079 10.14.165.199 64355 typ host tcptype passive 2016-01-16 00:03:23.308 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.344 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.346 NativeDemo[2628:608651] Candidate generated: candidate:13 1 UDP 1677722111 80.31.114.198 58284 typ srflx raddr 192.168.1.35 rport 58284 2016-01-16 00:03:23.358 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.367 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.380 NativeDemo[2628:608651] Candidate generated: candidate:14 1 TCP 847249919 80.31.114.198 0 typ srflx raddr 192.168.1.35 rport 0 tcptype active 2016-01-16 00:03:23.385 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.401 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.404 NativeDemo[2628:608651] Candidate generated: candidate:15 1 TCP 843055615 80.31.114.198 64352 typ srflx raddr 192.168.1.35 rport 64352 tcptype passive 2016-01-16 00:03:23.407 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.426 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.428 NativeDemo[2628:608651] Candidate generated: candidate:16 1 UDP 1677722111 80.31.114.198 64701 typ srflx raddr 192.168.1.35 rport 64701 2016-01-16 00:03:23.431 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.439 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.443 NativeDemo[2628:608651] Candidate generated: candidate:17 1 TCP 847249919 80.31.114.198 0 typ srflx raddr 192.168.1.35 rport 0 tcptype active 2016-01-16 00:03:23.445 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:23.459 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:23.462 NativeDemo[2628:608651] Candidate generated: candidate:18 1 TCP 843055615 80.31.114.198 64354 typ srflx raddr 192.168.1.35 rport 64354 tcptype passive 2016-01-16 00:03:23.465 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:25.389 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:25.389 NativeDemo[2628:608651] Candidate generated: candidate:19 1 UDP 1677722111 176.83.186.165 51204 typ srflx raddr 10.14.165.199 rport 50656 2016-01-16 00:03:25.390 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:25.391 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:25.392 NativeDemo[2628:608651] Candidate generated: candidate:20 1 TCP 847249919 176.83.186.165 0 typ srflx raddr 10.14.165.199 rport 0 tcptype active 2016-01-16 00:03:25.395 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:25.396 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:25.397 NativeDemo[2628:608651] Candidate generated: candidate:21 1 TCP 843055615 176.83.186.165 64355 typ srflx raddr 10.14.165.199 rport 64355 tcptype passive 2016-01-16 00:03:25.407 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:25.408 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:25.409 NativeDemo[2628:608651] Candidate generated: candidate:22 1 UDP 1677722111 176.83.186.165 51255 typ srflx raddr 10.14.165.199 rport 50545 2016-01-16 00:03:25.409 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:25.411 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:25.411 NativeDemo[2628:608651] Candidate generated: candidate:23 1 TCP 847249919 176.83.186.165 0 typ srflx raddr 10.14.165.199 rport 0 tcptype active 2016-01-16 00:03:25.411 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:25.412 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2016-01-16 00:03:25.440 NativeDemo[2628:608651] Candidate generated: candidate:24 1 TCP 843055615 176.83.186.165 64353 typ srflx raddr 10.14.165.199 rport 64353 tcptype passive 2016-01-16 00:03:25.440 NativeDemo[2628:608651] Sending candidate to peer: 681684B1-DF43-4C50-A0BC-F8A1A09FFF44 2016-01-16 00:03:26.210 NativeDemo[2628:608651] ############################# candidate_gathering_done 2016-01-16 00:03:26.211 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2016-01-16 00:03:26.211 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2016-01-16 00:03:26.211 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2016-01-16 00:03:26.212 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: NO 2016-01-16 00:03:26.212 NativeDemo[2628:608651] ############################# candidate_gathering_done 2016-01-16 00:03:26.212 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2016-01-16 00:03:26.213 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2016-01-16 00:03:26.213 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2016-01-16 00:03:26.213 NativeDemo[2628:608651] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: YES 2016-01-16 00:03:26.503 NativeDemo[2628:608651] Offer generated: { sdp = "v=0 \no=- 1452899006400963800 1 IN IP4 127.0.0.1 \ns=- \nt=0 0 \nm=video 9 UDP/TLS/RTP/SAVPF 103 100 120 \nc=IN IP4 0.0.0.0 \na=rtcp-mux \na=sendrecv \na=rtpmap:103 H264/90000 \na=rtpmap:100 VP8/90000 \na=rtpmap:120 RTX/90000 \na=fmtp:103 profile-level-id=42e01f;packetization-mode=1;level-asymmetry-allowed=1 \na=fmtp:120 apt=100;rtx-time=200 \na=rtcp-fb:100 nack \na=rtcp-fb:103 nack pli \na=rtcp-fb:100 nack pli \na=rtcp-fb:103 ccm fir \na=rtcp-fb:100 ccm fir \na=ice-ufrag:VIWi \na=ice-pwd:7Wtn/lm/4D7nPVwI716hTu \na=candidate:1 1 UDP 2013266431 192.168.1.35 58284 typ host \na=candidate:2 1 TCP 1019216383 192.168.1.35 0 typ host tcptype active \na=candidate:3 1 TCP 1015022079 192.168.1.35 64352 typ host tcptype passive \na=candidate:4 1 UDP 2013266431 10.14.165.199 50545 typ host \na=candidate:5 1 TCP 1019216383 10.14.165.199 0 typ host tcptype active \na=candidate:6 1 TCP 1015022079 10.14.165.199 64353 typ host tcptype passive \na=candidate:13 1 UDP 1677722111 80.31.114.198 58284 typ srflx raddr 192.168.1.35 rport 58284 \na=candidate:14 1 TCP 847249919 80.31.114.198 0 typ srflx raddr 192.168.1.35 rport 0 tcptype active \na=candidate:15 1 TCP 843055615 80.31.114.198 64352 typ srflx raddr 192.168.1.35 rport 64352 tcptype passive \na=candidate:22 1 UDP 1677722111 176.83.186.165 51255 typ srflx raddr 10.14.165.199 rport 50545 \na=candidate:23 1 TCP 847249919 176.83.186.165 0 typ srflx raddr 10.14.165.199 rport 0 tcptype active \na=candidate:24 1 TCP 843055615 176.83.186.165 64353 typ srflx raddr 10.14.165.199 rport 64353 tcptype passive \na=fingerprint:sha-256 DA:15:F0:C1:3A:0E:09:3C:D8:1C:18:A2:95:02:41:32:74:3B:FC:F4:29:84:9A:39:06:3A:93:FD:7C:F4:4C:3E \na=setup:actpass \nm=audio 9 UDP/TLS/RTP/SAVPF 111 8 0 \nc=IN IP4 0.0.0.0 \na=rtcp-mux \na=sendrecv \na=rtpmap:111 OPUS/48000/2 \na=rtpmap:8 PCMA/8000 \na=rtpmap:0 PCMU/8000 \na=ice-ufrag:W1KS \na=ice-pwd:cKtsLvvdz3gfHuTuoAC0/4 \na=candidate:7 1 UDP 2013266431 192.168.1.35 64701 typ host \na=candidate:8 1 TCP 1019216383 192.168.1.35 0 typ host tcptype active \na=candidate:9 1 TCP 1015022079 192.168.1.35 64354 typ host tcptype passive \na=candidate:10 1 UDP 2013266431 10.14.165.199 50656 typ host \na=candidate:11 1 TCP 1019216383 10.14.165.199 0 typ host tcptype active \na=candidate:12 1 TCP 1015022079 10.14.165.199 64355 typ host tcptype passive \na=candidate:16 1 UDP 1677722111 80.31.114.198 64701 typ srflx raddr 192.168.1.35 rport 64701 \na=candidate:17 1 TCP 847249919 80.31.114.198 0 typ srflx raddr 192.168.1.35 rport 0 tcptype active \na=candidate:18 1 TCP 843055615 80.31.114.198 64354 typ srflx raddr 192.168.1.35 rport 64354 tcptype passive \na=candidate:19 1 UDP 1677722111 176.83.186.165 51204 typ srflx raddr 10.14.165.199 rport 50656 \na=candidate:20 1 TCP 847249919 176.83.186.165 0 typ srflx raddr 10.14.165.199 rport 0 tcptype active \na=candidate:21 1 TCP 843055615 176.83.186.165 64355 typ srflx raddr 10.14.165.199 rport 64355 tcptype passive \na=fingerprint:sha-256 DA:15:F0:C1:3A:0E:09:3C:D8:1C:18:A2:95:02:41:32:74:3B:FC:F4:29:84:9A:39:06:3A:93:FD:7C:F4:4C:3E \na=setup:actpass \n"; type = offer; } 2016-01-16 00:03:27.384 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:1 1 UDP 2013266431 192.168.1.36 55473 typ host 2016-01-16 00:03:27.389 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.690 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:4 1 UDP 2013266431 192.168.1.36 54606 typ host 2016-01-16 00:03:27.690 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.691 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:2 1 TCP 1019216383 192.168.1.36 0 typ host tcptype active 2016-01-16 00:03:27.691 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.694 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:3 1 TCP 1015022079 192.168.1.36 49338 typ host tcptype passive 2016-01-16 00:03:27.694 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.695 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:5 1 TCP 1019216383 192.168.1.36 0 typ host tcptype active 2016-01-16 00:03:27.695 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.696 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:8 1 TCP 847249919 80.31.114.198 0 typ srflx raddr 192.168.1.36 rport 0 tcptype active 2016-01-16 00:03:27.697 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.892 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:10 1 UDP 1677722111 80.31.114.198 54606 typ srflx raddr 192.168.1.36 rport 54606 2016-01-16 00:03:27.893 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.893 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:6 1 TCP 1015022079 192.168.1.36 49339 typ host tcptype passive 2016-01-16 00:03:27.893 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.896 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:9 1 TCP 843055615 80.31.114.198 49338 typ srflx raddr 192.168.1.36 rport 49338 tcptype passive 2016-01-16 00:03:27.896 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.897 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:11 1 TCP 847249919 80.31.114.198 0 typ srflx raddr 192.168.1.36 rport 0 tcptype active 2016-01-16 00:03:27.897 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:27.903 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:7 1 UDP 1677722111 80.31.114.198 55473 typ srflx raddr 192.168.1.36 rport 55473 2016-01-16 00:03:27.904 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:28.096 NativeDemo[2628:608489] [PeerServerHandler] ###################### Got INVALID json: candidate:12 1 TCP 843055615 80.31.114.198 49339 typ srflx raddr 192.168.1.36 rport 49339 tcptype passive 2016-01-16 00:03:28.098 NativeDemo[2628:608489] [PeerServerHandler] EventSource didFailWithError: Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.} 2016-01-16 00:03:31.268 NativeDemo[2628:608489] [EventSource] invalid line, expected data: P","priority":1019216383,"address":"192.168.1.36","port":0,"type":"host","tcpType":"active"},{"foundation":"3","componentId":1,"transport":"TCP","priority":1015022079,"address":"192.168.1.36","port":49338,"type":"host","tcpType":"passive"},{"foundation":"7","componentId":1,"transport":"UDP","priority":1677722111,"address":"80.31.114.198","port":55473,"type":"srflx","relatedAddress":"192.168.1.36","relatedPort":55473},{"foundation":"8","componentId":1,"transport":"TCP","priority":847249919,"address":"80.31.114.198","port":0,"type":"srflx","relatedAddress":"192.168.1.36","relatedPort":0,"tcpType":"active"},{"foundation":"9","componentId":1,"transport":"TCP","priority":843055615,"address":"80.31.114.198","port":49338,"type":"srflx","relatedAddress":"192.168.1.36","relatedPort":49338,"tcpType":"passive"}]},"dtls":{"fingerprintHashFunction":"sha-256","fingerprint":"8C:7D:31:26:CD:6C:74:9C:BF:7A:6F:CD:C3:26:96:78:57:34:10:17:81:CC:E5:31:77:B4:18:2E:84:E8:D2:83","setup":"active"}},{"type":"audio","port":"9","protocol":"UDP/TLS/RTP/SAVPF","netType":"IN","addressType":"IP4","address":"0.0.0.0","mode":"sendrecv","payloads":[{"type":111,"encodingName":"OPUS","clockRate":48000,"channels":2}],"rtcp":{"mux":true},"ice":{"ufrag":"ZlZq","password":"yTGAFArQZglFfy6r3HbIcc","candidates":[{"foundation":"4","componentId":1,"transport":"UDP","priority":2013266431,"address":"192.168.1.36","port":54606,"type":"host"},{"foundation":"5","componentId":1,"transport":"TCP","priority":1019216383,"address":"192.168.1.36","port":0,"type":"host","tcpType":"active"},{"foundation":"6","componentId":1,"transport":"TCP","priority":1015022079,"address":"192.168.1.36","port":49339,"type":"host","tcpType":"passive"},{"foundation":"10","componentId":1,"transport":"UDP","priority":1677722111,"address":"80.31.114.198","port":54606,"type":"srflx","relatedAddress":"192.168.1.36","relatedPort":54606},{"foundation":"11","componentId":1,"transport":"TCP","priority":847249919,"address":"80.31.114.198","port":0,"type":"srflx","relatedAddress":"192.168.1.36","relatedPort":0,"tcpType":"active"},{"foundation":"12","componentId":1,"transport":"TCP","priority":843055615,"address":"80.31.114.198","port":49339,"type":"srflx","relatedAddress":"192.168.1.36","relatedPort":49339,"tcpType":"passive"}]},"dtls":{"fingerprintHashFunction":"sha-256","fingerprint":"8C:7D:31:26:CD:6C:74:9C:BF:7A:6F:CD:C3:26:96:78:57:34:10:17:81:CC:E5:31:77:B4:18:2E:84:E8:D2:83","setup":"active"}}]},"type":"answer"} 2016-01-16 00:03:31.280 NativeDemo[2628:608489] peer <681684B1> sentAnswer: v=0

o=- 1452899011124963000 1 IN IP4 127.0.0.1

s=-

t=0 0

m=video 9 UDP/TLS/RTP/SAVPF 103

c=IN IP4 0.0.0.0

a=rtcp-mux

a=sendrecv

a=rtpmap:103 H264/90000

a=fmtp:103 packetization-mode=1;profile-level-id=42e01f;level-asymmetry-allowed=1

a=rtcp-fb:103 nack pli

a=rtcp-fb:103 ccm fir

a=ice-ufrag:ntBg

a=ice-pwd:ClKa6RZecNoRVuxUVWbd4h

a=candidate:1 1 UDP 2013266431 192.168.1.36 55473 typ host

a=candidate:2 1 TCP 1019216383 192.168.1.36 0 typ host tcptype active

a=candidate:3 1 TCP 1015022079 192.168.1.36 49338 typ host tcptype passive

a=candidate:7 1 UDP 1677722111 80.31.114.198 55473 typ srflx raddr 192.168.1.36 rport 55473

a=candidate:8 1 TCP 847249919 80.31.114.198 0 typ srflx raddr 192.168.1.36 rport 0 tcptype active

a=candidate:9 1 TCP 843055615 80.31.114.198 49338 typ srflx raddr 192.168.1.36 rport 49338 tcptype passive

a=fingerprint:sha-256 8C:7D:31:26:CD:6C:74:9C:BF:7A:6F:CD:C3:26:96:78:57:34:10:17:81:CC:E5:31:77:B4:18:2E:84:E8:D2:83

a=setup:active

m=audio 9 UDP/TLS/RTP/SAVPF 111

c=IN IP4 0.0.0.0

a=rtcp-mux

a=sendrecv

a=rtpmap:111 OPUS/48000/2

a=ice-ufrag:ZlZq

a=ice-pwd:yTGAFArQZglFfy6r3HbIcc

a=candidate:4 1 UDP 2013266431 192.168.1.36 54606 typ host

a=candidate:5 1 TCP 1019216383 192.168.1.36 0 typ host tcptype active

a=candidate:6 1 TCP 1015022079 192.168.1.36 49339 typ host tcptype passive

a=candidate:10 1 UDP 1677722111 80.31.114.198 54606 typ srflx raddr 192.168.1.36 rport 54606

a=candidate:11 1 TCP 847249919 80.31.114.198 0 typ srflx raddr 192.168.1.36 rport 0 tcptype active

a=candidate:12 1 TCP 843055615 80.31.114.198 49339 typ srflx raddr 192.168.1.36 rport 49339 tcptype passive

a=fingerprint:sha-256 8C:7D:31:26:CD:6C:74:9C:BF:7A:6F:CD:C3:26:96:78:57:34:10:17:81:CC:E5:31:77:B4:18:2E:84:E8:D2:83

a=setup:active

2016-01-16 00:03:31.328 NativeDemo[2628:608489] Parsed Answer SDP: { mediaDescriptions = ( { address = "0.0.0.0"; addressType = IP4; dtls = { fingerprint = "8C:7D:31:26:CD:6C:74:9C:BF:7A:6F:CD:C3:26:96:78:57:34:10:17:81:CC:E5:31:77:B4:18:2E:84:E8:D2:83"; fingerprintHashFunction = "sha-256"; setup = active; }; ice = { candidates = ( { address = "192.168.1.36"; componentId = 1; foundation = 1; port = 55473; priority = 2013266431; transport = UDP; type = host; }, { address = "192.168.1.36"; componentId = 1; foundation = 2; port = 0; priority = 1019216383; tcpType = active; transport = TCP; type = host; }, { address = "192.168.1.36"; componentId = 1; foundation = 3; port = 49338; priority = 1015022079; tcpType = passive; transport = TCP; type = host; }, { address = "80.31.114.198"; componentId = 1; foundation = 7; port = 55473; priority = 1677722111; relatedAddress = "192.168.1.36"; relatedPort = 55473; transport = UDP; type = srflx; }, { address = "80.31.114.198"; componentId = 1; foundation = 8; port = 0; priority = 847249919; relatedAddress = "192.168.1.36"; relatedPort = 0; tcpType = active; transport = TCP; type = srflx; }, { address = "80.31.114.198"; componentId = 1; foundation = 9; port = 49338; priority = 843055615; relatedAddress = "192.168.1.36"; relatedPort = 49338; tcpType = passive; transport = TCP; type = srflx; } ); password = ClKa6RZecNoRVuxUVWbd4h; ufrag = ntBg; }; mode = sendrecv; netType = IN; payloads = ( { ccmfir = 1; clockRate = 90000; encodingName = H264; ericscream = 0; nack = 0; nackpli = 1; parameters = { levelAsymmetryAllowed = 1; packetizationMode = 1; profileLevelId = 42e01f; }; type = 103; } ); port = 9; protocol = "UDP/TLS/RTP/SAVPF"; rtcp = { mux = 1; }; type = video; }, { address = "0.0.0.0"; addressType = IP4; dtls = { fingerprint = "8C:7D:31:26:CD:6C:74:9C:BF:7A:6F:CD:C3:26:96:78:57:34:10:17:81:CC:E5:31:77:B4:18:2E:84:E8:D2:83"; fingerprintHashFunction = "sha-256"; setup = active; }; ice = { candidates = ( { address = "192.168.1.36"; componentId = 1; foundation = 4; port = 54606; priority = 2013266431; transport = UDP; type = host; }, { address = "192.168.1.36"; componentId = 1; foundation = 5; port = 0; priority = 1019216383; tcpType = active; transport = TCP; type = host; }, { address = "192.168.1.36"; componentId = 1; foundation = 6; port = 49339; priority = 1015022079; tcpType = passive; transport = TCP; type = host; }, { address = "80.31.114.198"; componentId = 1; foundation = 10; port = 54606; priority = 1677722111; relatedAddress = "192.168.1.36"; relatedPort = 54606; transport = UDP; type = srflx; }, { address = "80.31.114.198"; componentId = 1; foundation = 11; port = 0; priority = 847249919; relatedAddress = "192.168.1.36"; relatedPort = 0; tcpType = active; transport = TCP; type = srflx; }, { address = "80.31.114.198"; componentId = 1; foundation = 12; port = 49339; priority = 843055615; relatedAddress = "192.168.1.36"; relatedPort = 49339; tcpType = passive; transport = TCP; type = srflx; } ); password = yTGAFArQZglFfy6r3HbIcc; ufrag = ZlZq; }; mode = sendrecv; netType = IN; payloads = ( { channels = 2; clockRate = 48000; encodingName = OPUS; type = 111; } ); port = 9; protocol = "UDP/TLS/RTP/SAVPF"; rtcp = { mux = 1; }; type = audio; } ); originator = { address = "127.0.0.1"; addressType = IP4; netType = IN; sessionId = 1452899011124963000; sessionVersion = 1; username = "-"; }; sessionName = "-"; startTime = 0; stopTime = 0; version = 0; } NativeDemo was compiled with optimization - stepping may behave oddly; variables may not be available. (lldb)

RicardCampanya avatar Jan 15 '16 23:01 RicardCampanya

At the (lldb) prompt, can you run bt and paste the output here?

superdump avatar Jan 17 '16 10:01 superdump

(lldb) bt

  • thread #44: tid = 0xd4f32, 0x00504fd2 NativeDemo`orc_executor_emulate(ex=0x4038c8f8) + 674 at orcexecutor.c:330, name = 'source-queue-1:src', stop reason = EXC_BAD_ACCESS (code=1, address=0x209c)
    • frame #0: 0x00504fd2 NativeDemoorc_executor_emulate(ex=0x4038c8f8) + 674 at orcexecutor.c:330 [opt] frame #1: 0x003338a8 NativeDemoaudio_orc_unpack_f32(d1=0x17a3e004, s1=0x17a24050, n=441) + 144 at tmp-orc.c:2770 [opt] frame #2: 0x003184d6 NativeDemodo_unpack(chain=0x17a21c98, num_samples=441, user_data=0x17274a00) + 218 at audio-converter.c:341 [opt] frame #3: 0x00318620 NativeDemodo_mix [inlined] audio_chain_get_samples(chain=) + 14 at audio-converter.c:223 [opt] frame #4: 0x00318612 NativeDemodo_mix(chain=<unavailable>, num_samples=<unavailable>, user_data=<unavailable>) + 22 at audio-converter.c:379 [opt] frame #5: 0x003186d6 NativeDemodo_convert_out [inlined] audio_chain_get_samples(chain=) + 14 at audio-converter.c:223 [opt] frame #6: 0x003186c8 NativeDemodo_convert_out(chain=<unavailable>, num_samples=<unavailable>, user_data=<unavailable>) + 20 at audio-converter.c:397 [opt] frame #7: 0x0031879c NativeDemodo_quantize [inlined] audio_chain_get_samples(chain=) + 14 at audio-converter.c:223 [opt] frame #8: 0x0031878e NativeDemodo_quantize(chain=<unavailable>, num_samples=<unavailable>, user_data=<unavailable>) + 22 at audio-converter.c:415 [opt] frame #9: 0x0031825e NativeDemogst_audio_converter_samples [inlined] audio_chain_get_samples(chain=, num_samples=) + 12 at audio-converter.c:223 [opt] frame #10: 0x00318252 NativeDemogst_audio_converter_samples(convert=<unavailable>, flags=<unavailable>, in=<unavailable>, in_samples=<unavailable>, out=<unavailable>, out_samples=<unavailable>, in_consumed=<unavailable>, out_produced=<unavailable>) + 166 at audio-converter.c:894 [opt] frame #11: 0x0007c720 NativeDemogst_audio_convert_transform(base=, inbuf=0x1723c8c0, outbuf=) + 232 at gstaudioconvert.c:740 [opt] frame #12: 0x00356568 NativeDemodefault_generate_output(trans=0x17274e90, outbuf=0x4038cd5c) + 696 at gstbasetransform.c:2180 [opt] frame #13: 0x00357f08 NativeDemogst_base_transform_chain(pad=, parent=, buffer=) + 428 at gstbasetransform.c:2333 [opt] frame #14: 0x003c396e NativeDemogst_pad_chain_data_unchecked(pad=0x17271bb8, type=<unavailable>, data=<unavailable>) + 162 at gstpad.c:4153 [opt] frame #15: 0x003c42f6 NativeDemogst_pad_push_data(pad=0x17271078, type=4112, data=) + 170 at gstpad.c:4405 [opt] frame #16: 0x003c4144 NativeDemogst_pad_push(pad=0x17271078, buffer=0x1723c8c0) + 268 at gstpad.c:4524 [opt] frame #17: 0x0009c0a6 NativeDemogst_queue_loop + 50 at gstqueue.c:1340 [opt] frame #18: 0x0009c074 NativeDemogst_queue_loop(pad=<unavailable>) + 1464 at gstqueue.c:1487 [opt] frame #19: 0x003d76c8 NativeDemogst_task_func(task=0x17a0d400) + 272 at gsttask.c:331 [opt] frame #20: 0x00290502 NativeDemog_thread_pool_thread_proxy(data=<unavailable>) + 130 at gthreadpool.c:307 [opt] frame #21: 0x002936e2 NativeDemog_thread_proxy(data=0x17232e90) + 74 at gthread.c:778 [opt] frame #22: 0x2562d85a libsystem_pthread.dylib_pthread_body + 138 frame #23: 0x2562d7ce libsystem_pthread.dylib_pthread_start + 110 frame #24: 0x2562b724 libsystem_pthread.dylib`thread_start + 8

PS: Thanks!

RicardCampanya avatar Jan 17 '16 10:01 RicardCampanya

@sdroege - looks like a crash in Orc. Any ideas?

superdump avatar Jan 17 '16 15:01 superdump