{"action":"created","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/400","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/400/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/400/events","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/400","id":149050321,"number":400,"title":"Unable to accept the video call.","user":{"login":"lalitasaini","id":18500179,"avatar_url":"https://avatars.githubusercontent.com/u/18500179?v=3","gravatar_id":"","url":"https://api.github.com/users/lalitasaini","html_url":"https://github.com/lalitasaini","followers_url":"https://api.github.com/users/lalitasaini/followers","following_url":"https://api.github.com/users/lalitasaini/following{/other_user}","gists_url":"https://api.github.com/users/lalitasaini/gists{/gist_id}","starred_url":"https://api.github.com/users/lalitasaini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalitasaini/subscriptions","organizations_url":"https://api.github.com/users/lalitasaini/orgs","repos_url":"https://api.github.com/users/lalitasaini/repos","events_url":"https://api.github.com/users/lalitasaini/events{/privacy}","received_events_url":"https://api.github.com/users/lalitasaini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-18T05:55:43Z","updated_at":"2016-04-19T04:45:16Z","closed_at":null,"body":"Hello ,\r\n I am unable to receive video call. Generated Log is:\r\n\r\nrtc::<QBRTCClient 0x7be53980, delegates[1]> added <ViewController: 0x7c83d1c0> to list of delegates\r\n2016-04-18 11:09:52:011 Demo[4663:35249] rtc::Session configuration: QBRTCConfig {\r\ndialing time interval: 5.0s\r\naaswer time interval: 60.0s,\r\ndisconnect time interval : 30.0,\r\ndtls: 1,\r\nice (\r\n    \"stun:turn.quickblox.com::\",\r\n    \"turn:turn.quickblox.com:3478?transport=tcp:quickblox:baccb97ba2d92d71e26eb9886da5f1e0\",\r\n    \"turn:turn.quickblox.com:3478?transport=udp:quickblox:baccb97ba2d92d71e26eb9886da5f1e0\"\r\n),\r\n}\r\n2016-04-18 11:09:52:012 Demo[4663:35249] rtc::<QBRTCSession: 0x7c9305d0, ID: E55DC95E-275B-4E78-B71B-712A5507CD12, initiatorID: 9049458, opponentsIDs: 9049437, conferenceType: video(1), connections: 0> created new <Peer:0x7c9318d0, UID:9049437, r:Offer>\r\n2016-04-18 11:09:52:012 Demo[4663:35249] rtc::<QBRTCClient 0x7be53980, delegates[1]> created new <QBRTCSession: 0x7c9305d0, ID: E55DC95E-275B-4E78-B71B-712A5507CD12, initiatorID: 9049458, opponentsIDs: 9049437, conferenceType: video(1), connections: 1>\r\n2016-04-18 11:09:52:116 Demo[4663:35249] rtc::Current camera position: Back\r\n2016-04-18 11:09:52:116 Demo[4663:35249] rtc::Warning: using back camera\r\n2016-04-18 11:09:52:143 Demo[4663:35249] rtc::Add video input error: Cannot Record\r\n2016-04-18 11:09:52:144 Demo[4663:35249] rtc::Video capturer initialized: <QBRTCCameraCapture 0x7cb36870> state: Idle\r\n2016-04-18 11:09:52:144 Demo[4663:35335] rtc::Start capture session.\r\n2016-04-18 11:09:52:144 Demo[4663:35249] rtc::<QBRTCClient 0x7be53980, delegates[2]> added <CallViewController: 0x7bea5090> to list of delegates\r\n2016-04-18 11:09:52:144 Demo[4663:35335] rtc::HDR enabled NO\r\n2016-04-18 11:09:52:147 Demo[4663:35423] rtc::Create audio track: <RTCAudioTrack: 0x7c898790>\r\n2016-04-18 11:09:52:147 Demo[4663:35358] rtc::Started rtc video capturer\r\n2016-04-18 11:09:52:148 Demo[4663:35423] rtc::Create video track: <RTCVideoTrack: 0x7c931170>\r\n2016-04-18 11:09:52:148 Demo[4663:35423] rtc::Created local media stream [com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458]:A=1:V=1]\r\n2016-04-18 11:09:52:173 Demo[4663:35423] rtc::Added Stream: [com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458]:A=1:V=1], to <Peer:0x7c9318d0, UID:9049437, r:Offer>\r\n2016-04-18 11:09:52:173 Demo[4663:35359] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Renegotiation needed\r\n2016-04-18 11:09:52:173 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Create offer\r\n2016-04-18 11:09:52:175 Demo[4663:35359] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Created session description:v=0\r\no=- 294656614216950486 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458]\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 127 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:OWt3YqGMhaKA8rqx\r\na=ice-pwd:ca597w39WU6ciRB+RKPvDnrC\r\na=fingerprint:sha-256 EA:68:99:25:73:AE:86:17:BA:80:20:D6:EF:EC:06:67:95:34:FF:75:A6:87:57:53:2D:F3:BD:B7:95:A0:8E:EA\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=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10; useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:102 ILBC/8000\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:127 red/8000\r\na=rtpmap:126 telephone-event/8000\r\na=maxptime:60\r\na=ssrc:2541975451 cname:NyDPQZP2No42EOcM\r\na=ssrc:2541975451 msid:com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458] audioTrack\r\na=ssrc:2541975451 mslabel:com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458]\r\na=ssrc:2541975451 label:audioTrack\r\nm=video 9 UDP/TLS/RTP/SAVPF 100 101 107 116 117 96 97 99 98\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:OWt3YqGMhaKA8rqx\r\na=ice-pwd:ca597w39WU6ciRB+RKPvDnrC\r\na=fingerprint:sha-256 EA:68:99:25:73:AE:86:17:BA:80:20:D6:EF:EC:06:67:95:34:FF:75:A6:87:57:53:2D:F3:BD:B7:95:A0:8E:EA\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=extmap:4 urn:3gpp:video-orientation\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=rtcp-fb:100 transport-cc\r\na=rtpmap:101 VP9/90000\r\na=rtcp-fb:101 ccm fir\r\na=rtcp-fb:101 nack\r\na=rtcp-fb:101 nack pli\r\na=rtcp-fb:101 goog-remb\r\na=rtcp-fb:101 transport-cc\r\na=rtpmap:107 H264/90000\r\na=rtcp-fb:107 ccm fir\r\na=rtcp-fb:107 nack\r\na=rtcp-fb:107 nack pli\r\na=rtcp-fb:107 goog-remb\r\na=rtcp-fb:107 transport-cc\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=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=101\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=107\r\na=rtpmap:98 rtx/90000\r\na=fmtp:98 apt=116\r\na=ssrc-group:FID 3296385801 3348932314\r\na=ssrc:3296385801 cname:NyDPQZP2No42EOcM\r\na=ssrc:3296385801 msid:com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458] videoTrack\r\na=ssrc:3296385801 mslabel:com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458]\r\na=ssrc:3296385801 label:videoTrack\r\na=ssrc:3348932314 cname:NyDPQZP2No42EOcM\r\na=ssrc:3348932314 msid:com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458] videoTrack\r\na=ssrc:3348932314 mslabel:com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458]\r\na=ssrc:3348932314 label:videoTrack\r\n\r\n2016-04-18 11:09:52:200 Demo[4663:35249] rtc::Capture session started <AVCaptureSession: 0x7ce32e50 [AVCaptureSessionPresetInputPriority]>\r\n2016-04-18 11:09:52:261 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Signaling state changed: Have Local Offer\r\n2016-04-18 11:09:52:269 Demo[4663:35359] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> ICE gathering changed: Gathering\r\n2016-04-18 11:09:52:269 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Set session description\r\n2016-04-18 11:09:52:271 Demo[4663:35423] rtc::Started timer: dialing timer, background task id 1 ...\r\n2016-04-18 11:09:52:272 Demo[4663:35423] rtc::<QBRTCSession: 0x7c9305d0, ID: E55DC95E-275B-4E78-B71B-712A5507CD12, initiatorID: 9049458, opponentsIDs: 9049437, conferenceType: video(1), connections: 1> Send local offer sdp\r\n2016-04-18 11:09:52:273 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Queued ICE candidates, count: 0\r\n2016-04-18 11:09:52:273 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Queued ICE candidates, count: 1\r\n2016-04-18 11:09:52:273 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Queued ICE candidates, count: 2\r\n2016-04-18 11:09:52:273 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Queued ICE candidates, count: 3\r\n2016-04-18 11:09:52:371 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Queued ICE candidates, count: 4\r\n2016-04-18 11:09:52:371 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Queued ICE candidates, count: 5\r\n2016-04-18 11:09:52:371 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Queued ICE candidates, count: 6\r\n2016-04-18 11:09:52:371 Demo[4663:35423] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Queued ICE candidates, count: 7\r\n2016-04-18 11:09:52.700 Demo[4663:35249] KVO autonotifying only supports -set<Key>: methods that return void. Autonotifying will not be done for invocations of -[QBRTCSoundRouter setCurrentSoundRoute:].\r\n2016-04-18 11:09:57:364 Demo[4663:35422] rtc::<QBRTCSession: 0x7c9305d0, ID: E55DC95E-275B-4E78-B71B-712A5507CD12, initiatorID: 9049458, opponentsIDs: 9049437, conferenceType: video(1), connections: 1> Send local offer sdp\r\n2016-04-18 11:10:02:366 Demo[4663:35422] rtc::<QBRTCSession: 0x7c9305d0, ID: E55DC95E-275B-4E78-B71B-712A5507CD12, initiatorID: 9049458, opponentsIDs: 9049437, conferenceType: video(1), connections: 1> Send local offer sdp\r\n2016-04-18 11:10:07:369 Demo[4663:35423] rtc::<QBRTCSession: 0x7c9305d0, ID: E55DC95E-275B-4E78-B71B-712A5507CD12, initiatorID: 9049458, opponentsIDs: 9049437, conferenceType: video(1), connections: 1> Send local offer sdp\r\n2016-04-18 11:10:08:660 Demo[4663:35249] rtc::Begin hangup session: <QBRTCSession: 0x7c9305d0, ID: E55DC95E-275B-4E78-B71B-712A5507CD12, initiatorID: 9049458, opponentsIDs: 9049437, conferenceType: video(1), connections: 1> user info: {\r\n    hangup = \"hang up\";\r\n}\r\n2016-04-18 11:10:08:660 Demo[4663:35546] rtc::Closed connection for user 9049437\r\n2016-04-18 11:10:08:660 Demo[4663:35546] rtc::Invalidated timer:dialing timer, background task id 1 ...\r\n2016-04-18 11:10:08:661 Demo[4663:35546] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Removed local media stream: [com.quickblox.mediastream.device-simulator_ios-9.3_userid-9049458]:A=1:V=1]\r\n2016-04-18 11:10:08:664 Demo[4663:35359] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> ICE gathering changed: Complete\r\n2016-04-18 11:10:08:677 Demo[4663:35546] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Ice connection changed: Closed\r\n2016-04-18 11:10:08.677 Demo[4663:35546] dealloc QBRTCLocalAudioTrack\r\n2016-04-18 11:10:08.679 Demo[4663:35546] dealloc QBRTCLocalVideoTrack\r\n2016-04-18 11:10:08.679 Demo[4663:35546] Destroy local media stream\r\n2016-04-18 11:10:08:680 Demo[4663:35546] rtc::<Peer:0x7c9318d0, UID:9049437, r:Offer> Signaling state changed: Closed\r\n2016-04-18 11:10:08:681 Demo[4663:35546] rtc::Destroy dialing timer\r\n2016-04-18 11:10:08:682 Demo[4663:35358] rtc::Stopped rtc video capturer\r\n2016-04-18 11:10:10.833 Demo[4663:35249] dealloc - <CallViewController: 0x7bea5090>\r\n2016-04-18 11:10:10:834 Demo[4663:35249] rtc::-[QBRTCCameraCapture dealloc]\r\n2016-04-18 11:11:05:891 Demo[4663:35249] rtc::<QBRTCClient 0x7be53980, delegates[2]> did accidentally disconnect.\r\n2016-04-18 11:15:30.635 Demo[4663:35249] Need update this case\r\n2016-04-18 11:16:34:769 Demo[4663:35249] rtc::<QBRTCClient 0x7be53980, delegates[2]> did accidentally disconnect.\r\n2016-04-18 11:19:18.714 Demo[4663:35249] Need update this case\r\n\r\n\r\nWhat to do? Thanks"},"comment":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/comments/211727163","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/400#issuecomment-211727163","issue_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/400","id":211727163,"user":{"login":"lalitasaini","id":18500179,"avatar_url":"https://avatars.githubusercontent.com/u/18500179?v=3","gravatar_id":"","url":"https://api.github.com/users/lalitasaini","html_url":"https://github.com/lalitasaini","followers_url":"https://api.github.com/users/lalitasaini/followers","following_url":"https://api.github.com/users/lalitasaini/following{/other_user}","gists_url":"https://api.github.com/users/lalitasaini/gists{/gist_id}","starred_url":"https://api.github.com/users/lalitasaini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalitasaini/subscriptions","organizations_url":"https://api.github.com/users/lalitasaini/orgs","repos_url":"https://api.github.com/users/lalitasaini/repos","events_url":"https://api.github.com/users/lalitasaini/events{/privacy}","received_events_url":"https://api.github.com/users/lalitasaini/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T04:45:16Z","updated_at":"2016-04-19T04:45:16Z","body":"I noticed a thing.. if i use following coding then i unable to receive call.\r\nSettings *settings = Settings.instance;\r\nself.cameraCapture = [[QBRTCCameraCapture alloc] initWithVideoFormat:settings.videoFormat\r\n                                                                    position:settings.preferredCameraPostion];\r\n[self.cameraCapture startSession];\r\n\r\n\r\nIf i don't use 'Setting' class then it works but video quality is very poor.\r\n\r\n QBRTCVideoFormat *format = [QBRTCVideoFormat defaultFormat];\r\n AVCaptureDevicePosition postiong;\r\n        \r\n self.cameraCapture = [[QBRTCCameraCapture alloc] initWithVideoFormat:format\r\n                                                                    position:postiong];\r\n [self.cameraCapture startSession];\r\n   \r\n\r\n\r\nWhat is the problem with Setting class?"}}