QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
397 stars 358 forks source link

How QBRTCClient work? #792

Closed marshad13 closed 7 years ago

marshad13 commented 7 years ago

"QB-OS" = "iOS 10.1.1" "QB-SDK" = "iOS 2.9" QuickbloxWebRTC version = 2.3

How QBRTCClient work in case of video call?

Raikerian commented 7 years ago

Hi,

What exactly do you want to know about it? If you asking how to initiate a video call, its pretty simple and almost same as usual call, using this method:

/**
 *  Create new session
 *
 *  @param opponents        opponents IDs, array of NSNumber instances
 *  @param conferenceType   Type of conference. 'QBRTCConferenceTypeAudio' and 'QBRTCConferenceTypeVideo' values are available
 *
 *  @return New QBRTCSession instance
 */
- (QBRTCSession *)createNewSessionWithOpponents:(NSArray <NSNumber *> *)opponents
                             withConferenceType:(QBRTCConferenceType)conferenceType;

Just put QBRTCConferenceTypeVideo as conference type.

marshad13 commented 7 years ago

Actually reason for asking this question was to know about the hierarchy of session, i know when audio or video call is being made we call this method,

- (QBRTCSession *)createNewSessionWithOpponents:(NSArray <NSNumber *> *)opponents withConferenceType:(QBRTCConferenceType)conferenceType;

But how to destroy/remove this new created session? I am facing an issue regarding this session, first i start a video call, it works fine, but on call close/decline i call [mySession hangUp:@{@"hangup" : @"hang up"}]; It works fine for the first time, but on second attempt when i try to make another call with same 'Opponent' it doesn't succeeded and same 'hangUp:' method does not work wither any clue what m i doing wrong? By the way I am using Twitter Digits for user auth.

marshad13 commented 7 years ago

