Skip to content

Instantly share code, notes, and snippets.

@vineeshtp
vineeshtp / Background not working with CallKit
Created March 30, 2018 04:33
Background not working with CallKit
2018-03-30 10:00:58.589 rtc::[CAMC] Initializing QBRTCCameraCapture with video format: <QBRTCVideoFormat:0x14d9ca6d0, dimensions: 640x480, frame rate: 21, pixel format: 420f>
2018-03-30 10:00:58.595 rtc::dealloc - [CAMC]<QBRTCCameraCapture 0x14dd3fbd0>
2018-03-30 10:00:58.607 rtc::[CAMC] Starting QBRTCCameraCapture capture session.
2018-03-30 10:00:58.607 rtc::[QBRTCAudioSession] Initializing QBRTCAudioSession using configuration: <QBRTCAudioSessionConfiguration: 0x14be6d260, Category: AVAudioSessionCategoryPlayAndRecord, Category options: 2, Mode: AVAudioSessionModeVoiceChat>
2018-03-30 10:00:58.904 rtc::[QBRTCAudioSession] Current audio device was updated to Receiver
2018-03-30 10:00:58.904 rtc::[QBRTCAudioSession] Trying to initialize QBRTCAudioSession while it's already has been initialized. Deinitialize instance first.
Granted
2018-03-30 10:00:58.945 rtc::[RTCClient] Initializing SSL...
2018-03-30 10:00:58.946 rtc::Create audio track: RTCMediaStreamTrack: kind:audio, id:audioTrack, enabled, state:Live
20
@vineeshtp
vineeshtp / Call error
Created March 31, 2018 01:17
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>"
)
@vineeshtp
vineeshtp / Automatically rejected by user
Created April 1, 2018 02:06
Automatically rejected by user
2018-04-01 07:31:39.604 rtc::[QBRTCAudioSession] Initializing QBRTCAudioSession using configuration: <QBRTCAudioSessionConfiguration: 0x1c043ef60, Category: AVAudioSessionCategoryPlayAndRecord, Category options: 2, Mode: AVAudioSessionModeVoiceChat>
2018-04-01 07:31:39.689 rtc::[QBRTCAudioSession] Current audio device was updated to Receiver
2018-04-01 07:31:39.689 rtc::[QBRTCAudioSession] Trying to initialize QBRTCAudioSession while it's already has been initialized. Deinitialize instance first.
2018-04-01 07:31:39.725 rtc::[RTCClient] Initializing SSL...
2018-04-01 07:31:39.726 rtc::Create audio track: RTCMediaStreamTrack: kind:audio, id:audioTrack, enabled, state:Live
2018-04-01 07:31:39.726 rtc::[SESS]<A7980F26-749E-4822-8004-D9D29EAE1C74, I:45831151, O:[45617251], T:A> Init.
2018-04-01 07:31:39.726 rtc::[RTCClient] <QBRTCClient: 0x1c4277f40> created new [SESS]<A7980F26-749E-4822-8004-D9D29EAE1C74, I:45831151, O:[45617251], T:A>
2018-04-01 07:31:39.726 rtc::[RTCClient] Added <CallViewController: 0x1095de8
@vineeshtp
vineeshtp / × Message 24808384 log.txt
Created July 7, 2018 07:12
× Message 24808384 log
{"notification":{"id":15569497,"badge":null,"device_token":"c9f9ccf486ed2cf1459d8fbf8e063d18fa2893938f78606243955805573bd5cb","sound":null,"alert":"First is calling you.","data":{"ID":"54420732","name":"First","VOIPCall":"1","info":"user info","type":"false","headers":{"apns-topic":"com.doctoros.voip"}},"expiry":86400,"delivered":false,"delivered_at":null,"failed":false,"failed_at":null,"fail_after":"2018-07-07T08:03:49+00:00","retries":2,"error_code":null,"error_description":null,"deliver_after":"2018-07-07T07:03:59+00:00","alert_is_json":null,"app_id":24043,"collapse_key":null,"delay_while_idle":null,"registration_ids":null,"uri":null,"priority":null,"url_args":null,"category":null,"content_available":false,"mutable_content":false,"notification":null,"type":"Rpush::Client::Redis::Apns::Notification","event_id":24808384,"event_date":"2018-07-07T07:03:48+00:00"},"log":[{"device_token":"c9f9ccf486ed2cf1459d8fbf8e063d18fa2893938f78606243955805573bd5cb","delivered_at":null,"failed_at":null,"error_code":null,"err
@vineeshtp
vineeshtp / MessageLog
Created July 7, 2018 07:14
MessageLog
{"notification":{"id":15569497,"badge":null,"device_token":"c9f9ccf486ed2cf1459d8fbf8e063d18fa2893938f78606243955805573bd5cb","sound":null,"alert":"First is calling you.","data":{"ID":"54420732","name":"First","VOIPCall":"1","info":"user info","type":"false","headers":{"apns-topic":"com.doctoros.voip"}},"expiry":86400,"delivered":false,"delivered_at":null,"failed":false,"failed_at":null,"fail_after":"2018-07-07T08:03:49+00:00","retries":2,"error_code":null,"error_description":null,"deliver_after":"2018-07-07T07:03:59+00:00","alert_is_json":null,"app_id":24043,"collapse_key":null,"delay_while_idle":null,"registration_ids":null,"uri":null,"priority":null,"url_args":null,"category":null,"content_available":false,"mutable_content":false,"notification":null,"type":"Rpush::Client::Redis::Apns::Notification","event_id":24808384,"event_date":"2018-07-07T07:03:48+00:00"},"log":[{"device_token":"c9f9ccf486ed2cf1459d8fbf8e063d18fa2893938f78606243955805573bd5cb","delivered_at":null,"failed_at":null,"error_code":null,"err
2018-09-09 10:04:42.952 myApp[6858:3352179] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x1c04208e0> to GL_RENDERBUFFER 1
2018-09-09 10:04:42.952 myApp[6858:3352179] Failed to make complete framebuffer object 8cd6
2018-09-09 10:04:44.201 rtc::[QBRTCAudioSession] Switched from Speaker to (null) port. Reason: The set of input and output ports has not changed, but their configuration port’s selected data source might has changed.
2018-09-09 10:04:44.202 rtc::[QBRTCAudioSession] Current audio device was updated to Receiver
2018-09-09 10:04:44.202 rtc::[QBRTCAudioSession] Did begin interruption.
2018-09-09 10:04:44.222 rtc::[CAMC] Capture session interrupted: VideoDeviceNotAvailableInBackground
2018-09-09 10:04:44.222 rtc::[CAMC] Capture session stopped.
2018-09-09 10:04:44.238 rtc::[QBRTCAudioSession] Switched from Speaker to (null) port. Reason: The category of the session object changed or session was just activated.
2018-09-09 10:04:45.015 rtc::dealloc - [CAMC]<QBRTCCameraCapture 0x1c00da940>
2018-09-09 10:04:4
<!DOCTYPE html>
<html>
<head>
<style>
#location-name {
background:#003344;
align-self: center;
width: 540px;
max-height: 100px;
color: #FFFFFF;