{"action":"created","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/960","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/960/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/960/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/960/events","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/960","id":304388265,"number":960,"title":"-[__NSCFConstantString count]: unrecognized selector sent to instance","user":{"login":"shaharukhs","id":16479669,"avatar_url":"https://avatars2.githubusercontent.com/u/16479669?v=4","gravatar_id":"","url":"https://api.github.com/users/shaharukhs","html_url":"https://github.com/shaharukhs","followers_url":"https://api.github.com/users/shaharukhs/followers","following_url":"https://api.github.com/users/shaharukhs/following{/other_user}","gists_url":"https://api.github.com/users/shaharukhs/gists{/gist_id}","starred_url":"https://api.github.com/users/shaharukhs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaharukhs/subscriptions","organizations_url":"https://api.github.com/users/shaharukhs/orgs","repos_url":"https://api.github.com/users/shaharukhs/repos","events_url":"https://api.github.com/users/shaharukhs/events{/privacy}","received_events_url":"https://api.github.com/users/shaharukhs/received_events","type":"User","site_admin":false},"labels":[{"id":324656404,"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/labels/needs%20further%20investigation","name":"needs further investigation","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"Raikerian","id":8850270,"avatar_url":"https://avatars0.githubusercontent.com/u/8850270?v=4","gravatar_id":"","url":"https://api.github.com/users/Raikerian","html_url":"https://github.com/Raikerian","followers_url":"https://api.github.com/users/Raikerian/followers","following_url":"https://api.github.com/users/Raikerian/following{/other_user}","gists_url":"https://api.github.com/users/Raikerian/gists{/gist_id}","starred_url":"https://api.github.com/users/Raikerian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raikerian/subscriptions","organizations_url":"https://api.github.com/users/Raikerian/orgs","repos_url":"https://api.github.com/users/Raikerian/repos","events_url":"https://api.github.com/users/Raikerian/events{/privacy}","received_events_url":"https://api.github.com/users/Raikerian/received_events","type":"User","site_admin":false},"assignees":[{"login":"Raikerian","id":8850270,"avatar_url":"https://avatars0.githubusercontent.com/u/8850270?v=4","gravatar_id":"","url":"https://api.github.com/users/Raikerian","html_url":"https://github.com/Raikerian","followers_url":"https://api.github.com/users/Raikerian/followers","following_url":"https://api.github.com/users/Raikerian/following{/other_user}","gists_url":"https://api.github.com/users/Raikerian/gists{/gist_id}","starred_url":"https://api.github.com/users/Raikerian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raikerian/subscriptions","organizations_url":"https://api.github.com/users/Raikerian/orgs","repos_url":"https://api.github.com/users/Raikerian/repos","events_url":"https://api.github.com/users/Raikerian/events{/privacy}","received_events_url":"https://api.github.com/users/Raikerian/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-12T14:14:08Z","updated_at":"2018-03-12T14:40:52Z","closed_at":null,"author_association":"NONE","body":"**New Issue Checklist**\r\n\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- [x] I have read the [Documentation](https://quickblox.com/developers/IOS)\r\n\r\n**Environment details**\r\n\r\nInfo                           | Value                                       |\r\n-------------------------------|---------------------------------------------|\r\niOS Version                    | 11.2.6                                  |                                          \r\nQuickblox iOS SDK version      |2.15                             |\r\nQuickbloxWebRTC SDK version    | 2.6.3                                  |                               \r\nXcode Version                  | 9.2                            |\r\nRepro with our demo sample     | e.g. does it happen with our demo sample?   |\r\n\r\n**Did this work before?**\r\nI am facing one issue with WebRTC,\r\n\r\nI have downloaded WebRTC JS from https://github.com/QuickBlox/quickblox-javascript-sdk/archive/gh-pages.zip and changed `config.js` file with my app credentials and created new room.\r\n\r\n**Expected behavior**\r\n\r\n\r\n**Actual behavior**\r\n\r\n\r\n**Logs**\r\n\r\n\r\nOnce I receive call and accept and after opponent user disconnect call I get following error :\r\n\r\n\r\n```\r\n2018-03-12 19:35:58.162645+0530 VideoInspectionSystem[5283:2591364] Metal GPU Frame Capture Enabled\r\n2018-03-12 19:35:58.164182+0530 VideoInspectionSystem[5283:2591364] Metal API Validation Enabled\r\n2018-03-12 19:35:58.371 rtc::[RTCClient] Added <VideoInspectionSystem.VideoCallViewController: 0x149ed87a0> to list of delegates\r\n2018-03-12 19:35:58.371 rtc::[RTCClient] List of Delegates (\r\n    \"<VideoInspectionSystem.ViewController: 0x149e20380>\",\r\n    \"<VideoInspectionSystem.VideoCallViewController: 0x149ed87a0>\"\r\n)\r\n2018-03-12 19:35:58.372 rtc::[CAMC] Initializing QBRTCCameraCapture with video format: <QBRTCVideoFormat:0x1c4655450, dimensions: 640x480, frame rate: 30, pixel format: 420f>\r\n2018-03-12 19:35:58.392 rtc::[CAMC] Starting QBRTCCameraCapture capture session.\r\n2018-03-12 19:35:58.410873+0530 VideoInspectionSystem[5283:2591532] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles\r\n2018-03-12 19:35:58.412 rtc::[QBRTCAudioSession] Initializing QBRTCAudioSession using configuration: <QBRTCAudioSessionConfiguration: 0x1c0431980, Category: AVAudioSessionCategoryPlayAndRecord, Category options: 2, Mode: AVAudioSessionModeVoiceChat>\r\n2018-03-12 19:35:58.413297+0530 VideoInspectionSystem[5283:2591532] [MC] Reading from public effective user settings.\r\n2018-03-12 19:35:58.440 rtc::Updating device: <AVCaptureFigVideoDevice: 0x149df3420 [Front Camera][com.apple.avfoundation.avcapturedevice.built-in_video:1]> with video format: <AVCaptureDeviceFormat: 0x1c4007c90 'vide'/'420f'  640x 480, { 2- 60 fps}, fov:54.400, max zoom:60.00 (upscales @2.00), ISO:34.0-2176.0, SS:0.000013-0.500000, supports HDR>\r\n2018-03-12 19:35:58.546 rtc::[QBRTCAudioSession] Current audio device was updated to Receiver\r\n2018-03-12 19:35:58.546 rtc::[QBRTCAudioSession] Trying to initialize QBRTCAudioSession while it's already has been initialized. Deinitialize instance first.\r\n2018-03-12 19:35:58.700 rtc::[QBRTCAudioSession] Switched from Speaker to Speaker port. Reason: The category of the session object changed or session was just activated.\r\n2018-03-12 19:35:58.871 rtc::[QBRTCAudioSession] Switched from Receiver to Speaker port. Reason: The output route was overridden by the app.\r\n2018-03-12 19:35:58.897 rtc::[CAMC] Capture session started.\r\n2018-03-12 19:36:00.332 rtc::dealloc - [CAMC]<QBRTCCameraCapture 0x1c42cb050>\r\n2018-03-12 19:36:00.633 rtc::[RTCClient] Signaling channel connected\r\n2018-03-12 19:36:08.427 rtc::[Signaling Processor] - Did receive signal: call from: 45012186\r\n2018-03-12 19:36:08.456 rtc::[RTCClient] Initializing SSL...\r\n2018-03-12 19:36:08.460 rtc::Create audio track: RTCMediaStreamTrack: kind:audio, id:audioTrack, enabled, state:Live\r\n2018-03-12 19:36:08.460 rtc::initialize - QBRTCRecorder\r\n2018-03-12 19:36:08.461 rtc::[SESS]<69c097ae-cd4e-4d61-b1bc-d339ce734dbc, I:45012186, O:[44546802], T:A> Init.\r\n2018-03-12 19:36:08.462 rtc::[TASK]<ID:7, l:session answer time out> Start.\r\n2018-03-12 19:36:08.462 rtc::[RTCClient] <QBRTCClient: 0x1c447ba00> created new [SESS]<69c097ae-cd4e-4d61-b1bc-d339ce734dbc, I:45012186, O:[44546802], T:A>\r\nNew call recieved Optional([\"bandwidth\": \"0\"])\r\n2018-03-12 19:36:08.485 rtc::[RTCClient] Added <VideoInspectionSystem.VideoCallViewController: 0x149df5150> to list of delegates\r\n2018-03-12 19:36:08.485 rtc::[RTCClient] List of Delegates (\r\n    \"<VideoInspectionSystem.ViewController: 0x149e20380>\",\r\n    \"<VideoInspectionSystem.VideoCallViewController: 0x149df5150>\"\r\n)\r\n2018-03-12 19:36:08.485 rtc::[CAMC] Initializing QBRTCCameraCapture with video format: <QBRTCVideoFormat:0x1c06513a0, dimensions: 640x480, frame rate: 30, pixel format: 420f>\r\n2018-03-12 19:36:08.488 rtc::[CAMC] Starting QBRTCCameraCapture capture session.\r\n2018-03-12 19:36:08.488 rtc::[QBRTCAudioSession] Trying to initialize QBRTCAudioSession while it's already has been initialized. Deinitialize instance first.\r\n2018-03-12 19:36:08.488 rtc::[QBRTCAudioSession] Trying to initialize QBRTCAudioSession while it's already has been initialized. Deinitialize instance first.\r\n2018-03-12 19:36:08.503 rtc::Updating device: <AVCaptureFigVideoDevice: 0x149df3420 [Front Camera][com.apple.avfoundation.avcapturedevice.built-in_video:1]> with video format: <AVCaptureDeviceFormat: 0x1c4007c90 'vide'/'420f'  640x 480, { 2- 60 fps}, fov:54.400, max zoom:60.00 (upscales @2.00), ISO:34.0-2176.0, SS:0.000013-0.500000, supports HDR>\r\n2018-03-12 19:36:08.829 rtc::[Signaling Processor] - Did receive signal: call from: 45012186\r\n2018-03-12 19:36:08.892 rtc::[CAMC] Capture session started.\r\n2018-03-12 19:36:09.937988+0530 VideoInspectionSystem[5283:2591743] TIC Read Status [11:0x0]: 1:57\r\n2018-03-12 19:36:09.938101+0530 VideoInspectionSystem[5283:2591743] TIC Read Status [11:0x0]: 1:57\r\n2018-03-12 19:36:12.275 rtc::[SESS]<69c097ae-cd4e-4d61-b1bc-d339ce734dbc, I:45012186, O:[44546802], T:A> Accept call\r\n2018-03-12 19:36:12.276 rtc::[TASK]<ID:7, l:session answer time out> Invalidate.\r\n2018-03-12 19:36:12.280 rtc::Created local media stream Media stream: ID=com.quickblox.mediastream.device-iphone8,1_ios-11.2.6_userid-44546802] A=1 V=0\r\n2018-03-12 19:36:12.294 rtc::[PCON]<45012186, R:Answer> Negotiation\r\n2018-03-12 19:36:12.294 rtc::[PCON]<45012186, R:Answer> Create answer\r\n2018-03-12 19:36:12.301 rtc::[PCON]<45012186, R:Answer> Signaling state HAVE_REMOTE_OFFER\r\n2018-03-12 19:36:12.303 rtc::[PCON]<45012186, R:Answer> Set remote session description\r\n2018-03-12 19:36:12.306 rtc::[PCON]<45012186, R:Answer> Signaling state STABLE\r\n2018-03-12 19:36:12.591 rtc::[QBRTCAudioSession] Did start play or record.\r\n2018-03-12 19:36:12.786 rtc::[QBRTCAudioSession] Switched from Speaker to Speaker port. Reason: The output route was overridden by the app.\r\n2018-03-12 19:36:12.997 rtc::[PCON]<45012186, R:Answer> Did change ice connection state to CHECKING\r\n2018-03-12 19:36:13.024 rtc::RTCRtpReceiver(0x1c0438d20): created receiver: RTCRtpReceiver {\r\n  receiverId: {4528780a-8ea5-4842-a1d4-c9320588f017}\r\n}\r\n2018-03-12 19:36:13.024 rtc::[PCON]<45012186, R:Answer> Did change ice gethering state to GATHERING\r\n2018-03-12 19:36:13.027 rtc::[TASK]<ID:0, l:session answer time out> Dealloc.\r\n2018-03-12 19:36:13.028 rtc::[PCON]<45012186, R:Answer> Receive remote audio track\r\n2018-03-12 19:36:13.392 rtc::[Signaling Processor] - Did receive signal: call from: 45012186\r\n2018-03-12 19:36:13.671 rtc::[PCON]<45012186, R:Answer> Did change ice gethering state to COMPLETE\r\n2018-03-12 19:36:13.699 rtc::[PCON]<45012186, R:Answer> Did change ice connection state to CONNECTED\r\n2018-03-12 19:36:13.803 rtc::[Signaling Processor] - Did receive signal: update from: 45012186\r\n2018-03-12 19:36:14.583 rtc::[Signaling Processor] - Did receive signal: iceCandidates from: 45012186\r\n2018-03-12 19:36:14.585 rtc::[PCON]<45012186, R:Answer> Set remote ICE candidates, count: 21\r\n2018-03-12 19:36:18.790 rtc::[PCON]<45012186, R:Answer> Did change ice connection state to DISCONNECTED\r\n2018-03-12 19:36:18.991 rtc::[Signaling Processor] - Did receive signal: hangUp from: 45012186\r\n2018-03-12 19:36:18.992 rtc::[PCON]<45012186, R:Answer> Closing\r\n2018-03-12 19:36:18.998 rtc::[PCON]<45012186, R:Answer> Did change ice connection state to CLOSED\r\n2018-03-12 19:36:18.998 rtc::[PCON]<45012186, R:Answer> Signaling state CLOSED\r\n2018-03-12 19:36:19.190 rtc::[QBRTCAudioSession] Switched from Speaker to Speaker port. Reason: The output route was overridden by the app.\r\n2018-03-12 19:36:19.220001+0530 VideoInspectionSystem[5283:2591364] -[__NSCFConstantString count]: unrecognized selector sent to instance 0x106453390\r\n2018-03-12 19:36:19.220 rtc::dealloc QBRTCAudioTrack\r\n```\r\n\r\n*Please use the following template for logs:*\r\n\r\nTo enable full logs use the following code:\r\n```objc\r\n[QBSettings setLogLevel:QBLogLevelDebug];\r\n[QBSettings enableXMPPLogging];\r\n```\r\n\r\n<details>\r\n<summary>Title for logs </summary>\r\n\r\n```logos\r\n\r\n// Your logs here\r\n\r\n```\r\n\r\n</details>\r\n\r\n\r\n**Steps to reproduce the behavior**\r\n\r\n\r\n**Any others comments**\r\n"},"comment":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/comments/372332916","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/960#issuecomment-372332916","issue_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/960","id":372332916,"user":{"login":"Pro100Andrey","id":1109916,"avatar_url":"https://avatars0.githubusercontent.com/u/1109916?v=4","gravatar_id":"","url":"https://api.github.com/users/Pro100Andrey","html_url":"https://github.com/Pro100Andrey","followers_url":"https://api.github.com/users/Pro100Andrey/followers","following_url":"https://api.github.com/users/Pro100Andrey/following{/other_user}","gists_url":"https://api.github.com/users/Pro100Andrey/gists{/gist_id}","starred_url":"https://api.github.com/users/Pro100Andrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pro100Andrey/subscriptions","organizations_url":"https://api.github.com/users/Pro100Andrey/orgs","repos_url":"https://api.github.com/users/Pro100Andrey/repos","events_url":"https://api.github.com/users/Pro100Andrey/events{/privacy}","received_events_url":"https://api.github.com/users/Pro100Andrey/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T14:40:51Z","updated_at":"2018-03-12T14:40:51Z","author_association":"CONTRIBUTOR","body":"Hi @shaharukhs, Could you provide full logs ?\r\n\r\nfor enable logs use code:\r\n\r\n```objc\r\n[QBSettings setLogLevel:QBLogLevelDebug];\r\n[QBSettings enableXMPPLogging];\r\n```\r\n\r\nThanks!"}}
{"actor":{"display_login":"Pro100Andrey"}}