Here is the log, 2017-04-20 19:11:40.380948 LoomIn[997:265978] [DYMTLInitPlatform] platform initialization successful 2017-04-20 19:11:41.009956 LoomIn[997:265857] [Digits INFO]: Add the Answers framework to your app to enable Digits event logging automatically. Learn more at https://answers.io 2017-04-20 19:11:41.249 rtc::[RTCClient] iPhone5,2, 10.1.1, SDK: 2.3, webrtc: 15791 2017-04-20 19:11:41.294 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:11:41.297 rtc::[RTCClient] Wating signaling channel 2017-04-20 19:11:41.299 LoomIn[997:265987] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:11:41.383986 LoomIn[997:265857] _phoneNoStr +92 2017-04-20 19:11:41.391090 LoomIn[997:265857] _phoneNoStr +92 2017-04-20 19:11:43.389941 LoomIn[997:265857] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2017-04-20 19:11:43.393136 LoomIn[997:265857] [MC] Reading from public effective user settings. 2017-04-20 19:11:43.484326 LoomIn[997:265857] Can't find keyplane that supports type 5 for keyboard iPhone-Portrait-PhonePad; using 3091845359_Portrait_iPhone-Complex-Pad_Default 2017-04-20 19:12:03.315116 LoomIn[997:266121] [Fabric] failed to download settings Error Domain=FABNetworkError Code=-6 "(null)" 2017-04-20 19:12:08.013 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:12:08.013 rtc::[RTCClient] Wating signaling channel 2017-04-20 19:12:08.019 LoomIn[997:266121] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:12:36.140197 LoomIn[997:265857] [Common] _BSMachError: port b203; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND" 2017-04-20 19:12:36.141263 LoomIn[997:265857] [Common] _BSMachError: port b203; (os/kern) invalid name (0xf) "Unable to deallocate send right" 2017-04-20 19:12:36.661632 LoomIn[997:265857] Can't find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad; using 160517473_Portrait_iPhone-Simple-Pad_Default 2017-04-20 19:12:51.457 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:12:51.457 rtc::[RTCClient] Wating signaling channel 2017-04-20 19:12:51.459 LoomIn[997:265989] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:12:58.724 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:12:58.724 rtc::[RTCClient] Wating signaling channel 2017-04-20 19:12:58.736 LoomIn[997:266253] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:13:08.194169 LoomIn[997:265857] [Digits ERROR]: Error Domain=TwitterAPIErrorDomain Code=236 "Request failed: bad request (400)" UserInfo={NSLocalizedFailureReason=Twitter API error : The challenge response is incorrect (code 236), NSLocalizedDescription=Request failed: bad request (400), NSErrorFailingURLKey=https://api.digits.com/auth/1/xauth_challenge.json, TWTRNetworkingStatusCode=400} 2017-04-20 19:14:10.572 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:14:10.573 rtc::[RTCClient] Wating signaling channel 2017-04-20 19:14:10.575 LoomIn[997:266571] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:14:18.346 LoomIn[997:266526] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:14:39.445344 LoomIn[997:265857] Can't find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad; using 160517473_Portrait_iPhone-Simple-Pad_Default 2017-04-20 19:14:40.251 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:14:40.251 rtc::[RTCClient] Wating signaling channel 2017-04-20 19:14:40.254 LoomIn[997:266571] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:14:43.987 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:14:43.987 rtc::[RTCClient] Wating signaling channel 2017-04-20 19:14:43.991 LoomIn[997:266808] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:14:52.689 LoomIn[997:266571] [QBCore] Request URL:https://api.quickblox.com/account_settings.json 2017-04-20 19:14:52.690 LoomIn[997:266571] [QBCore] Request method: GET 2017-04-20 19:14:52.690 LoomIn[997:266571] [QBCore] Request parameters:(null) 2017-04-20 19:14:52.690 LoomIn[997:266571] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "QB-Account-Key" = vwcKM8YdUjhNMJHsjEWy; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:14:55.069 LoomIn[997:266851] [QBCore] Response headers: { "Access-Control-Allow-Origin" = ""; "Cache-Control" = "max-age=0, private, must-revalidate"; Connection = "keep-alive"; "Content-Length" = 175; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:14:54 GMT"; Etag = "\"b34c0c57e2322add9a77d61ec8d6efec\""; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "200 OK"; "Strict-Transport-Security" = "max-age=15768000;"; "X-Rack-Cache" = miss; "X-Request-Id" = 8795a4bb30ae1dea30f0002de2262c10; "X-Runtime" = "0.011132"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:14:55.070 LoomIn[997:266851] [QBCore] Response object: { "account_id" = 60854; "api_endpoint" = "https://api.quickblox.com"; "chat_endpoint" = "chat.quickblox.com"; "s3_bucket_name" = qbprod; "turnserver_endpoint" = "turnserver.quickblox.com"; } 2017-04-20 19:14:55.078 LoomIn[997:266571] [Core] accountSettings: apiEndpoint: https://api.quickblox.com chatEndpoint: chat.quickblox.com, turnServerEndpoint: turnserver.quickblox.com, S3BucketName: qbprod, lastCheckDate: 2017-04-20 14:14:55 +0000 2017-04-20 19:14:55.085 LoomIn[997:266571] [QBCore] Request URL:https://api.quickblox.com/session.json 2017-04-20 19:14:55.085 LoomIn[997:266571] [QBCore] Request method: POST 2017-04-20 19:14:55.086 LoomIn[997:266571] [QBCore] Request parameters:{ "application_id" = 56318; "auth_key" = 56qhYWXHwGfV5mn; nonce = 664; signature = c32e39fea78e6831623539c6e4aa4e32d53ae1d3; timestamp = 1492697695; } 2017-04-20 19:14:55.086 LoomIn[997:266571] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "Content-Type" = "application/x-www-form-urlencoded"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:14:56.943 LoomIn[997:266571] [QBCore] Response headers: { "Access-Control-Allow-Origin" = ""; "Cache-Control" = "max-age=0, private, must-revalidate"; Connection = "keep-alive"; "Content-Length" = 230; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:14:56 GMT"; Etag = "\"a24d046792f73af50e0a00bf29b5fadd\""; "QB-Token-ExpirationDate" = "2017-04-20 16:14:56 UTC"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "201 Created"; "Strict-Transport-Security" = "max-age=15768000;"; "X-Rack-Cache" = "invalidate, pass"; "X-Request-Id" = 44ed353ea5dca46e20a1bacbf6770068; "X-Runtime" = "0.028466"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:14:56.948 LoomIn[997:266571] [QBCore] Response object: { session = { "_id" = 62849678; "application_id" = 56318; "created_at" = "2017-04-20T14:14:56Z"; id = 62849678; nonce = 664; token = 6527d577ff648b4d798739c61e9952bdd700dbfe; ts = 1492697695; "updated_at" = "2017-04-20T14:14:56Z"; "user_id" = 0; }; } 2017-04-20 19:14:56.960 LoomIn[997:266571] [QBCore] Request URL:https://api.quickblox.com/login.json 2017-04-20 19:14:56.960 LoomIn[997:266571] [QBCore] Request method: POST 2017-04-20 19:14:56.960 LoomIn[997:266571] [QBCore] Request parameters:{ provider = "twitter_digits"; "twitter_digits" = { "X-Auth-Service-Provider" = "https://api.digits.com/1.1/sdk/account.json"; "X-Verify-Credentials-Authorization" = "OAuth oauth_timestamp=\"1492697692\",oauth_version=\"1.0\",oauth_consumer_key=\"ofN849E2pqzbFiJ9oLrvncexY\",oauth_signature=\"laXsDIx36z8QKBc%2BdxkBYPSd9XY%3D\",oauth_token=\"841269494760726528-gZupMmMD0jTq3SI4pvj3c58VCNQ97XK\",oauth_nonce=\"D4650FA0-711E-405C-8D67-BC44DBD21A1D\",oauth_signature_method=\"HMAC-SHA1\""; }; } 2017-04-20 19:14:56.961 LoomIn[997:266571] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "Content-Type" = "application/x-www-form-urlencoded"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:14:58.865 LoomIn[997:266851] [QBCore] Response headers: { "Access-Control-Allow-Origin" = ""; "Cache-Control" = "no-cache"; Connection = "keep-alive"; "Content-Length" = 373; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:14:58 GMT"; "QB-Token-ExpirationDate" = "2017-04-20 16:14:56 +0000"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "202 Accepted"; "X-Rack-Cache" = "invalidate, pass"; "X-Request-Id" = 703ff4205a29c85bd4a2d13a126b9fef; "X-Runtime" = "0.163467"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:14:58.866 LoomIn[997:266851] [QBCore] Response object: { user = { "blob_id" = ""; "created_at" = "2017-04-20T14:14:58Z"; "custom_data" = ""; email = ""; "external_user_id" = ""; "facebook_id" = ""; "full_name" = ""; id = 26625573; "last_request_at" = ""; login = "+923084157642"; "owner_id" = 60854; phone = 923084157642; "twitter_digits_id" = 8412694947; "twitter_id" = ""; "updated_at" = "2017-04-20T14:14:58Z"; "user_tags" = ""; website = ""; }; } 2017-04-20 19:14:58.925368 LoomIn[997:265857] objDGTSession : 841269494760726528 2017-04-20 19:15:13.745 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:15:13.746 rtc::[RTCClient] Wating signaling channel 2017-04-20 19:15:13.785 LoomIn[997:266964] -[QBChat sendPresenceWithStatus:] -> return. You have to be logged in in order to use Chat API 2017-04-20 19:15:16.919399 LoomIn[997:265857] core with loginStatus Called 2017-04-20 19:15:16.923 LoomIn[997:266850] [QBCore] Request URL:https://api.quickblox.com/login.json 2017-04-20 19:15:16.924 LoomIn[997:266850] [QBCore] Request method: POST 2017-04-20 19:15:16.924 LoomIn[997:266850] [QBCore] Request parameters:{ provider = "twitter_digits"; "twitter_digits" = { "X-Auth-Service-Provider" = "https://api.digits.com/1.1/sdk/account.json"; "X-Verify-Credentials-Authorization" = "OAuth oauth_timestamp=\"1492697692\",oauth_version=\"1.0\",oauth_consumer_key=\"ofN849E2pqzbFiJ9oLrvncexY\",oauth_signature=\"laXsDIx36z8QKBc%2BdxkBYPSd9XY%3D\",oauth_token=\"841269494760726528-gZupMmMD0jTq3SI4pvj3c58VCNQ97XK\",oauth_nonce=\"D4650FA0-711E-405C-8D67-BC44DBD21A1D\",oauth_signature_method=\"HMAC-SHA1\""; }; } 2017-04-20 19:15:16.925 LoomIn[997:266850] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "Content-Type" = "application/x-www-form-urlencoded"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:15:17.622 LoomIn[997:266931] [QBCore] Response headers: { "Access-Control-Allow-Origin" = ""; "Cache-Control" = "no-cache"; Connection = "keep-alive"; "Content-Length" = 391; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:15:17 GMT"; "QB-Token-ExpirationDate" = "2017-04-20 16:14:58 +0000"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "202 Accepted"; "X-Rack-Cache" = "invalidate, pass"; "X-Request-Id" = b8ee63ee552c50140aa572c8e1e32474; "X-Runtime" = "0.129098"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:15:17.648 LoomIn[997:266931] [QBCore] Response object: { user = { "blob_id" = ""; "created_at" = "2017-04-20T14:14:58Z"; "custom_data" = ""; email = ""; "external_user_id" = ""; "facebook_id" = ""; "full_name" = ""; id = 26625573; "last_request_at" = "2017-04-20T14:15:17Z"; login = "+923084157642"; "owner_id" = 60854; phone = 923084157642; "twitter_digits_id" = 8412694947; "twitter_id" = ""; "updated_at" = "2017-04-20T14:15:17Z"; "user_tags" = ""; website = ""; }; } 2017-04-20 19:15:17.679825 LoomIn[997:265857] core with loginStatus Called 2017-04-20 19:15:17.688 LoomIn[997:266931] [Core] Set default chat endpoint for QBConnectionZoneTypeAutomatic 2017-04-20 19:15:17.699 LoomIn[997:266851] [ChatService] Connecting to Chat, host: chat.quickblox.com, user JID: 26625573-56318@chat.quickblox.com/403978D4-14FE-4C49-B2E9-D82E70314A2B 2017-04-20 19:15:20.185 LoomIn[997:266931] [ChatService] Stream isSecure: YES 2017-04-20 19:15:22.024 LoomIn[997:266964] [ChatService] Stream did connect, supportsStartTLS: YES 2017-04-20 19:15:22.536 LoomIn[997:266964] [ChatService] Did authenticate, user: 26625573 2017-04-20 19:15:22.542 rtc::[RTCClient] Signaling channel connected 2017-04-20 19:15:22.542794 LoomIn[997:265857] _user id : 26625573 2017-04-20 19:15:22.550 LoomIn[997:266964] [QBCore] Request URL:https://api.quickblox.com/users/26625573.json 2017-04-20 19:15:22.550 LoomIn[997:266964] [QBCore] Request method: PUT 2017-04-20 19:15:22.551 LoomIn[997:266964] [QBCore] Request parameters:{ user = { "full_name" = user2; "tag_list" = rm923084157642; }; } 2017-04-20 19:15:22.551 LoomIn[997:266964] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "Content-Type" = "application/x-www-form-urlencoded"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:15:22.551 LoomIn[997:266964] [ChatService] Presence SNT: 2017-04-20 19:15:22.551 LoomIn[997:266964] [ChatService] IQ SNT: 2017-04-20 19:15:23.258 LoomIn[997:266964] [QBCore] Response headers: { "Access-Control-Allow-Origin" = ""; "Cache-Control" = "max-age=0, private, must-revalidate"; Connection = "keep-alive"; "Content-Length" = 406; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:15:22 GMT"; Etag = "\"6fe9bf08ff927a1c5c76a17839e88bc1\""; "QB-Token-ExpirationDate" = "2017-04-20 16:15:17 +0000"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "200 OK"; "Strict-Transport-Security" = "max-age=15768000;"; "X-Rack-Cache" = "invalidate, pass"; "X-Request-Id" = a72c967f4e335929f14b4a7d4a95eb6d; "X-Runtime" = "0.136534"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:15:23.289 LoomIn[997:266964] [QBCore] Response object: { user = { "blob_id" = ""; "created_at" = "2017-04-20T14:14:58Z"; "custom_data" = ""; email = ""; "external_user_id" = ""; "facebook_id" = ""; "full_name" = user2; id = 26625573; "last_request_at" = "2017-04-20T14:15:17Z"; login = "+923084157642"; "owner_id" = 60854; phone = 923084157642; "twitter_digits_id" = 8412694947; "twitter_id" = ""; "updated_at" = "2017-04-20T14:15:22Z"; "user_tags" = rm923084157642; website = ""; }; } 2017-04-20 19:15:23.500 LoomIn[997:266964] [QBCore] Request URL:https://api.quickblox.com/blobs.json 2017-04-20 19:15:23.500 LoomIn[997:266964] [QBCore] Request method: POST 2017-04-20 19:15:23.501 LoomIn[997:266964] [QBCore] Request parameters:{ blob = { "content_type" = "image/jpeg"; name = "Me.png"; }; } 2017-04-20 19:15:23.501 LoomIn[997:266964] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "Content-Type" = "application/x-www-form-urlencoded"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:15:24.832 LoomIn[997:267004] [QBCore] Response headers: { "Access-Control-Allow-Origin" = ""; "Cache-Control" = "max-age=0, private, must-revalidate"; Connection = "keep-alive"; "Content-Length" = 1439; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:15:23 GMT"; Etag = "\"e56cc00cb9bfb974c9241720bfe1ef4c\""; "QB-Token-ExpirationDate" = "2017-04-20 16:15:17 +0000"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "201 Created"; "Strict-Transport-Security" = "max-age=15768000;"; "X-Rack-Cache" = "invalidate, pass"; "X-Request-Id" = 27ca1b02ee98250714f846529e45f807; "X-Runtime" = "0.209455"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:15:24.836 LoomIn[997:266931] [QBCore] Response object: { blob = { "account_id" = 60854; "app_id" = ""; "blob_object_access" = { "blob_id" = 7699478; expires = "2017-04-20T15:15:23Z"; id = 7699478; "object_access_type" = Write; params = "https://s3.amazonaws.com/qbprod?Content-Type=image%2Fjpeg&Expires=Thu%2C%2020%20Apr%202017%2015%3A15%3A23%20GMT&acl=authenticated-read&key=45ee8e8425754d5fb322467767a9b45500&policy=eyJleHBpcmF0aW9uIjoiMjAxNy0wNC0yMFQxNToxNToyM1oiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJxYnByb2QifSx7ImFjbCI6ImF1dGhlbnRpY2F0ZWQtcmVhZCJ9LHsiQ29udGVudC1UeXBlIjoiaW1hZ2UvanBlZyJ9LHsic3VjY2Vzc19hY3Rpb25fc3RhdHVzIjoiMjAxIn0seyJFeHBpcmVzIjoiVGh1LCAyMCBBcHIgMjAxNyAxNToxNToyMyBHTVQifSx7ImtleSI6IjQ1ZWU4ZTg0MjU3NTRkNWZiMzIyNDY3NzY3YTliNDU1MDAifSx7IngtYW16LWNyZWRlbnRpYWwiOiJBS0lBSVk3S0ZNMjNYR1hKN1I3QS8yMDE3MDQyMC91cy1lYXN0LTEvczMvYXdzNF9yZXF1ZXN0In0seyJ4LWFtei1hbGdvcml0aG0iOiJBV1M0LUhNQUMtU0hBMjU2In0seyJ4LWFtei1kYXRlIjoiMjAxNzA0MjBUMTQxNTIzWiJ9XX0%3D&success_action_status=201&x-amz-algorithm=AWS4-HMAC-SHA256&x-amz-credential=AKIAIY7KFM23XGXJ7R7A%2F20170420%2Fus-east-1%2Fs3%2Faws4_request&x-amz-date=20170420T141523Z&x-amz-signature=8bdde4d822886c67e4cd6331e9b218aeba814a9710950f09fbec6f6db0d87170"; }; "blob_status" = ""; "content_type" = "image/jpeg"; "created_at" = "2017-04-20T14:15:23Z"; id = 7699478; "last_read_access_ts" = ""; lifetime = 0; name = "Me.png"; public = 0; "ref_count" = 1; "set_completed_at" = ""; size = ""; uid = 45ee8e8425754d5fb322467767a9b45500; "updated_at" = "2017-04-20T14:15:23Z"; }; } 2017-04-20 19:15:24.842 LoomIn[997:266850] [QBCore] Request URL:https://s3.amazonaws.com/qbprod 2017-04-20 19:15:24.842 LoomIn[997:266850] [QBCore] Request method: POST 2017-04-20 19:15:24.846 LoomIn[997:266850] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "Content-Length" = 3487; "Content-Type" = "multipart/form-data; boundary=Boundary+3E27FA373B0988C6"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:15:25.272 LoomIn[997:266931] [ChatService] StreamManagement: enabled= 2017-04-20 19:15:25.274 LoomIn[997:267004] [ChatService] IQ RCV: jid>26625573-56318@chat.quickblox.com/403978D4-14FE-4C49-B2E9-D82E70314A2B</jid 2017-04-20 19:15:25.275 LoomIn[997:266851] [ChatService] IQ RCV: You must bind the resource first: http://www.xmpp.org/rfcs/rfc3920.html#bind 2017-04-20 19:15:25.275 LoomIn[997:266851] [ChatService] IQ RCV: Service not available. 2017-04-20 19:15:25.920 LoomIn[997:266850] [ChatService] Presence RCV: 2017-04-20 19:15:27.287 LoomIn[997:267067] [QBCore] Response headers: { "Content-Length" = 270; "Content-Type" = "application/xml"; Date = "Thu, 20 Apr 2017 14:15:27 GMT"; Etag = "\"39b93364370b846c60e0e1444e89a552\""; Location = "https://s3.amazonaws.com/qbprod/45ee8e8425754d5fb322467767a9b45500"; Server = AmazonS3; "x-amz-id-2" = "FPCKVo2xMGbGzKP378zoGYvpHHSAnC+9by/qh/Rk1DZUVwr/9TU2W1nD0fGArG2GLM9+tvHJ7Nw="; "x-amz-request-id" = 23E091AD2DDEE2D5; } 2017-04-20 19:15:27.287 LoomIn[997:267067] [QBCore] Response data with length 270 2017-04-20 19:15:27.289 LoomIn[997:267067] [QBCore] Request URL:https://api.quickblox.com/blobs/7699478/complete.json 2017-04-20 19:15:27.289 LoomIn[997:267067] [QBCore] Request method: PUT 2017-04-20 19:15:27.290 LoomIn[997:267067] [QBCore] Request parameters:{ blob = { size = 1700; }; } 2017-04-20 19:15:27.291 LoomIn[997:267067] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "Content-Type" = "application/x-www-form-urlencoded"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:15:28.070 LoomIn[997:266851] [QBCore] Response headers: { "Access-Control-Allow-Origin" = ""; "Cache-Control" = "max-age=0, private, must-revalidate"; Connection = "keep-alive"; "Content-Length" = 1; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:15:27 GMT"; Etag = "\"7215ee9c7d9dc229d2921a40e899ec5f\""; "QB-Token-ExpirationDate" = "2017-04-20 16:15:17 +0000"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "200 OK"; "Strict-Transport-Security" = "max-age=15768000;"; "X-Rack-Cache" = "invalidate, pass"; "X-Request-Id" = 40357b1d65fe55440b87457f168c5419; "X-Runtime" = "0.311551"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:15:28.073 LoomIn[997:266851] [QBCore] Request URL:https://api.quickblox.com/users/26625573.json 2017-04-20 19:15:28.074 LoomIn[997:266851] [QBCore] Request method: PUT 2017-04-20 19:15:28.074 LoomIn[997:266851] [QBCore] Request parameters:{ user = { "blob_id" = 7699478; "tag_list" = ""; }; } 2017-04-20 19:15:28.074 LoomIn[997:266851] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "Content-Type" = "application/x-www-form-urlencoded"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:15:28.587 LoomIn[997:266851] [QBCore] Response headers: { "Access-Control-Allow-Origin" = ""; "Cache-Control" = "max-age=0, private, must-revalidate"; Connection = "keep-alive"; "Content-Length" = 397; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:15:28 GMT"; Etag = "\"f2142889a18752c1db60df246220b59e\""; "QB-Token-ExpirationDate" = "2017-04-20 16:15:17 +0000"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "200 OK"; "Strict-Transport-Security" = "max-age=15768000;"; "X-Rack-Cache" = "invalidate, pass"; "X-Request-Id" = ca2cff79627bebe208b51c4a7ed3d0a5; "X-Runtime" = "0.103286"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:15:28.589 LoomIn[997:266851] [QBCore] Response object: { user = { "blob_id" = 7699478; "created_at" = "2017-04-20T14:14:58Z"; "custom_data" = ""; email = ""; "external_user_id" = ""; "facebook_id" = ""; "full_name" = user2; id = 26625573; "last_request_at" = "2017-04-20T14:15:17Z"; login = "+923084157642"; "owner_id" = 60854; phone = 923084157642; "twitter_digits_id" = 8412694947; "twitter_id" = ""; "updated_at" = "2017-04-20T14:15:28Z"; "user_tags" = ""; website = ""; }; } 2017-04-20 19:15:28.672 rtc::[RTCClient] Added <UsersViewController: 0x167e27b0> to list of delegates 2017-04-20 19:15:28.673 rtc::[RTCClient] List of Delegates ( "<UsersViewController: 0x167e27b0>" ) 2017-04-20 19:15:28.695229 LoomIn[997:265857] aray count is :0 2017-04-20 19:15:28.700 LoomIn[997:266851] [QBCore] Request URL:https://api.quickblox.com/users.json?filter%5B%5D=number%20id%20in%20&page=1&per_page=50 2017-04-20 19:15:28.701 LoomIn[997:266851] [QBCore] Request method: GET 2017-04-20 19:15:28.701 LoomIn[997:266851] [QBCore] Request parameters:{ "filter[]" = "number id in "; page = 1; "per_page" = 50; } 2017-04-20 19:15:28.702 LoomIn[997:266851] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:15:29.199 LoomIn[997:266964] [QBCore] Response headers: { "Access-Control-Allow-Origin" = "*"; "Cache-Control" = "max-age=0, private, must-revalidate"; Connection = "keep-alive"; "Content-Length" = 856; "Content-Type" = "application/json; charset=utf-8"; Date = "Thu, 20 Apr 2017 14:15:28 GMT"; Etag = "\"00693548bd77d28ab26c53d548433de7\""; "QB-Token-ExpirationDate" = "2017-04-20 16:15:17 +0000"; "QuickBlox-REST-API-Version" = "0.1.1"; Server = "openresty/1.9.15.1"; Status = "200 OK"; "Strict-Transport-Security" = "max-age=15768000;"; "X-Rack-Cache" = miss; "X-Request-Id" = 9afc7a4ffdb7bcd699db8cf41fe7b1f2; "X-Runtime" = "0.019588"; "X-UA-Compatible" = "IE=Edge,chrome=1"; } 2017-04-20 19:15:29.200 LoomIn[997:266964] [QBCore] Response object: { "current_page" = 1; items = ( { user = { "blob_id" = 7699353; "created_at" = "2017-042017-04-20 19:15:29.202040 LoomIn[997:265857] aray count is :0 -20T13:40:54Z"; "custom_data" = ""; email = ""; "external_user_id" = ""; "facebook_id" = ""; "full_name" = user1; id = 26624431; "last_request_at" = "2017-04-20T14:10:53Z"; login = "+923344435779"; "owner_id" = 60854; phone = 923344435779; "twitter_digits_id" = 8061270958; "twitter_id" = ""; "updated_at" = "2017-04-20T14:10:53Z"; "user_tags" = ""; website = ""; }; }, { user = { "blob_id" = 7699478; "created_at" = "2017-04-20T14:14:58Z"; "custom_data" = ""; email = ""; "external_user_id" = ""; "facebook_id" = ""; "full_name" = user2; id = 26625573; "last_request_at" = "2017-04-20T14:15:17Z"; login = "+923084157642"; "owner_id" = 60854; phone = 923084157642; "twitter_digits_id" = 8412694947; "twitter_id" = ""; "updated_at" = "2017-04-20T14:15:28Z"; "user_tags" = ""; website = ""; }; } ); "per_page" = 50; "total_entries" = 2; } 2017-04-20 19:15:29.211 LoomIn[997:266964] [QBCore] Response object: { "current_page" = 1; items = ( { user = { "blob_id" = 7699353; "created_at" = "2017-04-20T13:40:54Z"; "custom_data" = ""; email = ""; "external_user_id" = ""; "facebook_id" = ""; "full_name" = user1; id = 26624431; "last_request_at" = "2017-04-20T14:10:53Z"; login = "+923344435779"; "owner_id" = 60854; phone = 923344435779; "twitter_digits_id" = 8061270958; "twitter_id" = ""; "updated_at" = "2017-04-20T14:10:53Z"; "user_tags" = ""; website = ""; }; }, { user = { "blob_id" = 7699478; "created_at" = "2017-04-20T14:14:58Z"; "custom_data" = ""; email = ""; "external_user_id" = ""; "facebook_id" = ""; "full_name" = user2; id = 26625573; "last_request_at" = "2017-04-20T14:15:17Z"; login = "+923084157642"; "owner_id" = 60854; phone = 923084157642; "twitter_digits_id" = 8412694947; "twitter_id" = ""; "updated_at" = "2017-04-20T14:15:28Z"; "user_tags" = ""; website = ""; }; } ); "per_page" = 50; "total_entries" = 2; } 2017-04-20 19:15:29.236 LoomIn[997:266964] [QBCore] Request URL:https://api.quickblox.com/blobs/7699353/download 2017-04-20 19:15:29.236 LoomIn[997:266964] [QBCore] Request method: GET 2017-04-20 19:15:29.236 LoomIn[997:266964] [QBCore] Request parameters:(null) 2017-04-20 19:15:29.236 LoomIn[997:266964] [QBCore] Request headers: { "Accept-Language" = "en;q=1, en-US;q=0.9"; "QB-OS" = "iOS 10.1.1"; "QB-SDK" = "iOS 2.9"; "QB-Token" = 6527d577ff648b4d798739c61e9952bdd700dbfe; "QuickBlox-REST-API-Version" = "0.1.1"; "User-Agent" = "LoomIn/1.0 (iPhone; iOS 10.1.1; Scale/2.00)"; } 2017-04-20 19:15:29.261 LoomIn[997:266851] [ChatService] Presence SNT: 2017-04-20 19:15:29.262 LoomIn[997:266851] [ChatService] Presence SNT: 2017-04-20 19:15:29.262 LoomIn[997:266851] [ChatService] IQ SNT: 2017-04-20 19:15:29.270 LoomIn[997:266851] [ChatService] Presence SNT: 2017-04-20 19:15:29.272 LoomIn[997:266851] [ChatService] Presence SNT: 2017-04-20 19:15:29.273 LoomIn[997:266851] [ChatService] Presence SNT: 2017-04-20 19:15:29.274 LoomIn[997:266851] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:15:29.274 LoomIn[997:266851] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:15:29.279 LoomIn[997:266851] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:15:29.284 LoomIn[997:266851] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:15:29.284 LoomIn[997:266851] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:15:29.716 LoomIn[997:266850] [ChatService] IQ RCV: 2017-04-20 19:15:29.718063 LoomIn[997:265857] user1 added in contact list 2017-04-20 19:15:29.718242 LoomIn[997:265857] user1 confirmed added in contact list 2017-04-20 19:15:29.718379 LoomIn[997:265857] user2 added in contact list 2017-04-20 19:15:29.718508 LoomIn[997:265857] user2 confirmed added in contact list 2017-04-20 19:15:29.718 LoomIn[997:267004] [ChatService] StreamManagement: did receive acknowledgments for stanza ids count: 6 2017-04-20 19:15:29.719 LoomIn[997:267004] [ChatService] Presence RCV: You can not subscribe to yourself. 2017-04-20 19:15:29.722 LoomIn[997:267004] [ChatService] Presence RCV: You can not subscribe to yourself. 2017-04-20 19:15:30.236 LoomIn[997:266964] [ChatService] IQ RCV: 2017-04-20 19:15:30.237 LoomIn[997:266851] [ChatService] IQ RCV: 2017-04-20 19:15:34.200719 LoomIn[997:265857] download progress: 1.000000 2017-04-20 19:15:34.205 LoomIn[997:266850] [QBCore] Response headers: { "Accept-Ranges" = bytes; "Content-Length" = 1707; "Content-Type" = "image/jpeg"; Date = "Thu, 20 Apr 2017 14:15:34 GMT"; Etag = "\"5c51bdb3759dcc225638a2cf499f0d1d\""; Expires = "Thu, 20 Apr 2017 14:41:15 GMT"; "Last-Modified" = "Thu, 20 Apr 2017 13:41:26 GMT"; Server = AmazonS3; "x-amz-id-2" = "6+KR4W3vLSRjlm4zd3gV89owS7v4HXF5pGBBLIqqqF0eeWpeAm4mpyXgcaHq5VT5tK3LoMHhVtY="; "x-amz-request-id" = C3AE41CC127B4BDE; } 2017-04-20 19:15:34.205 LoomIn[997:266850] [QBCore] Response data with length 1707 2017-04-20 19:15:51.310 LoomIn[997:267068] [ChatService] Presence RCV: 2017-04-20 19:15:51.825 LoomIn[997:267093] [ChatService] Presence RCV: 2017-04-20 19:15:51.825 LoomIn[997:267093] [ChatService] IQ RCV: 2017-04-20 19:15:51.826 LoomIn[997:267093] [ChatService] Presence RCV: 2017-04-20 19:15:51.826 LoomIn[997:267093] [ChatService] Presence RCV: 2017-04-20 19:15:51.830 LoomIn[997:267093] [ChatService] Presence SNT: 2017-04-20 19:15:51.830 LoomIn[997:267093] [ChatService] IQ SNT: 2017-04-20 19:15:51.832 LoomIn[997:267093] [ChatService] Presence SNT: 2017-04-20 19:15:51.832 LoomIn[997:267093] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:15:53.431254 LoomIn[997:265857] 394733488 confirmed added 2017-04-20 19:15:53.431 LoomIn[997:267092] [ChatService] StreamManagement: did receive acknowledgments for stanza ids count: 2 2017-04-20 19:15:53.978 LoomIn[997:267068] [ChatService] IQ RCV: 2017-04-20 19:15:53.980 LoomIn[997:267066] [ChatService] IQ RCV: 2017-04-20 19:15:53.981 LoomIn[997:267066] [ChatService] IQ RCV: 2017-04-20 19:15:53.986 LoomIn[997:266850] [ChatService] Presence SNT: 2017-04-20 19:15:53.987 LoomIn[997:266850] [ChatService] IQ SNT: 2017-04-20 19:15:53.987 LoomIn[997:266850] [ChatService] Presence SNT: 2017-04-20 19:15:53.987 LoomIn[997:266850] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:16:01.550547 LoomIn[997:265857] 376761584 confirmed added 2017-04-20 19:16:01.550 LoomIn[997:267066] [ChatService] StreamManagement: did receive acknowledgments for stanza ids count: 2 2017-04-20 19:16:02.052 LoomIn[997:267068] [ChatService] IQ RCV: 2017-04-20 19:16:02.053 LoomIn[997:267068] [ChatService] IQ RCV: 2017-04-20 19:16:02.053 LoomIn[997:267068] [ChatService] IQ RCV: 2017-04-20 19:16:02.059 LoomIn[997:267066] [ChatService] Presence SNT: 2017-04-20 19:16:02.059 LoomIn[997:267066] [ChatService] IQ SNT: 2017-04-20 19:16:02.059 LoomIn[997:267066] [ChatService] Presence SNT: 2017-04-20 19:16:02.060 LoomIn[997:267126] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:16:13.635574 LoomIn[997:265857] 375555488 confirmed added 2017-04-20 19:16:13.635 LoomIn[997:267127] [ChatService] IQ RCV: 2017-04-20 19:16:13.635 LoomIn[997:267127] [ChatService] StreamManagement: did receive acknowledgments for stanza ids count: 2 2017-04-20 19:16:13.637 LoomIn[997:267150] [ChatService] IQ RCV: 2017-04-20 19:16:13.638 LoomIn[997:267151] [ChatService] IQ RCV: 2017-04-20 19:16:13.643 LoomIn[997:267151] [ChatService] Presence SNT: 2017-04-20 19:16:13.643 LoomIn[997:267151] [ChatService] IQ SNT: 2017-04-20 19:16:13.644 LoomIn[997:267151] [ChatService] Presence SNT: 2017-04-20 19:16:13.644 LoomIn[997:267151] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:16:17.625902 LoomIn[997:265857] 376780832 confirmed added 2017-04-20 19:16:17.626 LoomIn[997:267068] [ChatService] StreamManagement: did receive acknowledgments for stanza ids count: 2 2017-04-20 19:16:19.678 LoomIn[997:267152] [ChatService] IQ RCV: 2017-04-20 19:16:19.679 LoomIn[997:267166] [ChatService] IQ RCV: 2017-04-20 19:16:19.679 LoomIn[997:267166] [ChatService] IQ RCV: 2017-04-20 19:16:19.684 LoomIn[997:267068] [ChatService] Presence SNT: 2017-04-20 19:16:19.686 LoomIn[997:267068] [ChatService] IQ SNT: 2017-04-20 19:16:19.686 LoomIn[997:267068] [ChatService] Presence SNT: 2017-04-20 19:16:19.686 LoomIn[997:267068] [ChatService] StreamManagement: did request acknowledgment 2017-04-20 19:16:22.236735 LoomIn[997:265857] 375513312 confirmed added 2017-04-20 19:16:22.237 LoomIn[997:267166] [ChatService] StreamManagement: did receive acknowledgments for stanza ids count: 2 2017-04-20 19:16:22.550056 LoomIn[997:265857] userID 26624431 2017-04-20 19:16:22.550491 LoomIn[997:265857] userID 26624431 2017-04-20 19:16:22.647 LoomIn[997:267068] [ChatService] IQ RCV: 2017-04-20 19:16:22.648 LoomIn[997:267167] [ChatService] IQ RCV: 2017-04-20 19:16:22.649 LoomIn[997:267167] [ChatService] IQ RCV: 2017-04-20 19:16:56.750 LoomIn[997:267209] [ChatService] Presence RCV: Away 2017-04-20 19:17:05.756 LoomIn[997:267170] [ChatService] Presence RCV: Online 2017-04-20 19:17:08.666 rtc::[RTCClient] Initializing SSL... 2017-04-20 19:17:08.666 rtc::[RTCClient] Signaling channel connected 2017-04-20 19:17:08.678 rtc::Create audio track: RTCMediaStreamTrack: kind:audio, id:audioTrack, enabled, state:Live 2017-04-20 19:17:08.681 rtc::[VSND] Init. 2017-04-20 19:17:08.685 rtc::[VSND] Start 2017-04-20 19:17:08.692 rtc::Create video track: RTCMediaStreamTrack: kind:video, id:videoTrack, enabled, state:Live 2017-04-20 19:17:08.695 rtc::[SESS]<DDE7849B-0B73-4346-BF02-4427829C9954, I:26625573, O:[26624431], T:V> Init 2017-04-20 19:17:08.695 rtc::[RTCClient] <QBRTCClient: 0x16650c90> created new [SESS]<DDE7849B-0B73-4346-BF02-4427829C9954, I:26625573, O:[26624431], T:V> 2017-04-20 19:17:27.847 rtc::[RTCClient] Added <CallViewController: 0x178e8b40> to list of delegates 2017-04-20 19:17:27.847 rtc::[RTCClient] List of Delegates ( "<UsersViewController: 0x167e27b0>", "<CallViewController: 0x178e8b40>" ) 2017-04-20 19:17:27.864 LoomIn[997:267170] [ChatService] Presence SNT: Online 2017-04-20 19:17:27.865 LoomIn[997:267170] [ChatService] Presence RCV: Online 2017-04-20 19:17:27.886 rtc::Initializing QBRTCCameraCapture with video format: <QBRTCVideoFormat:0x1654a100, dimensions: 640x480, frame rate: 30, pixel format: 420f> 2017-04-20 19:17:27.889 rtc::Starting QBRTCCameraCapture capture session. 2017-04-20 19:17:27.890 rtc::Initializing QBRTCAudioSession using configuration: <QBRTCAudioSessionConfiguration: 0x166d0120, Category: AVAudioSessionCategoryPlayAndRecord, Category options: 102, Mode: AVAudioSessionModeVideoChat> 2017-04-20 19:17:27.904 rtc::Updating device: <AVCaptureFigVideoDevice: 0x167d4900 [Front Camera][com.apple.avfoundation.avcapturedevice.built-in_video:1]> with video format: <AVCaptureDeviceFormat: 0x167ea600 'vide'/'420f' 640x 480, { 2- 30 fps}, fov:54.370, max zoom:60.00 (upscales @2.00), ISO:29.0-928.0, SS:0.000028-0.500000> 2017-04-20 19:17:28.328 rtc::Current audio device was updated to Speaker 2017-04-20 19:17:28.336 rtc::[SESS]<DDE7849B-0B73-4346-BF02-4427829C9954, I:26625573, O:[26624431], T:V> Start call 2017-04-20 19:17:28.369 rtc::QBRTCCameraCapture did set video track. 2017-04-20 19:17:28.387 rtc::Created local media stream Media stream: ID=com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] A=1 V=1 2017-04-20 19:17:28.411 rtc::[PCON]<26624431, R:Offer> Negotiation 2017-04-20 19:17:28.412 rtc::[PCON]<26624431, R:Offer> Create offer 2017-04-20 19:17:28.415 rtc::[TASK]<ID:32, l:Stats report> Start. 2017-04-20 19:17:28.502 rtc::[PCON]<26624431, R:Offer> Signaling state HAVE_LOCAL_OFFER 2017-04-20 19:17:28.513 rtc::QBRTCAudioSession switched from Speaker to Speaker port. Reason: The category of the session object changed or session was just activated. 2017-04-20 19:17:28.539 rtc::[PCON]<26624431, R:Offer> SND offer SDP 2017-04-20 19:17:28.550 LoomIn[997:267317] [ChatService] Message SNT: 126624431v=0 o=- 6580400665816817222 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 102 0 8 105 13 110 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:4PxB a=ice-pwd:oCSjzVdSBZwSSVC3Re4Eg/IS a=fingerprint:sha-256 46:4E:DF:C9:35:40:11:80:96:1C:5C:96:6A:4D:D1:97:85:68:88:1A:11:5E:DF:6E:6C:9D:4E:80:8F:64:92:33 a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:9 G722/8000 a=rtpmap:102 ILBC/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:2600670267 cname:C9F8GOrmymcZujOg a=ssrc:2600670267 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] audioTrack a=ssrc:2600670267 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] a=ssrc:2600670267 label:audioTrack m=video 9 UDP/TLS/RTP/SAVPF 101 96 98 100 97 99 127 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:4PxB a=ice-pwd:oCSjzVdSBZwSSVC3Re4Eg/IS a=fingerprint:sha-256 46:4E:DF:C9:35:40:11:80:96:1C:5C:96:6A:4D:D1:97:85:68:88:1A:11:5E:DF:6E:6C:9D:4E:80:8F:64:92:33 a=setup:actpass a=mid:video a=extmap:2 urn:ietf:params:rtp-hdrext:toffset a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:4 urn:3gpp:video-orientation a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8/90000 a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtpmap:98 red/90000 a=rtpmap:100 ulpfec/90000 a=rtpmap:101 H264/90000 a=rtcp-fb:101 ccm fir a=rtcp-fb:101 nack a=rtcp-fb:101 nack pli a=rtcp-fb:101 goog-remb a=rtcp-fb:101 transport-cc a=fmtp:101 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:127 rtx/90000 a=fmtp:127 apt=101 a=ssrc-group:FID 566572557 1857213009 a=ssrc:566572557 cname:C9F8GOrmymcZujOg a=ssrc:566572557 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] videoTrack a=ssrc:566572557 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] a=ssrc:566572557 label:videoTrack a=ssrc:1857213009 cname:C9F8GOrmymcZujOg a=ssrc:1857213009 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] videoTrack a=ssrc:1857213009 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] a=ssrc:1857213009 label:videoTrack WebRTCVideoChatDDE7849B-0B73-4346-BF02-4427829C995426625573ioscallhttp.quickblox.comTest"1,2,3,4"2.3 2017-04-20 19:17:28.560 rtc::[TASK]<ID:33, l:com.quickblox.connection.dialing.timer> Start. 2017-04-20 19:17:28.562 rtc::[PCON]<26624431, R:Offer> Did change ice gethering state to GATHERING 2017-04-20 19:17:28.710 rtc::[PCON]<26624431, R:Offer> Did change ice gethering state to COMPLETE 2017-04-20 19:17:28.844 rtc::Capture session started. 2017-04-20 19:17:33.640 rtc::[PCON]<26624431, R:Offer> SND offer SDP 2017-04-20 19:17:33.645 LoomIn[997:267245] [ChatService] Message SNT: 126624431v=0 o=- 6580400665816817222 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 102 0 8 105 13 110 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:4PxB a=ice-pwd:oCSjzVdSBZwSSVC3Re4Eg/IS a=fingerprint:sha-256 46:4E:DF:C9:35:40:11:80:96:1C:5C:96:6A:4D:D1:97:85:68:88:1A:11:5E:DF:6E:6C:9D:4E:80:8F:64:92:33 a=setup:actpass a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:9 G722/8000 a=rtpmap:102 ILBC/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:2600670267 cname:C9F8GOrmymcZujOg a=ssrc:2600670267 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] audioTrack a=ssrc:2600670267 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] a=ssrc:2600670267 label:audioTrack m=video 9 UDP/TLS/RTP/SAVPF 101 96 98 100 97 99 127 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:4PxB a=ice-pwd:oCSjzVdSBZwSSVC3Re4Eg/IS a=fingerprint:sha-256 46:4E:DF:C9:35:40:11:80:96:1C:5C:96:6A:4D:D1:97:85:68:88:1A:11:5E:DF:6E:6C:9D:4E:80:8F:64:92:33 a=setup:actpass a=mid:video a=extmap:2 urn:ietf:params:rtp-hdrext:toffset a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:4 urn:3gpp:video-orientation a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8/90000 a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtpmap:98 red/90000 a=rtpmap:100 ulpfec/90000 a=rtpmap:101 H264/90000 a=rtcp-fb:101 ccm fir a=rtcp-fb:101 nack a=rtcp-fb:101 nack pli a=rtcp-fb:101 goog-remb a=rtcp-fb:101 transport-cc a=fmtp:101 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:127 rtx/90000 a=fmtp:127 apt=101 a=ssrc-group:FID 566572557 1857213009 a=ssrc:566572557 cname:C9F8GOrmymcZujOg a=ssrc:566572557 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] videoTrack a=ssrc:566572557 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] a=ssrc:566572557 label:videoTrack a=ssrc:1857213009 cname:C9F8GOrmymcZujOg a=ssrc:1857213009 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] videoTrack a=ssrc:1857213009 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] a=ssrc:1857213009 label:videoTrack WebRTCVideoChatDDE7849B-0B73-4346-BF02-4427829C995426625573ioscallhttp.quickblox.comTest"1,2,3,4"2.3 2017-04-20 19:17:37.501 LoomIn[997:267245] [ChatService] Message RCV: 126624431v=0 o=- 5139962485984835858 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS com.quickblox.mediastream.device-iphone5,2_ios-10.2_userid-26624431] m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 102 0 8 105 13 110 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:ue+2 a=ice-pwd:tn/s+HnHtvskrKNfZTtNP6J3 a=fingerprint:sha-256 F1:A8:E6:C7:85:32:DB:4B:9F:E2:76:DB:47:9C:63:F0:BA:3B:6B:DF:4F:E7:E9:81:C3:43:3B:9F:1C:C6:C9:CC a=setup:active a=mid:audio a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=sendrecv a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc a=fmtp:111 minptime=10;useinbandfec=1 a=rtpmap:103 ISAC/16000 a=rtpmap:9 G722/8000 a=rtpmap:102 ILBC/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:110 telephone-event/48000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 a=ssrc:3901488846 cname:ZEl+/q33i3Ss2mCv a=ssrc:3901488846 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.2_userid-26624431] audioTrack a=ssrc:3901488846 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.2_userid-26624431] a=ssrc:3901488846 label:audioTrack m=video 9 UDP/TLS/RTP/SAVPF 101 96 98 100 97 99 127 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:ue+2 a=ice-pwd:tn/s+HnHtvskrKNfZTtNP6J3 a=fingerprint:sha-256 F1:A8:E6:C7:85:32:DB:4B:9F:E2:76:DB:47:9C:63:F0:BA:3B:6B:DF:4F:E7:E9:81:C3:43:3B:9F:1C:C6:C9:CC a=setup:active a=mid:video a=extmap:2 urn:ietf:params:rtp-hdrext:toffset a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:4 urn:3gpp:video-orientation a=extmap:5 htt2017-04-20 19:17:37.504 rtc::[Signaling Processor] - Did receive signal: accept from: 26624431 p://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:101 H264/90000 a=rtcp-fb:101 ccm fir a=rtcp-fb:101 nack a=rtcp-fb:101 nack pli a=rtcp-fb:101 goog-remb a=rtcp-fb:101 transport-cc a=fmtp:101 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=rtpmap:96 VP8/90000 a=rtcp-fb:96 ccm fir a=rtcp-fb:96 nack a=rtcp-fb:96 nack pli a=rtcp-fb:96 goog-remb a=rtcp-fb:96 transport-cc a=rtpmap:98 red/90000 a=rtpmap:100 ulpfec/90000 a=rtpmap:97 rtx/90000 a=fmtp:97 apt=96 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=98 a=rtpmap:127 rtx/90000 a=fmtp:127 apt=101 a=ssrc-group:FID 2893748853 2146691208 a=ssrc:2893748853 cname:ZEl+/q33i3Ss2mCv a=ssrc:2893748853 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.2_userid-26624431] videoTrack a=ssrc:2893748853 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.2_userid-26624431] a=ssrc:2893748853 label:videoTrack a=ssrc:2146691208 cname:ZEl+/q33i3Ss2mCv a=ssrc:2146691208 msid:com.quickblox.mediastream.device-iphone5,2_ios-10.2_userid-26624431] videoTrack a=ssrc:2146691208 mslabel:com.quickblox.mediastream.device-iphone5,2_ios-10.2_userid-26624431] a=ssrc:2146691208 label:videoTrack WebRTCVideoChatDDE7849B-0B73-4346-BF02-4427829C995426625573iosacceptuserInfo2.3 2017-04-20 19:17:37.517 rtc::[PCON]<26624431, R:Offer> Signaling state STABLE 2017-04-20 19:17:38.058 rtc::QBRTCAudioSession switched from Speaker to Speaker port. Reason: The set of input and output ports has not changed, but their configuration port’s selected data source might has changed. 2017-04-20 19:17:38.192 rtc::[PCON]<26624431, R:Offer> Did change ice connection state to CHECKING 2017-04-20 19:17:38.202 rtc::com.quickblox.connection.dialing.timer Stopped 2017-04-20 19:17:38.202 rtc::[TASK]<ID:33, l:com.quickblox.connection.dialing.timer> Invalidate. 2017-04-20 19:17:38.207 rtc::[PCON]<26624431, R:Offer> Receive remote audio track 2017-04-20 19:17:38.207 rtc::[PCON]<26624431, R:Offer> Receive remote video track 2017-04-20 19:17:38.210 rtc::[TASK]<ID:0, l:com.quickblox.connection.dialing.timer> Dealloc. 2017-04-20 19:17:38.211 rtc::[PCON]<26624431, R:Offer> Set Answer SDP (null) 2017-04-20 19:17:38.404 LoomIn[997:267317] [ChatService] Message SNT: 126624431WebRTCVideoChat26625573DDE7849B-0B73-4346-BF02-4427829C9954ios0audiocandidate:518581652 1 udp 2122260223 192.168.8.114 58513 typ host generation 0 ufrag 4PxB network-id 1 network-cost 101videocandidate:518581652 1 udp 2122260223 192.168.8.114 62703 typ host generation 0 ufrag 4PxB network-id 1 network-cost 100audiocandidate:1349194084 1 tcp 1518280447 192.168.8.12017-04-20 19:17:38.405 rtc::[Signaling Processor] - Did receive signal: iceCandidates from: 26624431 14 58736 typ host tcptype passive generation 0 ufrag 4PxB network-id 1 network-cost 101videocandidate:1349194084 1 tcp 1518280447 192.168.8.114 58737 typ host tcptype passive generation 0 ufrag 4PxB network-id 1 network-cost 10iceCandidates2.3 2017-04-20 19:17:38.408 LoomIn[997:267317] [ChatService] Message RCV: 126624431WebRTCVideoChat26625573DDE7849B-0B73-4346-BF02-4427829C9954ios0audiocandidate:1433309914 1 udp 2122260223 192.168.10.9 58717 typ host generation 0 ufrag ue+2 network-id 1 network-cost 10iceCandidates2.3 2017-04-20 19:17:38.409 rtc::[PCON]<26624431, R:Offer> Set remote ICE candidates, count: 1 2017-04-20 19:17:38.430778 LoomIn[997:265857] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x17830a50> to GL_RENDERBUFFER 1 2017-04-20 19:17:38.430968 LoomIn[997:265857] Failed to make complete framebuffer object 8cd6 2017-04-20 19:17:41.134 LoomIn[997:267317] [ChatService] Message RCV: 126624431WebRTCVideoChat26625573DDE7849B-0B73-4346-BF02-4427829C9954ios0audiocandidate:468545066 1 tcp 1518280447 192.168.10.9 55225 typ host tcptype passive generation 0 ufrag ue+2 network-id 1 network-cost 10iceCandidates2.3 2017-04-20 19:17:41.137 rtc::[Signaling Processor] - Did receive signal: iceCandidates from: 26624431 2017-04-20 19:17:41.138 rtc::[PCON]<26624431, R:Offer> Set remote ICE candidates, count: 1 2017-04-20 19:17:41.138 LoomIn[997:267317] [ChatService] Presence RCV: Online 2017-04-20 19:17:50.434 rtc::[SESS]<DDE7849B-0B73-4346-BF02-4427829C9954, I:26625573, O:[26624431], T:V> Hang Up call 2017-04-20 19:17:50.434 rtc::[SESS]<DDE7849B-0B73-4346-BF02-4427829C9954, I:26625573, O:[26624431], T:V> Begin hangup, userinfo: { hangup = "hang up"; }. 2017-04-20 19:17:50.435 rtc::[PCON]<26624431, R:Offer> Closing 2017-04-20 19:17:50.440 rtc::[PCON]<26624431, R:Offer> Did change ice connection state to CLOSED 2017-04-20 19:17:50.440 rtc::[PCON]<26624431, R:Offer> Signaling state CLOSED 2017-04-20 19:17:50.907 rtc::QBRTCAudioSession switched from Speaker to Speaker port. Reason: The set of input and output ports has not changed, but their configuration port’s selected data source might has changed. 2017-04-20 19:17:50.924 rtc::dealloc QBRTCAudioTrack 2017-04-20 19:17:50.924 rtc::dealloc QBRTCVideoTrack 2017-04-20 19:17:50.926 LoomIn[997:267170] [ChatService] Message SNT: 126624431WebRTCVideoChat26625573DDE7849B-0B73-4346-BF02-4427829C9954ioshangUphang up2.3 2017-04-20 19:17:50.927 rtc::[TASK]<ID:32, l:Stats report> Invalidate. 2017-04-20 19:17:50.927 rtc::Deallocating local media stream. 2017-04-20 19:17:50.929 rtc::QBRTCCameraCapture did remove from video track. 2017-04-20 19:17:50.929 rtc::dealloc QBRTCLocalVideoTrack 2017-04-20 19:17:50.929 rtc::dealloc QBRTCLocalAudioTrack 2017-04-20 19:17:50.934 rtc::[VSND] Stop 2017-04-20 19:17:50.938 rtc::[TASK]<ID:0, l:Stats report> Dealloc. 2017-04-20 19:17:50.939 rtc::Stopping QBRTCCameraCapture capture session. 2017-04-20 19:17:51.787 rtc::Capture session stopped. 2017-04-20 19:17:52.627006 LoomIn[997:265857] dealloc - <CallViewController: 0x178e8b40> 2017-04-20 19:17:52.656 rtc::dealloc - [CAMC]<QBRTCCameraCapture 0x178ebbb0> 2017-04-20 19:18:03.373 rtc::Create audio track: RTCMediaStreamTrack: kind:audio, id:audioTrack, enabled, state:Live 2017-04-20 19:18:03.373 rtc::[VSND] Init. 2017-04-20 19:18:03.374 rtc::[VSND] Start 2017-04-20 19:18:03.375 rtc::Create video track: RTCMediaStreamTrack: kind:video, id:videoTrack, enabled, state:Live 2017-04-20 19:18:03.375 rtc::[SESS]<24D0E529-7D91-4DD8-808E-B0CA5E3AACC0, I:26625573, O:[], T:V> Init 2017-04-20 19:18:03.376 rtc::[RTCClient] <QBRTCClient: 0x16650c90> created new [SESS]<24D0E529-7D91-4DD8-808E-B0CA5E3AACC0, I:26625573, O:[], T:V> 2017-04-20 19:18:12.831 rtc::[RTCClient] Added <CallViewController: 0x178e8b40> to list of delegates 2017-04-20 19:18:12.832 rtc::[RTCClient] List of Delegates ( "<UsersViewController: 0x167e27b0>", "<CallViewController: 0x178e8b40>" ) 2017-04-20 19:18:12.858 rtc::Initializing QBRTCCameraCapture with video format: <QBRTCVideoFormat:0x1654a100, dimensions: 640x480, frame rate: 30, pixel format: 420f> 2017-04-20 19:18:12.862 rtc::Starting QBRTCCameraCapture capture session. 2017-04-20 19:18:12.863 rtc::Initializing QBRTCAudioSession using configuration: <QBRTCAudioSessionConfiguration: 0x165812b0, Category: AVAudioSessionCategoryPlayAndRecord, Category options: 102, Mode: AVAudioSessionModeVideoChat> 2017-04-20 19:18:12.874 rtc::Updating device: <AVCaptureFigVideoDevice: 0x167d4900 [Front Camera][com.apple.avfoundation.avcapturedevice.built-in_video:1]> with video format: <AVCaptureDeviceFormat: 0x167ea600 'vide'/'420f' 640x 480, { 2- 30 fps}, fov:54.370, max zoom:60.00 (upscales @2.00), ISO:29.0-928.0, SS:0.000028-0.500000> 2017-04-20 19:18:13.267 rtc::Current audio device was updated to Speaker 2017-04-20 19:18:13.268 rtc::[SESS]<24D0E529-7D91-4DD8-808E-B0CA5E3AACC0, I:26625573, O:[], T:V> Start call 2017-04-20 19:18:13.290 rtc::Created local media stream Media stream: ID=com.quickblox.mediastream.device-iphone5,2_ios-10.1.1_userid-26625573] A=1 V=1 2017-04-20 19:18:13.291 rtc::[TASK]<ID:34, l:Stats report> Start. 2017-04-20 19:18:13.293 rtc::QBRTCCameraCapture did set video track. 2017-04-20 19:18:13.474 rtc::QBRTCAudioSession switched from Speaker to Speaker port. Reason: The category of the session object changed or session was just activated. 2017-04-20 19:18:13.825 rtc::Capture session started. 2017-04-20 19:18:19.154 rtc::[SESS]<24D0E529-7D91-4DD8-808E-B0CA5E3AACC0, I:26625573, O:[], T:V> Hang Up call 2017-04-20 19:18:19.154 rtc::[SESS]<24D0E529-7D91-4DD8-808E-B0CA5E3AACC0, I:26625573, O:[], T:V> Begin hangup, userinfo: { hangup = "hang up"; }. 2017-04-20 19:18:19.633 rtc::[SESS]<24D0E529-7D91-4DD8-808E-B0CA5E3AACC0, I:26625573, O:[], T:V> Hang Up call 2017-04-20 19:18:20.734 rtc::[SESS]<24D0E529-7D91-4DD8-808E-B0CA5E3AACC0, I:26625573, O:[], T:V> Hang Up call 2017-04-20 19:18:21.100 rtc::[SESS]<24D0E529-7D91-4DD8-808E-B0CA5E3AACC0, I:26625573, O:[], T:V> Hang Up call

Raikerian commented 7 years ago

After you hang up session for the first time, it is starting it's own close process. You cannot use same session for multiple calls therefore you cannot hangup 1 session multiple times. You need to create new session every time you want to initiate call with opponent user.