{"action":"created","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/580","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/580/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/580/events","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/580","id":172496869,"number":580,"title":"Swift- I unable to make a call from my device","user":{"login":"vibha22","id":21178362,"avatar_url":"https://avatars.githubusercontent.com/u/21178362?v=3","gravatar_id":"","url":"https://api.github.com/users/vibha22","html_url":"https://github.com/vibha22","followers_url":"https://api.github.com/users/vibha22/followers","following_url":"https://api.github.com/users/vibha22/following{/other_user}","gists_url":"https://api.github.com/users/vibha22/gists{/gist_id}","starred_url":"https://api.github.com/users/vibha22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vibha22/subscriptions","organizations_url":"https://api.github.com/users/vibha22/orgs","repos_url":"https://api.github.com/users/vibha22/repos","events_url":"https://api.github.com/users/vibha22/events{/privacy}","received_events_url":"https://api.github.com/users/vibha22/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/labels/needs%20further%20investigation","name":"needs further investigation","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T16:30:28Z","updated_at":"2016-08-30T13:04:55Z","closed_at":null,"body":"\r\nIf I click on call button then following output is coming..\r\n\r\n2016-08-22 21:52:41.396 NewDemo[515:105502] KVO autonotifying only supports -set<Key>: methods that return void. Autonotifying will not be done for invocations of -[QBRTCSoundRouter setCurrentSoundRoute:].\r\n2016-08-22 21:52:41:827 NewDemo[515:105860] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Signaling state changed: Have Local Offer\r\n2016-08-22 21:52:41:834 NewDemo[515:105604] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> ICE gathering changed: Gathering\r\n2016-08-22 21:52:41:834 NewDemo[515:105860] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Set session description\r\n2016-08-22 21:52:41:840 NewDemo[515:105860] rtc::Started timer: dialing timer, background task id 1 ...\r\n2016-08-22 21:52:41:843 NewDemo[515:105860] rtc::<QBRTCSession: 0x17eae880, ID: F043ABC2-084C-4419-9E8F-5EA626406C07, initiatorID: 16519758, opponentsIDs: 15889103, conferenceType: audio(2), connections: 1> Send local offer sdp\r\n2016-08-22 21:52:41:843 NewDemo[515:105860] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 0\r\n2016-08-22 21:52:41:844 NewDemo[515:105860] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 1\r\n2016-08-22 21:52:41:948 NewDemo[515:105892] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 2\r\n2016-08-22 21:52:41:949 NewDemo[515:105892] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 3\r\n2016-08-22 21:52:44:931 NewDemo[515:105860] rtc::<QBRTCSession: 0x17eae880, ID: F043ABC2-084C-4419-9E8F-5EA626406C07, initiatorID: 16519758, opponentsIDs: 15889103, conferenceType: audio(2), connections: 1> Send local offer sdp\r\n2016-08-22 21:52:46:004 NewDemo[515:105893] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 4\r\n2016-08-22 21:52:46:004 NewDemo[515:105893] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 5\r\n2016-08-22 21:52:46:091 NewDemo[515:105893] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 6\r\n2016-08-22 21:52:46:092 NewDemo[515:105893] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 7\r\n2016-08-22 21:52:46:176 NewDemo[515:105581] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 8\r\n2016-08-22 21:52:46:179 NewDemo[515:105604] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> ICE gathering changed: Complete\r\n2016-08-22 21:52:46:180 NewDemo[515:105581] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Queued ICE candidates, count: 9\r\n2016-08-22 21:52:47:880 NewDemo[515:105893] rtc::<QBRTCSession: 0x17eae880, ID: F043ABC2-084C-4419-9E8F-5EA626406C07, initiatorID: 16519758, opponentsIDs: 15889103, conferenceType: audio(2), connections: 1> Send local offer sdp\r\n2016-08-22 21:52:50:912 NewDemo[515:105892] rtc::<QBRTCSession: 0x17eae880, ID: F043ABC2-084C-4419-9E8F-5EA626406C07, initiatorID: 16519758, opponentsIDs: 15889103, conferenceType: audio(2), connections: 1> Send local offer sdp\r\n2016-08-22 21:52:53:859 NewDemo[515:105893] rtc::Closed connection for user 15889103\r\n2016-08-22 21:52:53:860 NewDemo[515:105893] rtc::Invalidated timer:dialing timer, background task id 1 ...\r\n2016-08-22 21:52:53:863 NewDemo[515:105893] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Removed local media stream: [com.quickblox.mediastream.device-iphone.5c_ios-9.2.1_userid-16519758]:A=1:V=0]\r\n2016-08-22 21:52:53:871 NewDemo[515:105893] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Ice connection changed: Closed\r\n2016-08-22 21:52:53.872 NewDemo[515:105893] dealloc QBRTCLocalAudioTrack\r\n2016-08-22 21:52:53.873 NewDemo[515:105893] Destroy local media stream\r\n2016-08-22 21:52:53:873 NewDemo[515:105893] rtc::<Peer:0x17eadc50, UID:15889103, r:Offer> Signaling state changed: Closed\r\n2016-08-22 21:52:53:874 NewDemo[515:105893] rtc::Destroy dialing timer\r\n2016-08-22 21:53:09.025 NewDemo[515:105502] dealloc - <MyViewController: 0x17eb07d0>\r\n\r\n\r\n\r\nMy videocall button code is below\r\n\r\n ```\r\nself.currentSession = QBRTCClient.instance().createNewSessionWithOpponents([15889103], withConferenceType: conferenceType)\r\n                    \r\n                    if ((self.currentSession) != nil)\r\n                    {\r\n                        print(self.currentSession)\r\nlet MakeCallVC:MyViewController = self.storyboard!.instantiateViewControllerWithIdentifier(\"MyViewController\") as! MyViewController\r\n                        \r\n                        MakeCallVC.session = self.currentSession\r\n                        self.navigationController?.pushViewController(MakeCallVC, animated: true)\r\n                    }else\r\n                    {\r\n                        print(\"You should login to use chat API. Session hasn’t been created. Please try to relogin the chat.\")\r\n                    }\r\n```\r\n\r\n\r\ndidReceiveNewSession this method is not call when I click on video button... It will be a big help if any one have working demo in swift for audio / video call.\r\n"},"comment":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/comments/243431532","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/580#issuecomment-243431532","issue_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/580","id":243431532,"user":{"login":"VitaliyGuru","id":4947664,"avatar_url":"https://avatars.githubusercontent.com/u/4947664?v=3","gravatar_id":"","url":"https://api.github.com/users/VitaliyGuru","html_url":"https://github.com/VitaliyGuru","followers_url":"https://api.github.com/users/VitaliyGuru/followers","following_url":"https://api.github.com/users/VitaliyGuru/following{/other_user}","gists_url":"https://api.github.com/users/VitaliyGuru/gists{/gist_id}","starred_url":"https://api.github.com/users/VitaliyGuru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitaliyGuru/subscriptions","organizations_url":"https://api.github.com/users/VitaliyGuru/orgs","repos_url":"https://api.github.com/users/VitaliyGuru/repos","events_url":"https://api.github.com/users/VitaliyGuru/events{/privacy}","received_events_url":"https://api.github.com/users/VitaliyGuru/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T13:04:55Z","updated_at":"2016-08-30T13:04:55Z","body":"@vibha22  Any updates?"}}
{"actor":{"display_login":"VitaliyGuru"}}