{"action":"created","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/536","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/536/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/536/events","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/536","id":163373581,"number":536,"title":"QuickBlox-WebRTC - Video Call not initiated after I have integrated your sample code","user":{"login":"rkumawat","id":2070151,"avatar_url":"https://avatars.githubusercontent.com/u/2070151?v=3","gravatar_id":"","url":"https://api.github.com/users/rkumawat","html_url":"https://github.com/rkumawat","followers_url":"https://api.github.com/users/rkumawat/followers","following_url":"https://api.github.com/users/rkumawat/following{/other_user}","gists_url":"https://api.github.com/users/rkumawat/gists{/gist_id}","starred_url":"https://api.github.com/users/rkumawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkumawat/subscriptions","organizations_url":"https://api.github.com/users/rkumawat/orgs","repos_url":"https://api.github.com/users/rkumawat/repos","events_url":"https://api.github.com/users/rkumawat/events{/privacy}","received_events_url":"https://api.github.com/users/rkumawat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-01T11:08:17Z","updated_at":"2016-07-13T08:17:48Z","closed_at":null,"body":"*Help avoid duplicate issue reports, check [existing issues](https://github.com/QuickBlox/quickblox-ios-sdk/issues)*\r\n \r\n**Environment details**\r\n*iOS version, Quickblox iOS SDK version, QuickbloxWebRTC SDK version (optional)*\r\niOS Version : 8.4.1, 9.2.1 (Testing in both as different user)  \r\nQuickblox iOS SDK Version : 'Quickblox-WebRTC'  2.2' \r\n**Did this work before?**\r\nNot Worked after I have integrated code in my app. It is working fine in your sample app.\r\n\r\n**Expected behavior**\r\n\r\nI have installed my sample app in two different devices and logged in with two different users. When I try to connect with Video call It shows the Video Dialog and it should show a incoming call dialog on other user. \r\n\r\n\r\n**Actual behavior**\r\n\r\nVideo call not initiated.\r\n\r\nI have installed my sample app in two different devices and logged in with two different users. When I try to connect with Video call It shows the Video Dialog on Initiator device and get crashed the app. And not getting any call request on another user.\r\n\r\nTerminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QBUUser unsignedIntValue]: unrecognized selector sent to instance 0x174127b20'\r\n\r\n\r\n**Logs**\r\n*Attach full logs that will describe your problem (please, use github [gist](https://gist.github.com/))*\r\n2016-07-01 15:52:17:754 QBDemo[382:43621] rtc::Initialize SSL... (v2.2, r11951)\r\n2016-07-01 15:52:17:797 QBDemo[382:43621] rtc::<QBRTCClient 0x1740525d0, delegates[1]> added <ViewController: 0x125665050> to list of delegates\r\n2016-07-01 15:52:31.519 QBDemo[382:43621] Init - QMAuthService service...\r\n2016-07-01 15:52:31.519 QBDemo[382:43621] Init - QMChatService service...\r\n2016-07-01 15:52:31.535 QBDemo[382:43621] Init - QMUsersService service...\r\n2016-07-01 15:52:39:327 QBDemo[382:43621] rtc::<QBRTCClient 0x1740525d0, delegates[1]> did connect.\r\n2016-07-01 15:53:06:362 QBDemo[382:43621] 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-07-01 15:53:06:364 QBDemo[382:43621] rtc::<QBRTCSession: 0x1740dfb10, ID: 7F3BED48-7D70-47C0-8A19-4E15D3FD315F, initiatorID: 13924419, opponentsIDs: \r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, conferenceType: audio(2), connections: 0> created new <Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer>\r\n2016-07-01 15:53:06:364 QBDemo[382:43621] rtc::<QBRTCClient 0x1740525d0, delegates[1]> created new <QBRTCSession: 0x1740dfb10, ID: 7F3BED48-7D70-47C0-8A19-4E15D3FD315F, initiatorID: 13924419, opponentsIDs: \r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, conferenceType: audio(2), connections: 1>\r\n2016-07-01 15:53:06.393 QBDemo[382:43621] Method viewDidLoad\r\n2016-07-01 15:53:06.393 QBDemo[382:43621] Method configureGUI\r\n2016-07-01 15:53:06.400 QBDemo[382:43621] Method userWithId\r\n2016-07-01 15:53:06.400 QBDemo[382:43621] Method getSeekerUser\r\n2016-07-01 15:53:06.400 QBDemo[382:43621] Method currentUser\r\n2016-07-01 15:53:06.401 QBDemo[382:43621] Method currentUser\r\n2016-07-01 15:53:06.401 QBDemo[382:43621] Method getHelperUser\r\n2016-07-01 15:53:06:400 QBDemo[382:43621] rtc::<QBRTCClient 0x1740525d0, delegates[2]> added <CallViewController: 0x125522960> to list of delegates\r\n2016-07-01 15:53:06.404 QBDemo[382:43621] Method updateDynamicImage\r\n2016-07-01 15:53:06.404 QBDemo[382:43621] Method startCall\r\n2016-07-01 15:53:06.404 QBDemo[382:43621] Method playCallingSound\r\n2016-07-01 15:53:06:405 QBDemo[382:43871] rtc::Create audio track: <RTCAudioTrack: 0x170248190>\r\n2016-07-01 15:53:06:406 QBDemo[382:43871] rtc::Created local media stream [com.quickblox.mediastream.device-iphone.6_ios-8.4.1_userid-13924419]:A=1:V=0]\r\n2016-07-01 15:53:06.413 QBDemo[382:43621] Method collectionView:numberOfItemsInSection\r\n2016-07-01 15:53:06.413 QBDemo[382:43621] Method collectionView:collectionViewLayout\r\n2016-07-01 15:53:06.413 QBDemo[382:43621] Method collectionView:collectionViewLayout\r\n2016-07-01 15:53:06.414 QBDemo[382:43621] Method collectionView:numberOfItemsInSection\r\n2016-07-01 15:53:06.414 QBDemo[382:43621] Method collectionView:cellForItemAtIndexPath\r\n2016-07-01 15:53:06.416 QBDemo[382:43621] Method videoViewWithOpponentID\r\n2016-07-01 15:53:06.417 QBDemo[382:43621] Method collectionView:cellForItemAtIndexPath\r\n2016-07-01 15:53:06.418 QBDemo[382:43621] Method videoViewWithOpponentID\r\n2016-07-01 15:53:06:418 QBDemo[382:43871] rtc::Added Stream: [com.quickblox.mediastream.device-iphone.6_ios-8.4.1_userid-13924419]:A=1:V=0], to <Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer>\r\n2016-07-01 15:53:06:419 QBDemo[382:43694] rtc::<Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer> Renegotiation needed\r\n2016-07-01 15:53:06:419 QBDemo[382:43871] rtc::<Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer> Create offer\r\n2016-2016-07-01 15:53:06.432 QBDemo[382:43621] Method session: initializedLocalMediaStream\r\n07-01 15:53:06:427 QBDemo[382:43694] rtc::<Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer> Created session description:v=0\r\n\r\no=- 1312277537030484177 2 IN IP4 127.0.0.1\r\n\r\ns=-\r\n\r\nt=0 0\r\n\r\na=group:BUNDLE audio\r\n\r\na=msid-semantic: WMS com.quickblox.mediastream.device-iphone.6_ios-8.4.1_userid-13924419]\r\n\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 127 126\r\n\r\nc=IN IP4 0.0.0.0\r\n\r\na=rtcp:9 IN IP4 0.0.0.0\r\n\r\na=ice-ufrag:S1HdmVqvvqztSDuS\r\n\r\na=ice-pwd:HnC2wsceNT9KftXc8JylewGr\r\n\r\na=fingerprint:sha-256 98:0E:03:02:87:95:5A:92:17:D0:99:D9:87:B6:C4:66:73:7B:66:61:5C:DC:A1:45:86:5E:38:3F:D7:4B:11:BF\r\n\r\na=setup:actpass\r\n\r\na=mid:audio\r\n\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\n\r\na=extmap:3 http:2016-07-01 15:53:06.434 QBDemo[382:43621] Method viewDidAppear\r\n2016-07-01 15:53:06.434 QBDemo[382:43621] KVO autonotifying only supports -set<Key>: methods that return void. Autonotifying will not be done for invocations of -[QBRTCSoundRouter setCurrentSoundRoute:].\r\n//www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\n\r\na=sendrecv\r\n\r\na=rtcp-mux\r\n\r\na=rtpmap:111 opus/48000/2\r\n\r\na=rtcp-fb:111 transport-cc\r\n\r\na=fmtp:111 minptime=10; useinbandfec=1\r\n\r\na=rtpmap:103 ISAC/16000\r\n\r\na=rtpmap:104 ISAC/32000\r\n\r\na=rtpmap:9 G722/8000\r\n\r\na=rtpmap:102 ILBC/8000\r\n\r\na=rtpmap:0 PCMU/8000\r\n\r\na=rtpmap:8 PCMA/8000\r\n\r\na=rtpmap:106 CN/32000\r\n\r\na=rtpmap:105 CN/16000\r\n\r\na=rtpmap:13 CN/8000\r\n\r\na=rtpmap:127 red/8000\r\n\r\na=rtpmap:126 telephone-event/8000\r\n\r\na=maxptime:60\r\n\r\na=ssrc:810245608 cname:wNdg+tXVw0zbvRM4\r\n\r\na=ssrc:810245608 msid:com.quickblox.mediastream.device-iphone.6_ios-8.4.1_userid-13924419] audioTrack\r\n\r\na=ssrc:810245608 mslabel:com.quickblox.mediastream.device-iphone.6_ios-8.4.1_userid-13924419]\r\n\r\na=ssrc:810245608 label:audioTrack\r\n\r\n\r\n2016-07-01 15:53:06.436 QBDemo[382:43621] Method viewDidAppear End...\r\n2016-07-01 15:53:06:746 QBDemo[382:43857] rtc::<Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer> Signaling state changed: Have Local Offer\r\n2016-07-01 15:53:06:749 QBDemo[382:43694] rtc::<Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer> ICE gathering changed: Gathering\r\n2016-07-01 15:53:06:749 QBDemo[382:43857] rtc::<Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer> Set session description\r\n2016-07-01 15:53:06:763 QBDemo[382:43857] rtc::Started timer: dialing timer, background task id 1 ...\r\n2016-07-01 15:53:06:765 QBDemo[382:43857] rtc::<QBRTCSession: 0x1740dfb10, ID: 7F3BED48-7D70-47C0-8A19-4E15D3FD315F, initiatorID: 13924419, opponentsIDs: \r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, conferenceType: audio(2), connections: 1> Send local offer sdp\r\n2016-07-01 15:53:06.765 QBDemo[382:43774] -[QBUUser unsignedIntValue]: unrecognized selector sent to instance 0x174127b20\r\n2016-07-01 15:53:06.766 QBDemo[382:43774] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QBUUser unsignedIntValue]: unrecognized selector sent to instance 0x174127b20'\r\n*** First throw call stack:\r\n(0x18639422c 0x1980600e4 0x18639b2f4 0x1863980a8 0x18629a96c 0x10054a960 0x1014a8fd4 0x1014a8f94 0x1014b3db8 0x1014ac2c4 0x1014b65d4 0x1014b8248 0x1988bd21c 0x1988bcee0)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n2016-07-01 15:53:06:766 QBDemo[382:43857] rtc::<Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer> Queued ICE candidates, count: 0\r\n2016-07-01 15:53:06:766 QBDemo[382:43857] rtc::<Peer:0x1740fc680, UID:\r\n  [QBUUser]:\r\n  ID:13924550\r\n  created at:(null)\r\n  updated at:(null)\r\n  externalUserID:0\r\n  blobID:0\r\n  facebookID:(null)\r\n  twitterID:(null)\r\n  twitterDigitsID:(null)\r\n  full name:Mitul Helper\r\n  email:(null)\r\n  login:mitulhelper\r\n  phone:(null)\r\n  tags:(null)\r\n  lastRequestAt:(null)\r\n  customData:(null)\r\n  website:(null)\r\n   password:12345678, r:Offer> Queued ICE candidates, count: 1\r\n(lldb) \r\n\r\n**Steps to reproduce the behavior**\r\n\r\n\r\n**Any others comments?**\r\n \r\nCan you please help me to identify the issue.\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/comments/232288627","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/536#issuecomment-232288627","issue_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/536","id":232288627,"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-07-13T08:17:47Z","updated_at":"2016-07-13T08:17:47Z","body":"@rkumawat  Any updates?"}}
{"actor":{"display_login":"VitaliyGuru"}}