{"action":"created","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/914","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/914/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/914/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/914/events","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/914","id":277695146,"number":914,"title":"The application crashes when calling from a web application","user":{"login":"DaskiOFF","id":9377292,"avatar_url":"https://avatars0.githubusercontent.com/u/9377292?v=4","gravatar_id":"","url":"https://api.github.com/users/DaskiOFF","html_url":"https://github.com/DaskiOFF","followers_url":"https://api.github.com/users/DaskiOFF/followers","following_url":"https://api.github.com/users/DaskiOFF/following{/other_user}","gists_url":"https://api.github.com/users/DaskiOFF/gists{/gist_id}","starred_url":"https://api.github.com/users/DaskiOFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaskiOFF/subscriptions","organizations_url":"https://api.github.com/users/DaskiOFF/orgs","repos_url":"https://api.github.com/users/DaskiOFF/repos","events_url":"https://api.github.com/users/DaskiOFF/events{/privacy}","received_events_url":"https://api.github.com/users/DaskiOFF/received_events","type":"User","site_admin":false},"labels":[{"id":21739650,"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-11-29T10:07:10Z","updated_at":"2017-12-20T14:14:20Z","closed_at":null,"author_association":"NONE","body":"**New Issue Checklist**\r\n\r\n - [x] I have read the [Documentation](https://quickblox.com/developers/IOS)\r\n - [x] I have searched for a similar issue in the [project](https://github.com/QuickBlox/quickblox-ios-sdk/issues) and found none\r\n\r\n\r\n**Environment details**\r\n\r\nInfo                           | Value                                       |\r\n-------------------------------|---------------------------------------------|\r\niOS Version                    | 11.0                                    |                                          \r\nQuickblox iOS SDK version      | 2.14                                 |\r\nQuickbloxWebRTC SDK version    | 2.6.3                                  |                               \r\nXcode Version                  | Xcode 9.1                              |\r\n\r\n**Did this work before?**\r\nYes\r\n\r\n**Expected behavior**\r\nDuring an incoming call is invoked\r\n```func didReceiveNewSession(_ session: QBRTCSession, userInfo: [String : String]? = nil)```\r\n\r\n**Actual behavior**\r\nDuring a call, from our website (version 2.7.0 js SDK)\r\nThe following happens (the logs are below or [here (Gist)](https://gist.github.com/DaskiOFF/07138407b3e0388f6eda6a9745c67e71))\r\n\r\nApplication crash during **before** calling\r\n```func didReceiveNewSession(_ session: QBRTCSession, userInfo: [String : String]? = nil)```\r\n\r\nIf you call our app from your [test application](https://github.com/QuickBlox/quickblox-ios-sdk/tree/master/sample-videochat-webrtc), then everything is fine\r\n\r\n**Logs**\r\n<details>\r\n<summary>Actual behavior logs</summary>\r\n\r\n```logos\r\n\r\n2017-11-23 12:56:52.723 rtc::[Signaling Processor] - Did receive signal: call from: 36894006\r\n2017-11-23 12:56:52.724926+0300 MobileDoctor[20004:6593902] [ChatService]: RCV: <message xmlns=\"jabber:client\" from=\"36894006-50158@chat.quickblox.com/1571722472-quickblox-8348311\" id=\"5a169b5e49a9900155000005\" type=\"headline\" to=\"37675630-50158@chat.quickblox.com\">\r\n  <extraParams xmlns=\"jabber:client\">\r\n    <userInfo/>\r\n    <sessionID>585a9231-42c5-41cf-847d-a53f0e5b7e38</sessionID>\r\n    <callType>1</callType>\r\n    <callerID>36894006</callerID>\r\n    <opponentsIDs>\r\n      <opponentID>37675630</opponentID>\r\n    </opponentsIDs>\r\n    <sdp>v=0\r\no=- 9016391303964378858 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS 696a3efd-5e8c-44fb-9eb3-2cc686ffca90\r\nm=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:1 IN IP4 0.0.0.0\r\na=ice-ufrag:7zIt5FnSbDlfz5Rq\r\na=ice-pwd:0WzXkpD7jtD89YGn5UXOAFbE\r\na=ice-options:google-ice\r\na=fingerprint:sha-256 5A:63:08:D0:D0:29:F5:4C:9B:95:17:71:06:18:DB:BC:16:29:4D:0F:1C:A3:7D:FD:D7:C7:03:76:BA:E2:BE:74\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:126 telephone-event/8000\r\na=maxptime:60\r\na=ssrc:3851596435 cname:PqI75kSgUsE9ywAN\r\na=ssrc:3851596435 msid:696a3efd-5e8c-44fb-9eb3-2cc686ffca90 029bf6e4-19b7-49ed-ae70-f23305318138\r\na=ssrc:3851596435 mslabel:696a3efd-5e8c-44fb-9eb3-2cc686ffca90\r\na=ssrc:3851596435 label:029bf6e4-19b7-49ed-ae70-f23305318138\r\nm=video 1 RTP/SAVPF 100 116 117 96\r\nc=IN IP4 0.0.0.0\r\na=rtcp:1 IN IP4 0.0.0.0\r\na=ice-ufrag:7zIt5FnSbDlfz5Rq\r\na=ice-pwd:0WzXkpD7jtD89YGn5UXOAFbE\r\na=ice-options:google-ice\r\na=fingerprint:sha-256 5A:63:08:D0:D0:29:F5:4C:9B:95:17:71:06:18:DB:BC:16:29:2017-11-23 12:56:52.733 rtc::[RTCClient] Initializing SSL...\r\n4D:0F:1C:A3:7D:FD:D7:C7:03:76:BA:E2:BE:74\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:100 VP8/90000\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:100 goog-remb\r\na=rtpmap:116 red/90000\r\na=rtpmap:117 ulpfec/90000\r\na=rtpmap:96 rtx/90000\r\na=fmtp:96 apt=100\r\na=ssrc-group:FID 3959075012 1577350557\r\na=ssrc:3959075012 cname:PqI75kSgUsE9ywAN\r\na=ssrc:3959075012 msid:696a3efd-5e8c-44fb-9eb3-2cc686ffca90 4791ade5-2634-4b8e-98df-9e8281d304e3\r\na=ssrc:3959075012 mslabel:696a3efd-5e8c-44fb-9eb3-2cc686ffca90\r\na=ssrc:3959075012 label:4791ade5-2634-4b8e-98df-9e8281d304e3\r\na=ssrc:1577350557 cname:PqI75kSgUsE9ywAN\r\na=ssrc:1577350557 msid:696a3efd-5e8c-44fb-9eb3-2cc686ffca90 4791ade5-2634-4b8e-98df-9e8281d304e3\r\na=ssrc:1577350557 mslabel:696a3efd-5e8c-44fb-9eb3-2cc686ffca90\r\na=ssrc:1577350557 label:4792017-11-23 12:56:52.740 rtc::Create audio track: RTCMediaStreamTrack: kind:audio, id:audioTrack, enabled, state:Live\r\n2017-11-23 12:56:52.745 rtc::[VSND] Init.\r\n1ade5-2634-4b8e-98df-9e8281d304e3\r\n</sdp>\r\n    <moduleIdentifier>WebRTCVideoChat</moduleIdentifier>\r\n    <signalType>call</signalType>\r\n    <platform>web</platform>\r\n  </extraParams>\r\n</message>\r\n2017-11-23 12:56:52:719 MobileDoctor[20004:111f] RECV: <message xmlns=\"jabber:client\" from=\"36894006-50158@chat.quickblox.com/1571722472-quickblox-8348311\" id=\"5a169b5e49a9900155000005\" type=\"headline\" to=\"37675630-50158@chat.quickblox.com\"><extraParams xmlns=\"jabber:client\"><userInfo/><sessionID>585a9231-42c5-41cf-847d-a53f0e5b7e38</sessionID><callType>1</callType><callerID>36894006</callerID><opponentsIDs><opponentID>37675630</opponentID></opponentsIDs><sdp>v=0\r\no=- 9016391303964378858 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS 696a3efd-5e8c-44fb-9eb3-2cc686ffca90\r\nm=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:1 IN IP4 0.0.0.0\r\na=ice-ufrag:7zIt5FnSbDlfz5Rq\r\na=ice-pwd:0WzXkpD7jtD89YGn5UXOAFbE\r\na=ice-options:google-ice\r\na=fingerprint:sha-256 5A:63:08:D0:D0:29:F5:4C:9B:95:17:71:06:18:DB:BC:16:29:4D:0F:1C:A3:7D:FD:D7:C7:03:76:BA:E2:BE:74\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 minptime=10\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:126 telephone-event/8000\r\na=maxptime:60\r\na=ssrc:3851596435 cname:PqI75kSgUsE9ywAN\r\na=ssrc:3851596435 msid:696a3efd-5e8c-44fb-9eb3-2cc686ffca90 029bf6e4-19b7-49ed-ae70-f23305318138\r\na=ssrc:3851596435 mslabel:696a3efd-5e8c-44fb-9eb3-2cc686ffca90\r\na=ssrc:3851596435 label:029bf6e4-19b7-49ed-ae70-f23305318138\r\nm=video 1 RTP/SAVPF 100 116 117 96\r\nc=IN IP4 0.0.0.0\r\na=rtcp:1 IN IP4 0.0.0.0\r\na=ice-ufrag:7zIt5FnSbDlfz5Rq\r\na=ice-pwd:0WzXkpD7jtD89YGn5UXOAFbE\r\na=ice-options:google-ice\r\na=fingerprint:sha-256 5A:63:08:D0:D0:29:F5:4C:9B:95:17:71:06:18:DB:BC:16:29:4D:0F:1C:A3:7D:FD:D7:C7:03:76:BA:E2:BE:74\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:100 VP8/90000\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:100 goog-remb\r\na=rtpmap:116 red/90000\r\na=rtpmap:117 ulpfec/90000\r\na=rtpmap:96 rtx/90000\r\na=fmtp:96 apt=100\r\na=ssrc-group:FID 3959075012 1577350557\r\na=ssrc:3959075012 cname:PqI75kSgUsE9ywAN\r\na=ssrc:3959075012 msid:696a3efd-5e8c-44fb-9eb3-2cc686ffca90 4791ade5-2634-4b8e-98df-9e8281d304e3\r\na=ssrc:3959075012 mslabel:696a3efd-5e8c-44fb-9eb3-2cc686ffca90\r\na=ssrc:3959075012 label:4791ade5-2634-4b8e-98df-9e8281d304e3\r\na=ssrc:1577350557 cname:PqI75kSgUsE9ywAN\r\na=ssrc:1577350557 msid:696a3efd-5e8c-44fb-9eb3-2cc686ffca90 4791ade5-2634-4b8e-98df-9e8281d304e3\r\na=ssrc:1577350557 mslabel:696a3efd-5e8c-44fb-9eb3-2cc686ffca90\r\na=ssrc:1577350557 label:4791ade5-2634-4b8e-98df-9e8281d304e3\r\n</sdp><moduleIdentifier>WebRTCVideoChat</moduleIdentifier><signalType>call</signalType><platform>web</platform></extraParams></message>\r\n2017-11-23 12:56:52.746 rtc::[VSND] Start\r\n2017-11-23 12:56:52.754 rtc::Create video track: RTCMediaStreamTrack: kind:video, id:videoTrack, enabled, state:Live\r\n2017-11-23 12:56:52.755 rtc::initialize - QBRTCRecorder\r\n2017-11-23 12:56:52.755 rtc::[SESS]<585a9231-42c5-41cf-847d-a53f0e5b7e38, I:36894006, O:[37675630], T:V> Init.\r\n2017-11-23 12:56:52.757 rtc::[TASK]<ID:5, l:session answer time out> Start.\r\n2017-11-23 12:56:52.757 rtc::[RTCClient] <QBRTCClient: 0x1c4671340> created new [SESS]<585a9231-42c5-41cf-847d-a53f0e5b7e38, I:36894006, O:[37675630], T:V>\r\n2017-11-23 12:56:52.759521+0300 MobileDoctor[20004:6592743] -[__NSCFConstantString count]: unrecognized selector sent to instance 0x103b5b2b0\r\n2017-11-23 12:56:52.760188+0300 MobileDoctor[20004:6592743] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString count]: unrecognized selector sent to instance 0x103b5b2b0'\r\n*** First throw call stack:\r\n(0x1868e7d38 0x185dfc528 0x1868f51f8 0x1868ed6e4 0x1867d30dc 0x106c0c27c 0x102215560 0x1868ef6a0 0x1867ce820 0x1867d322c 0x1041e104c 0x106f9949c 0x106f9945c 0x106f9e050 0x18688ff20 0x18688dafc 0x1867ae2d8 0x18863ff84 0x18fd5b880 0x102204f30 0x1862d256c)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n\r\n```\r\n\r\n</details>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/comments/353073593","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/914#issuecomment-353073593","issue_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/914","id":353073593,"user":{"login":"DaskiOFF","id":9377292,"avatar_url":"https://avatars0.githubusercontent.com/u/9377292?v=4","gravatar_id":"","url":"https://api.github.com/users/DaskiOFF","html_url":"https://github.com/DaskiOFF","followers_url":"https://api.github.com/users/DaskiOFF/followers","following_url":"https://api.github.com/users/DaskiOFF/following{/other_user}","gists_url":"https://api.github.com/users/DaskiOFF/gists{/gist_id}","starred_url":"https://api.github.com/users/DaskiOFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaskiOFF/subscriptions","organizations_url":"https://api.github.com/users/DaskiOFF/orgs","repos_url":"https://api.github.com/users/DaskiOFF/repos","events_url":"https://api.github.com/users/DaskiOFF/events{/privacy}","received_events_url":"https://api.github.com/users/DaskiOFF/received_events","type":"User","site_admin":false},"created_at":"2017-12-20T14:14:20Z","updated_at":"2017-12-20T14:14:20Z","author_association":"NONE","body":"Error was found! For Swift 3.2\r\n\r\nIn xcode wrong interface generation for header files, in particular xcode substitutes might method: \r\n```func didReceiveNewSession(_ session: QBRTCSession, users: [string : string]? = nil)```\r\n\r\nand should be:\r\n```func didReceiveNewSession(_ session: QBRTCSession, users: Any!)```"}}
{"actor":{"display_login":"DaskiOFF"}}