Skip to content

Instantly share code, notes, and snippets.

@vineeshtp
Created March 31, 2018 01:17
Show Gist options
  • Save vineeshtp/81318a0a7d3c5e8ad792512a606a8a5a to your computer and use it in GitHub Desktop.
Save vineeshtp/81318a0a7d3c5e8ad792512a606a8a5a to your computer and use it in GitHub Desktop.
Call error
Granted
2018-03-31 06:42:58.097 rtc::[RTCClient] Initializing SSL...
2018-03-31 06:42:58.098 rtc::Create audio track: RTCMediaStreamTrack: kind:audio, id:audioTrack, enabled, state:Live
2018-03-31 06:42:58.099 rtc::[SESS]<B113AAB6-9C26-41DA-9A93-C19D2A7F8182, I:45669013, O:[45731476], T:A> Init.
2018-03-31 06:42:58.099 rtc::[RTCClient] <QBRTCClient: 0x1042e54d0> created new [SESS]<B113AAB6-9C26-41DA-9A93-C19D2A7F8182, I:45669013, O:[45731476], T:A>
2018-03-31 06:42:58.101 rtc::[RTCClient] Added <CallViewController: 0x10b73f9b0> to list of delegates
2018-03-31 06:42:58.101 rtc::[RTCClient] List of Delegates (
"<VideoChat.HomeViewController: 0x1080eca50>",
"<CallViewController: 0x10b73f9b0>"
)
2018-03-31 06:42:58.128842+0530 VideoChat[5161:1454488] [QBCore]: Request[6]:
POST URL:https://api.quickblox.com/events.json
headers: {
"Accept-Language" = "en-IN;q=1";
"Content-Type" = "application/x-www-form-urlencoded";
"QB-OS" = "iOS 11.2.5";
"QB-SDK" = "iOS 2.16";
"QB-Token" = a0f61286a7b1ec88efd353ade5bec969df010e59;
"QuickBlox-REST-API-Version" = "0.1.1";
"User-Agent" = "VideoChat/1.0 (iPhone; iOS 11.2.5; Scale/2.00)";
}
parameters: {
event = {
environment = development;
"event_type" = "one_shot";
message = "ewogICJWT0lQQ2FsbCIgOiAiMSIsCiAgImlvc192b2lwIiA6ICIxIiwKICAibWVzc2FnZSIgOiAiT3B0aW9uYWwoXCJTYWFtXCIpIGlzIGNhbGxpbmcgeW91LiIKfQ==";
"notification_type" = push;
user = {
ids = 45731476;
};
};
}
2018-03-31 06:42:58.133 rtc::[QBRTCAudioSession] Initializing QBRTCAudioSession using configuration: <QBRTCAudioSessionConfiguration: 0x1085b5bf0, Category: AVAudioSessionCategoryPlayAndRecord, Category options: 102, Mode: AVAudioSessionModeVoiceChat>
2018-03-31 06:42:58.413 rtc::[QBRTCAudioSession] Current audio device was updated to Receiver
2018-03-31 06:42:58.417 rtc::[SESS]<B113AAB6-9C26-41DA-9A93-C19D2A7F8182, I:45669013, O:[45731476], T:A> Accept call
2018-03-31 06:42:58.477 rtc::Created local media stream Media stream: ID=com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013] A=1 V=0
2018-03-31 06:42:58.480 rtc::[PCON]<45731476, R:Offer> Negotiation
2018-03-31 06:42:58.480 rtc::[PCON]<45731476, R:Offer> Create offer
2018-03-31 06:42:58.484 rtc::[PCON]<45731476, R:Offer> Signaling state HAVE_LOCAL_OFFER
2018-03-31 06:42:58.487 rtc::[PCON]<45731476, R:Offer> Did change ice gethering state to GATHERING
2018-03-31 06:42:58.488 rtc::[TASK]<ID:3, l:Stats report> Start.
2018-03-31 06:42:58.488 rtc::[PCON]<45731476, R:Offer> SND offer SDP
2018-03-31 06:42:58.488 rtc::[TASK]<ID:4, l:com.quickblox.connection.dialing.timer> Start.
2018-03-31 06:42:58:489 VideoChat[5161:14b1b] SEND: <message id="5abee09ad4833929140041aa" type="headline" to="[email protected]"><extraParams xmlns="jabber:client"><callType>2</callType><callerID>45669013</callerID><moduleIdentifier>WebRTCVideoChat</moduleIdentifier><platform>ios</platform><sdp>v=0
o=- 9047115674946275176 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013]
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:hPrA
a=ice-pwd:rWFjmvtwQrbgwtWy9qIXguGX
a=ice-options:trickle renomination
a=fingerprint:sha-256 4B:10:C0:68:D5:6F:80:0F:42:5F:E3:6C:19:06:7A:50:62:AD:50:C1:C3:3A:E0:CF:E4:5A:E4:E3:42:3B:C9:4D
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:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1188436286 cname:rzn6GwNINABoNtPh
a=ssrc:1188436286 msid:com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013] audioTrack
a=ssrc:1188436286 mslabel:com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013]
a=ssrc:1188436286 label:audioTrack
</sdp><sdkVersion>2.6.3</sdkVersion><sessionID>B113AAB6-9C26-41DA-9A93-C19D2A7F8182</sessionID><signalType>call</signalType><userInfo><acceptCall>userInfo</acceptCall></userInfo><opponentsIDs><opponentID>45731476</opponentID></opponentsIDs></extraParams></message>
2018-03-31 06:42:58.643174+0530 VideoChat[5161:1454621] [ChatService]: SNT: <message id="5abee09ad4833929140041aa" type="headline" to="[email protected]">
<extraParams xmlns="jabber:client">
<callType>2</callType>
<callerID>45669013</callerID>
<moduleIdentifier>WebRTCVideoChat</moduleIdentifier>
<platform>ios</platform>
<sdp>v=0
o=- 9047115674946275176 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013]
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:hPrA
a=ice-pwd:rWFjmvtwQrbgwtWy9qIXguGX
a=ice-options:trickle renomination
a=fingerprint:sha-256 4B:10:C0:68:D5:6F:80:0F:42:5F:E3:6C:19:06:7A:50:62:AD:50:C1:C3:3A:E0:CF:E4:5A:E4:E3:42:3B:C9:4D
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:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1188436286 cname:rzn6GwNINABoNtPh
a=ssrc:1188436286 msid:com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013] audioTrack
a=ssrc:1188436286 mslabel:com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013]
a=ssrc:1188436286 label:audioTrack
</sdp>
<sdkVersion>2.6.3</sdkVersion>
<sessionID>B113AAB6-9C26-41DA-9A93-C19D2A7F8182</sessionID>
<signalType>call</signalType>
<userInfo>
<acceptCall>userInfo</acceptCall>
</userInfo>
<opponentsIDs>
<opponentID>45731476</opponentID>
</opponentsIDs>
</extraParams>
</message>
2018-03-31 06:42:58.498 rtc::[QBRTCAudioSession] Switched from Speaker to Receiver port. Reason: The category of the session object changed or session was just activated.
2018-03-31 06:42:58.651 rtc::[SESS]<B113AAB6-9C26-41DA-9A93-C19D2A7F8182, I:45669013, O:[45731476], T:A> Start call
Send voip push - Success
2018-03-31 06:42:58.679753+0530 VideoChat[5161:1454485] [QBCore]: Response[6]:
headers: {
"Access-Control-Allow-Origin" = "*";
"Cache-Control" = "max-age=0, private, must-revalidate";
Connection = "keep-alive";
"Content-Length" = 467;
"Content-Type" = "application/json; charset=utf-8";
Date = "Sat, 31 Mar 2018 01:12:58 GMT";
Duration = "0.550127";
Etag = "W/\"222609507ab5b19c273f8ea78a28cd06\"";
"QB-Token-ExpirationDate" = "2018-03-31 03:12:43 +0000";
"QuickBlox-REST-API-Version" = "0.1.1";
Server = "openresty/1.9.15.1";
"Set-Cookie" = "_mkra_ctxt=5a431f2e7fbabbc2190dbfa8d1a8929f--201; path=/; max-age=5; HttpOnly; secure";
Status = "201 Created";
"Strict-Transport-Security" = "max-age=31536000, max-age=15768000;";
"X-Content-Type-Options" = nosniff;
"X-Frame-Options" = SAMEORIGIN;
"X-Request-Id" = "0e85fd4c-642f-4805-b397-ff7e9e9d523d";
"X-Runtime" = "0.071636";
"X-XSS-Protection" = "1; mode=block";
}
object: (
{
event = {
active = 1;
"application_id" = 69209;
"created_at" = "2018-03-31T01:12:58Z";
date = "<null>";
"end_date" = "<null>";
environment = development;
"event_type" = "one_shot";
id = 23288317;
kind = ChatAlert;
message = "payload=eyJhcHMiOnsiYWxlcnQiOiJPcHRpb25hbChcIlNhYW1cIikgaXMgY2FsbGluZyB5b3UuIn0sIlZPSVBDYWxsIjoiMSJ9";
name = "<null>";
"notification_channel" = {
name = apns;
};
"occured_count" = 0;
period = "<null>";
"tag_query" = "<null>";
"updated_at" = "2018-03-31T01:12:58Z";
"user_id" = 45669013;
};
}
)
2018-03-31 06:42:59.055062+0530 VideoChat[5161:1454428] [CallKitManager] Activated audio session.
2018-03-31 06:43:03.570 rtc::[PCON]<45731476, R:Offer> SND offer SDP
2018-03-31 06:43:03:574 VideoChat[5161:4603] SEND: <message id="5abee09fd4833929140041ab" type="headline" to="[email protected]"><extraParams xmlns="jabber:client"><callType>2</callType><callerID>45669013</callerID><moduleIdentifier>WebRTCVideoChat</moduleIdentifier><platform>ios</platform><sdp>v=0
o=- 9047115674946275176 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013]
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:hPrA
a=ice-pwd:rWFjmvtwQrbgwtWy9qIXguGX
a=ice-options:trickle renomination
a=fingerprint:sha-256 4B:10:C0:68:D5:6F:80:0F:42:5F:E3:6C:19:06:7A:50:62:AD:50:C1:C3:3A:E0:CF:E4:5A:E4:E3:42:3B:C9:4D
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:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1188436286 cname:rzn6GwNINABoNtPh
a=ssrc:1188436286 msid:com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013] audioTrack
a=ssrc:1188436286 mslabel:com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013]
a=ssrc:1188436286 label:audioTrack
</sdp><sdkVersion>2.6.3</sdkVersion><sessionID>B113AAB6-9C26-41DA-9A93-C19D2A7F8182</sessionID><signalType>call</signalType><userInfo><acceptCall>userInfo</acceptCall></userInfo><opponentsIDs><opponentID>45731476</opponentID></opponentsIDs></extraParams></message>
2018-03-31 06:43:03.578943+0530 VideoChat[5161:1454488] [ChatService]: SNT: <message id="5abee09fd4833929140041ab" type="headline" to="[email protected]">
<extraParams xmlns="jabber:client">
<callType>2</callType>
<callerID>45669013</callerID>
<moduleIdentifier>WebRTCVideoChat</moduleIdentifier>
<platform>ios</platform>
<sdp>v=0
o=- 9047115674946275176 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013]
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:hPrA
a=ice-pwd:rWFjmvtwQrbgwtWy9qIXguGX
a=ice-options:trickle renomination
a=fingerprint:sha-256 4B:10:C0:68:D5:6F:80:0F:42:5F:E3:6C:19:06:7A:50:62:AD:50:C1:C3:3A:E0:CF:E4:5A:E4:E3:42:3B:C9:4D
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:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1188436286 cname:rzn6GwNINABoNtPh
a=ssrc:1188436286 msid:com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013] audioTrack
a=ssrc:1188436286 mslabel:com.quickblox.mediastream.device-iphone6,2_ios-11.2.5_userid-45669013]
a=ssrc:1188436286 label:audioTrack
</sdp>
<sdkVersion>2.6.3</sdkVersion>
<sessionID>B113AAB6-9C26-41DA-9A93-C19D2A7F8182</sessionID>
<signalType>call</signalType>
<userInfo>
<acceptCall>userInfo</acceptCall>
</userInfo>
<opponentsIDs>
<opponentID>45731476</opponentID>
</opponentsIDs>
</extraParams>
</message>
2018-03-31 06:43:05:306 VideoChat[5161:bc03] RECV: <message xmlns="jabber:client" type="headline" from="[email protected]/1DBE04AF-CE36-46D7-872C-3578F35A8A6D" to="[email protected]" id="5abee0a0062ab9f21a0041a8"><extraParams xmlns="jabber:client"><callType>2</callType><callerID>45669013</callerID><moduleIdentifier>WebRTCVideoChat</moduleIdentifier><platform>ios</platform><sdkVersion>2.6.3</sdkVersion><sessionID>B113AAB6-9C26-41DA-9A93-C19D2A7F8182</sessionID><signalType>reject</signalType><userInfo><reject>value</reject></userInfo><opponentsIDs><opponentID>45731476</opponentID></opponentsIDs></extraParams></message>
2018-03-31 06:43:05.308864+0530 VideoChat[5161:1454620] [ChatService]: RCV: <message xmlns="jabber:client" type="headline" from="[email protected]/1DBE04AF-CE36-46D7-872C-3578F35A8A6D" to="[email protected]" id="5abee0a0062ab9f21a0041a8">
<extraParams xmlns="jabber:client">
<callType>2</callType>
<callerID>45669013</callerID>
<moduleIdentifier>WebRTCVideoChat</moduleIdentifier>
<platform>ios</platform>
<sdkVersion>2.6.3</sdkVersion>
<sessionID>B113AAB6-9C26-41DA-9A93-C19D2A7F8182</sessionID>
<signalType>reject</signalType>
<userInfo>
<reject>value</reject>
</userInfo>
<opponentsIDs>
<opponentID>45731476</opponentID>
</opponentsIDs>
</extraParams>
</message>
2018-03-31 06:43:05.316 rtc::[Signaling Processor] - Did receive signal: reject from: 45731476
2018-03-31 06:43:05.318 rtc::[PCON]<45731476, R:Offer> Closing
2018-03-31 06:43:05.318 rtc::[TASK]<ID:4, l:com.quickblox.connection.dialing.timer> Invalidate.
2018-03-31 06:43:05.326 rtc::[PCON]<45731476, R:Offer> Did change ice connection state to CLOSED
2018-03-31 06:43:05.327 rtc::[PCON]<45731476, R:Offer> Did change ice gethering state to COMPLETE
2018-03-31 06:43:05.327 rtc::[PCON]<45731476, R:Offer> Signaling state CLOSED
2018-03-31 06:43:05.365 rtc::[TASK]<ID:0, l:com.quickblox.connection.dialing.timer> Dealloc.
2018-03-31 06:43:05.366 rtc::Deallocating local media stream.
2018-03-31 06:43:05.366 rtc::dealloc QBRTCLocalAudioTrack
2018-03-31 06:43:05.367 rtc::[TASK]<ID:3, l:Stats report> Invalidate.
2018-03-31 06:43:05.368 rtc::dealloc - <QBRTCRecorder: 0x1085ac460>
2018-03-31 06:43:05.416 rtc::[RTCClient] Deinitializing SSL...
2018-03-31 06:43:05.429979+0530 VideoChat[5161:1454428] dealloc - <CallViewController: 0x10b73f9b0>
2018-03-31 06:43:05.449 rtc::[SESS]<B113AAB6-9C26-41DA-9A93-C19D2A7F8182, I:45669013, O:[45731476], T:A> Hang Up call
2018-03-31 06:43:05:571 VideoChat[5161:4603] RECV: <r xmlns="urn:xmpp:sm:3"/>
2018-03-31 06:43:05:571 VideoChat[5161:4603] SEND: <a xmlns="urn:xmpp:sm:3" h="3"/>
2018-03-31 06:43:05.452 rtc::[TASK]<ID:0, l:Stats report> Dealloc.
2018-03-31 06:43:05.922 rtc::[QBRTCAudioSession] Switched from Receiver to Speaker port. Reason: The category of the session object changed or session was just activated.
2018-03-31 06:43:05.922 rtc::[QBRTCAudioSession] Current audio device was updated to Speaker
2018-03-31 06:43:06.030718+0530 VideoChat[5161:1454428] [CallKitManager] Dectivated audio session.
2018-03-31 06:43:06.030979+0530 VideoChat[5161:1454428] Deinitializing session in CallKit callback.
2018-03-31 06:43:06.031 rtc::[QBRTCAudioSession] Deinitializing audio session.
2018-03-31 06:43:06:126 VideoChat[5161:1103] RECV: <message xmlns="jabber:client" type="headline" from="[email protected]/1DBE04AF-CE36-46D7-872C-3578F35A8A6D" to="[email protected]" id="5abee0a1062ab9f21a0041a9"><extraParams xmlns="jabber:client"><callType>2</callType><callerID>45669013</callerID><moduleIdentifier>WebRTCVideoChat</moduleIdentifier><platform>ios</platform><sdkVersion>2.6.3</sdkVersion><sessionID>B113AAB6-9C26-41DA-9A93-C19D2A7F8182</sessionID><signalType>reject</signalType><userInfo><reject>value</reject></userInfo><opponentsIDs><opponentID>45731476</opponentID></opponentsIDs></extraParams></message>
2018-03-31 06:43:06.128096+0530 VideoChat[5161:1454620] [ChatService]: RCV: <message xmlns="jabber:client" type="headline" from="[email protected]/1DBE04AF-CE36-46D7-872C-3578F35A8A6D" to="[email protected]" id="5abee0a1062ab9f21a0041a9">
<extraParams xmlns="jabber:client">
<callType>2</callType>
<callerID>45669013</cal2018-03-31 06:43:06.129 rtc::[Signaling Processor] - Did receive signal: reject from: 45731476
lerID>
<moduleIdentifier>WebRTCVideoChat</moduleIdentifier>
<platform>ios</platform>
<sdkVersion>2.6.3</sdkVersion>
<sessionID>B113AAB6-9C26-41DA-9A93-C19D2A7F8182</sessionID>
<signalType>reject</signalType>
<userInfo>
<reject>value</reject>
</userInfo>
<opponentsIDs>
<opponentID>45731476</opponentID>
</opponentsIDs>
</extraParams>
</message>
2018-03-31 06:43:06.130 rtc::[PCON]<45731476, R:Offer> Closing
2018-03-31 06:43:06:130 VideoChat[5161:1103] RECV: <r xmlns="urn:xmpp:sm:3"/>
2018-03-31 06:43:06:131 VideoChat[5161:1103] SEND: <a xmlns="urn:xmpp:sm:3" h="4"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment