{"action":"created","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/83","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/83/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/83/events","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/83","id":85507300,"number":83,"title":"WebRTC Video Call iOS: Receiver connection closes, unable to accept the call. ","user":{"login":"madhu014","id":1912823,"avatar_url":"https://avatars.githubusercontent.com/u/1912823?v=3","gravatar_id":"","url":"https://api.github.com/users/madhu014","html_url":"https://github.com/madhu014","followers_url":"https://api.github.com/users/madhu014/followers","following_url":"https://api.github.com/users/madhu014/following{/other_user}","gists_url":"https://api.github.com/users/madhu014/gists{/gist_id}","starred_url":"https://api.github.com/users/madhu014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhu014/subscriptions","organizations_url":"https://api.github.com/users/madhu014/orgs","repos_url":"https://api.github.com/users/madhu014/repos","events_url":"https://api.github.com/users/madhu014/events{/privacy}","received_events_url":"https://api.github.com/users/madhu014/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T11:03:48Z","updated_at":"2015-06-10T06:10:22Z","closed_at":null,"body":"Rewriting my iOS app to use the new WebRTC SDK for video call and facing this issue when in the call receiver side. When the caller starts the call, the session is received in the receiver but when the call is accepted (session:acceptCall), the connection just closes like this. -session:connectionFailedWithUser is called at the end. \r\n\r\n(Log at the call receiver side)\r\n2015-06-05 16:15:42.304 [2846:194572] dealloc - <QBBackgroundTimer: 0x17175830>\r\n2015-06-05 16:15:43.038 [2846:195100] Renegotiation needed. userID - 3027703\r\n2015-06-05 16:15:43.275 [2846:195100] Error(-1): Error Domain=RTCSDPError Code=-1 \"The operation couldn’t be completed. (RTCSDPError error -1.)\" UserInfo=0x1729d6a0 {error=SessionDescription is NULL.}\r\n2015-06-05 16:15:43.353 [2846:195100] Ice Gathering change: Complete, userID - 3027703\r\n2015-06-05 16:15:43.355 [2846:195100] Signaling state change: Closed, userID - 3027703\r\n\r\nAm I missing something or is this an issue with the SDK? \r\n"},"comment":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/comments/110604439","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/83#issuecomment-110604439","issue_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/83","id":110604439,"user":{"login":"madhu014","id":1912823,"avatar_url":"https://avatars.githubusercontent.com/u/1912823?v=3","gravatar_id":"","url":"https://api.github.com/users/madhu014","html_url":"https://github.com/madhu014","followers_url":"https://api.github.com/users/madhu014/followers","following_url":"https://api.github.com/users/madhu014/following{/other_user}","gists_url":"https://api.github.com/users/madhu014/gists{/gist_id}","starred_url":"https://api.github.com/users/madhu014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhu014/subscriptions","organizations_url":"https://api.github.com/users/madhu014/orgs","repos_url":"https://api.github.com/users/madhu014/repos","events_url":"https://api.github.com/users/madhu014/events{/privacy}","received_events_url":"https://api.github.com/users/madhu014/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T06:10:22Z","updated_at":"2015-06-10T06:10:22Z","body":"@Pro100Andrey Here is the log in debug level, \r\n\r\n2015-06-10 11:36:05.556 ChatApp[8458:604728] -[QBChat xmppStream:didSendPresence:] -> Presence SNT: <presence></presence>\r\n2015-06-10 11:36:05.828 ChatApp[8458:604765] -[QBChat xmppStream:didReceivePresence:] -> Presence RCV: <presence xmlns=\"jabber:client\" from=\"3232707-19224@chat.quickblox.com/4E8F7826-4D3E-4945-91A7-EB72C996C8C7\" to=\"3232707-19224@chat.quickblox.com\"></presence>\r\n2015-06-10 11:36:13.334 ChatApp[8458:604728] -[QBChat xmppStream:didSendPresence:] -> Presence SNT: <presence></presence>\r\n2015-06-10 11:36:13.695 ChatApp[8458:604765] -[QBChat xmppStream:didReceivePresence:] -> Presence RCV: <presence xmlns=\"jabber:client\" from=\"3232707-19224@chat.quickblox.com/4E8F7826-4D3E-4945-91A7-EB72C996C8C7\" to=\"3232707-19224@chat.quickblox.com\"></presence>\r\n2015-06-10 11:36:15.551 ChatApp[8458:604951] Audio session route change reason: Override\r\n2015-06-10 11:36:15.554 ChatApp[8458:604728] Request URL:https://api.quickblox.com/users/3027703.json\r\n2015-06-10 11:36:15.556 ChatApp[8458:604728] Request method: GET\r\n2015-06-10 11:36:15.559 ChatApp[8458:604728] Request parameters:(null)\r\n2015-06-10 11:36:15.560 ChatApp[8458:604728] Request headers: {\r\n    \"Content-Type\" = \"application/json\";\r\n    \"QB-SDK\" = \"iOS 2.2.3\";\r\n    \"QB-Token\" = ed3b109396d9731862c47225739d442e03973765;\r\n    \"QuickBlox-REST-API-Version\" = \"0.1.1\";\r\n}\r\n2015-06-10 11:36:17.422 ChatApp[8458:604879] Response headers: {\r\n    \"Access-Control-Allow-Origin\" = \"*\";\r\n    \"Cache-Control\" = \"max-age=0, private, must-revalidate\";\r\n    Connection = \"keep-alive\";\r\n    \"Content-Type\" = \"application/json; charset=utf-8\";\r\n    Date = \"Wed, 10 Jun 2015 06:06:18 GMT\";\r\n    Etag = \"\\\"d1e1d8bafcb8e5cb8e1afc11a7b8f6c9\\\"\";\r\n    \"QB-Token-ExpirationDate\" = \"2015-06-10 08:05:48 UTC\";\r\n    \"QuickBlox-REST-API-Version\" = \"0.1.1\";\r\n    Server = \"nginx/1.0.15\";\r\n    Status = \"200 OK\";\r\n    \"Transfer-Encoding\" = Identity;\r\n    \"X-Rack-Cache\" = miss;\r\n    \"X-Request-Id\" = acc93db0b39b11fd6f6a550dc5736f5a;\r\n    \"X-Runtime\" = \"0.015358\";\r\n    \"X-UA-Compatible\" = \"IE=Edge,chrome=1\";\r\n}\r\n2015-06-10 11:36:17.426 ChatApp[8458:604879] Response JSON: {\r\n    user =     {\r\n        \"blob_id\" = \"<null>\";\r\n        \"created_at\" = \"2015-05-04T18:07:08Z\";\r\n        \"custom_data\" = \"<null>\";\r\n        email = \"jayz_dev@atimi.com\";\r\n        \"external_user_id\" = \"<null>\";\r\n        \"facebook_id\" = \"<null>\";\r\n        \"full_name\" = Jayz;\r\n        id = 3027703;\r\n        \"last_request_at\" = \"2015-06-10T06:06:12Z\";\r\n        login = jayzdev;\r\n        \"owner_id\" = 23370;\r\n        phone = \"<null>\";\r\n        \"twitter_id\" = \"<null>\";\r\n        \"updated_at\" = \"2015-06-09T14:02:50Z\";\r\n        \"user_tags\" = \"<null>\";\r\n        website = \"https://s3.amazonaws.com/ChatAppdev/2/2015-06-09T14:02:10Z.JPG\";\r\n    };\r\n}\r\n2015-06-10 11:36:17.428 ChatApp[8458:604879] Response object: \r\n  [QBUUser]:\r\n  ID:3027703\r\n  created at:2015-05-04 18:07:08 +0000\r\n  updated at:2015-06-09 14:02:50 +0000\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  full name:Jayz\r\n  email:jayz_dev@atimi.com\r\n  login:jayzdev\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:2015-06-10 06:06:12 +0000\r\n  customData:(null)\r\n  website:https://s3.amazonaws.com/ChatAppdev/2/2015-06-09T14:02:10Z.JPG\r\n2015-06-10 11:36:20.290 ChatApp[8458:604780] Renegotiation needed. userID - 3027703\r\n2015-06-10 11:36:20.309 ChatApp[8458:604780] Error(-1): Error Domain=RTCSDPError Code=-1 \"The operation couldn’t be completed. (RTCSDPError error -1.)\" UserInfo=0x158e8c50 {error=SessionDescription is NULL.}\r\n2015-06-10 11:36:20.313 ChatApp[8458:604601] Connection state: userID - 3027703 changed: [Closed]\r\n2015-06-10 11:36:20.314 ChatApp[8458:604601] VideoChatManager - Connection closed\r\n2015-06-10 11:36:20.316 ChatApp[8458:604780] Ice Gathering change: Complete, userID - 3027703\r\n2015-06-10 11:36:20.317 ChatApp[8458:604780] Signaling state change: Closed, userID - 3027703\r\n2015-06-10 11:36:23.838 ChatApp[8458:604601] VideoChatManager - 0\r\n2015-06-10 11:36:35.555 ChatApp[8458:604728] -[QBChat xmppStream:didSendPresence:] -> Presence SNT: <presence></presence>\r\n2015-06-10 11:36:36.107 ChatApp[8458:605051] -[QBChat xmppStream:didReceivePresence:] -> Presence RCV: <presence xmlns=\"jabber:client\" from=\"3232707-19224@chat.quickblox.com/4E8F7826-4D3E-4945-91A7-EB72C996C8C7\" to=\"3232707-19224@chat.quickblox.com\"></presence>\r\n2015-06-10 11:36:41.552 ChatApp[8458:604601] [D] __41-[UAAnalytics uploadOperationWithEvents:]_block_invoke [Line 530] Analytics data sent successfully. Status: 200\r\n2015-06-10 11:36:43.334 ChatApp[8458:605060] -[QBChat xmppStream:didSendPresence:] -> Presence SNT: <presence></presence>\r\n2015-06-10 11:36:43.723 ChatApp[8458:604931] -[QBChat xmppStream:didReceivePresence:] -> Presence RCV: <presence xmlns=\"jabber:client\" from=\"3232707-19224@chat.quickblox.com/4E8F7826-4D3E-4945-91A7-EB72C996C8C7\" to=\"3232707-19224@chat.quickblox.com\"></presence>\r\n2015-06-10 11:37:05.554 ChatApp[8458:604931] -[QBChat xmppStream:didSendPresence:] -> Presence SNT: <presence></presence>\r\n2015-06-10 11:37:05.944 ChatApp[8458:604931] -[QBChat xmppStream:didReceivePresence:] -> Presence RCV: <presence xmlns=\"jabber:client\" from=\"3232707-19224@chat.quickblox.com/4E8F7826-4D3E-4945-91A7-EB72C996C8C7\" to=\"3232707-19224@chat.quickblox.com\"></presence>\r\n2015-06-10 11:37:13.334 ChatApp[8458:604931] -[QBChat xmppStream:didSendPresence:] -> Presence SNT: <presence></presence>\r\n2015-06-10 11:37:13.743 ChatApp[8458:605114] -[QBChat xmppStream:didReceivePresence:] -> Presence RCV: <presence xmlns=\"jabber:client\" from=\"3232707-19224@chat.quickblox.com/4E8F7826-4D3E-4945-91A7-EB72C996C8C7\" to=\"3232707-19224@chat.quickblox.com\"></presence>\r\n\r\n\r\nThe call is placed when this line is printed out- \r\n 2015-06-10 11:36:15.551 ChatApp[8458:604951] Audio session route change reason: Override"}}