EricssonResearch / openwebrtc

A cross-platform WebRTC client framework based on GStreamer
http://www.openwebrtc.org
BSD 2-Clause "Simplified" License
1.8k stars 537 forks source link

openwebrtc both Native and Hybrid is not connecting call in iOS #677

Open rehanslash opened 7 years ago

rehanslash commented 7 years ago

2017-03-31 10:24:43.588404 NativeDemo[255:19494] [DYMTLInitPlatform] platform initialization successful 2017-03-31 10:24:43.771320 NativeDemo[255:19436] [OpenWebRTC] initialized correctly! 2017-03-31 10:24:44.014557 NativeDemo[255:19436] Video settings: { bitrate = 1024000; framerate = 25; height = 480; mode = VGA; width = 640; } 2017-03-31 10:24:44.220099 NativeDemo[255:19436] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2017-03-31 10:24:44.221203 NativeDemo[255:19436] [MC] Reading from public effective user settings. 2017-03-31 10:24:44.326523 NativeDemo[255:19436] Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 1316927560_PortraitChoco_iPhone-Simple-Pad_Default 2017-03-31 10:24:44.736397 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: -90

(:255): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed 2017-03-31 10:25:02.034380 NativeDemo[255:19436] Joining room with ID: 522 [video/capture] Front Camera 2017-03-31 10:25:02.142385 NativeDemo[255:19436] [EventSource] response => <NSHTTPURLResponse: 0x174033120> { URL: http://192.168.88.10:8080/stoc/522/CA2F00E4-1AFC-4421-A81B-1082CB3FC14A } { status code: 200, headers { "Cache-Control" = "no-cache, no-store"; Connection = "keep-alive"; "Content-Type" = "text/event-stream"; Date = "Fri, 31 Mar 2017 17:26:42 GMT"; Expires = 0; Pragma = "no-cache"; "Transfer-Encoding" = Identity; } } 2017-03-31 10:25:02.142814 NativeDemo[255:19436] [EventSource] received data: : [video/capture] Back Camera [audio/capture] Default audio input 2017-03-31 10:25:02.166851 NativeDemo[255:19501] gotLocalSources: ( { mediaType = video; name = "Front Camera"; source = "<00e74202 01000000>"; }, { mediaType = video; name = "Back Camera"; source = "<90e64202 01000000>"; }, { mediaType = audio; name = "Default audio input"; source = "<70e74202 01000000>"; } ) 2017-03-31 10:25:02.167100 NativeDemo[255:19501] Found cameras: ( "Front Camera", "Back Camera" ) 2017-03-31 10:25:02.167340 NativeDemo[255:19501] [OpenWebRTC] Setting video rotation to: 0 2017-03-31 10:25:13.272738 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: 0 2017-03-31 10:25:27.409062 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: -90 2017-03-31 10:25:27.811615 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: 0 2017-03-31 10:25:29.105183 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: -90 2017-03-31 10:25:29.817366 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: 0 2017-03-31 10:25:30.819395 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: -90 2017-03-31 10:25:31.521708 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: 0 2017-03-31 10:25:32.213970 NativeDemo[255:19436] [EventSource] received data: : 2017-03-31 10:25:32.420515 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: -90 2017-03-31 10:25:33.020468 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: 0 2017-03-31 10:26:01.890365 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: -90 2017-03-31 10:26:02.199739 NativeDemo[255:19436] [EventSource] received data: : 2017-03-31 10:26:02.588242 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: 0 2017-03-31 10:26:03.085618 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: -90 2017-03-31 10:26:32.181764 NativeDemo[255:19436] [EventSource] received data: : 2017-03-31 10:26:36.377434 NativeDemo[255:19436] [EventSource] received data: : 2017-03-31 10:26:36.380025 NativeDemo[255:19436] [EventSource] received data: event:join data:AA9FA12A-7016-450E-9D9C-7D078AD7141E 2017-03-31 10:26:36.380617 NativeDemo[255:19436] peer joinedRoom: 522 2017-03-31 10:26:36.380874 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: -90 2017-03-31 10:26:36.382185 NativeDemo[255:19436] [PeerServerHandler] Sending orientation msg: {"orientation": 0} 2017-03-31 10:26:36.392050 NativeDemo[255:19436] [EventSource] received data: event:user-AA9FA12A-7016-450E-9D9C-7D078AD7141E data:{"orientation": 0} 2017-03-31 10:26:36.392573 NativeDemo[255:19436] Rotating remote view to: 0 2017-03-31 10:26:36.392682 NativeDemo[255:19436] [OpenWebRTC] Setting video rotation to: 0

(:255): GLib-GObject-CRITICAL : g_object_set: assertion 'G_IS_OBJECT (object)' failed 2017-03-31 10:26:36.417225 NativeDemo[255:19436] [PeerServerHandler] Message successfully sent to peer 2017-03-31 10:26:45.210829 NativeDemo[255:19436] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2017-03-31 10:26:45.211013 NativeDemo[255:19436] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2017-03-31 10:26:45.211105 NativeDemo[255:19436] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: NO 2017-03-31 10:26:45.978328 NativeDemo[255:19501] ############################# got_dtls_certificate 2017-03-31 10:26:45.978766 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2017-03-31 10:26:45.978867 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2017-03-31 10:26:45.979108 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: NO 2017-03-31 10:26:45.990729 NativeDemo[255:19501] ############################# got_dtls_certificate 2017-03-31 10:26:45.990959 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2017-03-31 10:26:45.991296 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2017-03-31 10:26:45.991342 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: NO 2017-03-31 10:26:45.996900 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2017-03-31 10:26:45.997533 NativeDemo[255:19501] CANDIDATE: candidate:1 1 UDP 2013266431 192.168.88.12 60052 typ host 2017-03-31 10:26:45.998192 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2017-03-31 10:26:45.998624 NativeDemo[255:19501] CANDIDATE: candidate:2 1 TCP 1019216383 192.168.88.12 0 typ host tcptype active 2017-03-31 10:26:45.999563 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2017-03-31 10:26:46.000103 NativeDemo[255:19501] CANDIDATE: candidate:3 1 TCP 1015022079 192.168.88.12 49569 typ host tcptype passive 2017-03-31 10:26:46.000686 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2017-03-31 10:26:46.001258 NativeDemo[255:19501] CANDIDATE: candidate:4 1 UDP 2013266431 192.168.88.12 52756 typ host 2017-03-31 10:26:46.001451 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2017-03-31 10:26:46.001823 NativeDemo[255:19501] CANDIDATE: candidate:5 1 TCP 1019216383 192.168.88.12 0 typ host tcptype active 2017-03-31 10:26:46.002583 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate 2017-03-31 10:26:46.002769 NativeDemo[255:19501] CANDIDATE: candidate:6 1 TCP 1015022079 192.168.88.12 49570 typ host tcptype passive 2017-03-31 10:26:49.022225 NativeDemo[255:19501] ############################# candidate_gathering_done 2017-03-31 10:26:49.022393 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2017-03-31 10:26:49.022482 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2017-03-31 10:26:49.022568 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2017-03-31 10:26:49.022650 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: NO 2017-03-31 10:26:49.022778 NativeDemo[255:19501] ############################# candidate_gathering_done 2017-03-31 10:26:49.022860 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer 2017-03-31 10:26:49.022939 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2017-03-31 10:26:49.023557 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer???? 2017-03-31 10:26:49.023643 NativeDemo[255:19501] >>>>>>>>>>>>>>>>>>>>>>>>>> can_send_offer: YES 2017-03-31 10:26:49.087025 NativeDemo[255:19501] Offer generated: { sdp = "v=0 \no=- 1490938009075465000 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 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f \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:aGvu \na=ice-pwd:SPA9bhcixoF6hb5K/Aha2X \na=candidate:1 1 UDP 2013266431 192.168.88.12 60052 typ host \na=candidate:2 1 TCP 1019216383 192.168.88.12 0 typ host tcptype active \na=candidate:3 1 TCP 1015022079 192.168.88.12 49569 typ host tcptype passive \na=fingerprint:sha-256 5A:13:0D:67:51:94:FD:1D:E1:41:7E:67:B3:BB:CD:AA:16:A8:A4:F2:67:65:37:CF:DC:56:56:E1:B9:71:DA:31 \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:Ty0D \na=ice-pwd:LoX6YSBodu8fiBple9PKHb \na=candidate:4 1 UDP 2013266431 192.168.88.12 52756 typ host \na=candidate:5 1 TCP 1019216383 192.168.88.12 0 typ host tcptype active \na=candidate:6 1 TCP 1015022079 192.168.88.12 49570 typ host tcptype passive \na=fingerprint:sha-256 5A:13:0D:67:51:94:FD:1D:E1:41:7E:67:B3:BB:CD:AA:16:A8:A4:F2:67:65:37:CF:DC:56:56:E1:B9:71:DA:31 \na=setup:actpass \n"; type = offer; } 2017-03-31 10:26:49.281328 NativeDemo[255:19436] [PeerServerHandler] Message successfully sent to peer ERROR:owr_transport_agent.c:917:remove_existing_send_source_and_payload: assertion failed: (sinkpad)

rehanslash commented 7 years ago

(:291): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed I am facing this issue in my App any can tell me how I solve it