ApiRTC / ApiRTC-examples

Various examples of how to use ApiRTC Js
https://apirtc.github.io/ApiRTC-examples/
21 stars 35 forks source link

API key is visible #1

Closed alindzon closed 7 years ago

alindzon commented 7 years ago

How can someone use this, without exposing their API key.

If anyone looks at the page source they will have access to the API key in this example.

Otherwise it works great. I am able to video call my app running cordova.

FredLuart commented 7 years ago

Exposing the API Key is not an issue but you may have to activate user authentication for your application. We have possibility to activate authentication on your account : check the description here : https://apirtc.com/wp-content/themes/wikee/docs/apiRTC/authentication.html

alindzon commented 7 years ago

I am authenticating my users inside my application so as long as we could keep the API key secret, there would be no issue. But if that is not possible, we should setup the authentication server.

We are using azure to host parts of our solution, and a classic ASP web site for other parts. So if you have your authentication solution done for either we could easily use it.

I have the web site integration working fine, but still have an issue initiating calls from phonegap cordova app, do you have any further info for me on that?

Also your javascript library has a typo see this status line Your phone is registered, you can be joigned with this number

From: Frederic Luart [mailto:notifications@github.com] Sent: July 2, 2017 6:00 AM To: apizee/ApiRTC-examples ApiRTC-examples@noreply.github.com Cc: Andrew Lindzon andrew@ashlin.ca; Author author@noreply.github.com Subject: Re: [apizee/ApiRTC-examples] API key is visible (#1)

Exposing the API Key is not an issue but you may have to activate user authentication for your application. We have possibility to activate authentication on your account : check the description here : https://apirtc.com/wp-content/themes/wikee/docs/apiRTC/authentication.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/apizee/ApiRTC-examples/issues/1#issuecomment-312481811, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI5Vb-Gh3S2dYSXCoq9_beOh9wQ_8oVrks5sJ2oFgaJpZM4OLXM7.

alindzon commented 7 years ago

Actually regarding the typo Your phone is registered, you can be joigned with this number

Better wording would be: you can be reached at this number

From: Andrew Lindzon Sent: July 3, 2017 2:25 PM To: 'apizee/ApiRTC-examples' reply@reply.github.com Subject: RE: [apizee/ApiRTC-examples] API key is visible (#1)

I am authenticating my users inside my application so as long as we could keep the API key secret, there would be no issue. But if that is not possible, we should setup the authentication server.

We are using azure to host parts of our solution, and a classic ASP web site for other parts. So if you have your authentication solution done for either we could easily use it.

I have the web site integration working fine, but still have an issue initiating calls from phonegap cordova app, do you have any further info for me on that?

Also your javascript library has a typo see this status line Your phone is registered, you can be joigned with this number

From: Frederic Luart [mailto:notifications@github.com] Sent: July 2, 2017 6:00 AM To: apizee/ApiRTC-examples ApiRTC-examples@noreply.github.com Cc: Andrew Lindzon andrew@ashlin.ca; Author author@noreply.github.com Subject: Re: [apizee/ApiRTC-examples] API key is visible (#1)

Exposing the API Key is not an issue but you may have to activate user authentication for your application. We have possibility to activate authentication on your account : check the description here : https://apirtc.com/wp-content/themes/wikee/docs/apiRTC/authentication.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/apizee/ApiRTC-examples/issues/1#issuecomment-312481811, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI5Vb-Gh3S2dYSXCoq9_beOh9wQ_8oVrks5sJ2oFgaJpZM4OLXM7.

FredLuart commented 7 years ago

Thanks for the typo, it is corrected on our master branch and will be available in next apiRTC version. For cordova, have you test with our sample app on https://github.com/apizee/ApiRTC-mobile ?

It may be a permission issue ? (camera ?)

To investigate, we would need logs of the application

alindzon commented 7 years ago

Here is the log.

Not a permission issue.

Note: the phone can receive a call, it just cannot initiate a call. Calling from a computer using the web version to the phone works.

Seems to be a bug in the calling out function.

From: Frederic Luart [mailto:notifications@github.com] Sent: July 4, 2017 3:16 AM To: apizee/ApiRTC-examples ApiRTC-examples@noreply.github.com Cc: Andrew Lindzon andrew@ashlin.ca; Author author@noreply.github.com Subject: Re: [apizee/ApiRTC-examples] API key is visible (#1)

Thanks for the typo, it is corrected on our master branch and will be available in next apiRTC version. For cordova, have you test with our sample app on https://github.com/apizee/ApiRTC-mobile ?

It may be a permission issue ? (camera ?)

To investigate, we would need logs of the application

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/apizee/ApiRTC-examples/issues/1#issuecomment-312799541, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI5Vb-oOeeZuFP9olyNFxd3ZfW9rEMYvks5sKeaugaJpZM4OLXM7.

FredLuart commented 7 years ago

There is no logs on your answer

alindzon commented 7 years ago

I attached the console log, what are you looking for if not this?

Here it is in the email body apiRTC initialization, version is :3.8.10 apiRTC-latest.min.debug.js (9,31259) Setting ccsServer apiRTC-latest.min.debug.js (9,31470) bandwidthTestServer is not defined apiRTC-latest.min.debug.js (9,31824) apiRTC initialization, version is :3.8.10 apiRTC-latest.min.debug.js (9,31259) Setting ccsServer apiRTC-latest.min.debug.js (9,31470) bandwidthTestServer is not defined apiRTC-latest.min.debug.js (9,31824) End of .js loading in head apiRTC-latest.min.debug.js (9,33153) messageTimeOutTimer set to : 10000 apiRTC-latest.min.debug.js (17,8362) isDeviceWebRTCCompliant FALSE : Chrome V >= 47 and http apiRTC-latest.min.debug.js (17,8919) RoomManager apiRTC-latest.min.debug.js (15,26790) Session creation with apiKey : apiRTC-latest.min.debug.js (17,12410) Adding listener on type :sessionReady apiRTC-latest.min.debug.js (9,38838) number of myEventTable:1 apiRTC-latest.min.debug.js (9,39248) apiCCId is not defined by user, checking if a cookie for apiCCId exist apiRTC-latest.min.debug.js (17,11237) No apiCCId cookie : generating an apiCCId apiRTC-latest.min.debug.js (17,11488) Creation of new ApiRTC session with Id : 719085 apiRTC-latest.min.debug.js (17,11604) ApiCC_Channel::initialize() apiRTC-latest.min.debug.js (9,45257) openChannel channelId :719085 apiRTC-latest.min.debug.js (9,45514) session.apiKey : apiRTC-latest.min.debug.js (9,45568) session.sessionId :null apiRTC-latest.min.debug.js (9,45609) CCSserver used : ccs5.apizee.com:80 apiRTC-latest.min.debug.js (9,45672) Defined userData : apiRTC-latest.min.debug.js (9,45807) stringUserData.length :46 apiRTC-latest.min.debug.js (9,45882) Defined presenceGroup : default apiRTC-latest.min.debug.js (9,46087) stringPresenceGroup.length :11 apiRTC-latest.min.debug.js (9,46177) Defined subscribeToPresenceGroup : default apiRTC-latest.min.debug.js (9,46409) stringsubscribeToPresenceGroup.length :11 apiRTC-latest.min.debug.js (9,46532) requestOptions on connect :&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (9,46840) session.ccsServer :ccs5.apizee.com:80 apiRTC-latest.min.debug.js (9,46885) Port is also set in ccsServer definition apiRTC-latest.min.debug.js (9,46963) res[0] : ccs5.apizee.com apiRTC-latest.min.debug.js (9,47044) res[1] : 80 apiRTC-latest.min.debug.js (9,47074) use new ccs, socket url is : http://ccs5.apizee.com:80/?channelId=719085&apiKey=***&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (9,47519) Nickname is not defined, setting to apiCCId value :719085 apiRTC-latest.min.debug.js (17,13695) photoURL is not defined apiRTC-latest.min.debug.js (17,13913) End of .js loading in head apiRTC-latest.min.debug.js (9,33153) messageTimeOutTimer set to : 10000 apiRTC-latest.min.debug.js (17,8362) isDeviceWebRTCCompliant FALSE : Chrome V >= 47 and http apiRTC-latest.min.debug.js (17,8919) RoomManager apiRTC-latest.min.debug.js (15,26790) Session creation with apiKey : apiRTC-latest.min.debug.js (17,12410) Adding listener on type :sessionReady apiRTC-latest.min.debug.js (9,38838) number of myEventTable:2 apiRTC-latest.min.debug.js (9,39248) apiCCId is not defined by user, checking if a cookie for apiCCId exist apiRTC-latest.min.debug.js (17,11237) No apiCCId cookie : generating an apiCCId apiRTC-latest.min.debug.js (17,11488) Creation of new ApiRTC session with Id : 240419 apiRTC-latest.min.debug.js (17,11604) ApiCC_Channel::initialize() apiRTC-latest.min.debug.js (9,45257) openChannel channelId :240419 apiRTC-latest.min.debug.js (9,45514) session.apiKey : apiRTC-latest.min.debug.js (9,45568) session.sessionId :null apiRTC-latest.min.debug.js (9,45609) CCSserver used : ccs5.apizee.com:80 apiRTC-latest.min.debug.js (9,45672) Defined userData : apiRTC-latest.min.debug.js (9,45807) stringUserData.length :46 apiRTC-latest.min.debug.js (9,45882) Defined presenceGroup : default apiRTC-latest.min.debug.js (9,46087) stringPresenceGroup.length :11 apiRTC-latest.min.debug.js (9,46177) Defined subscribeToPresenceGroup : default apiRTC-latest.min.debug.js (9,46409) stringsubscribeToPresenceGroup.length :11 apiRTC-latest.min.debug.js (9,46532) requestOptions on connect :&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (9,46840) session.ccsServer :ccs5.apizee.com:80 apiRTC-latest.min.debug.js (9,46885) Port is also set in ccsServer definition apiRTC-latest.min.debug.js (9,46963) res[0] : ccs5.apizee.com apiRTC-latest.min.debug.js (9,47044) res[1] : 80 apiRTC-latest.min.debug.js (9,47074) use new ccs, socket url is : http://ccs5.apizee.com:80/?channelId=240419&apiKey=***&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (9,47519) Nickname is not defined, setting to apiCCId value :240419 apiRTC-latest.min.debug.js (17,13695) photoURL is not defined apiRTC-latest.min.debug.js (17,13913) Channel opened apiRTC-latest.min.debug.js (10,4086) this.channelId :719085 apiRTC-latest.min.debug.js (10,4117) ApiCCSession onChannelOpened apiRTC-latest.min.debug.js (17,14450) createSessionReadyEvent apiRTC-latest.min.debug.js (9,23469) Adding listener on type :incomingCall apiRTC-latest.min.debug.js (9,38838) number of myEventTable:3 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :userMediaError apiRTC-latest.min.debug.js (9,38838) number of myEventTable:4 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :remoteStreamAdded apiRTC-latest.min.debug.js (9,38838) number of myEventTable:5 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :hangup apiRTC-latest.min.debug.js (9,38838) number of myEventTable:6 apiRTC-latest.min.debug.js (9,39248) createWebRTCClient apiRTC-latest.min.debug.js (17,14724) apiCC.ApiCCWebRTCClient apiRTC-latest.min.debug.js (16,21328) WebRTC_Adapter apiRTC-latest.min.debug.js (10,9402) adapter.browserDetails.browser : apiRTC-latest.min.debug.js (10,9433) adapter.browserDetails.version : apiRTC-latest.min.debug.js (10,9512) attachMediaStream is undefined apiRTC-latest.min.debug.js (10,10861) SDPManager apiRTC-latest.min.debug.js (10,23582) ApiCCMCUClient creation apiRTC-latest.min.debug.js (10,10926) this.myWebRTC_Adapter.webrtcDetectedBrowser :chrome apiRTC-latest.min.debug.js (12,25306) chrome >= 28 apiRTC-latest.min.debug.js (12,26721) webrtcDetectedVersion : 59 apiRTC-latest.min.debug.js (12,27002) localVideo Div Name is not correct : INCORRECT_DIV_NAME_LOCALVIDEO apiRTC-latest.min.debug.js (12,27740) status Div Name is not correct : INCORRECT_DIV_NAME_STATUS apiRTC-latest.min.debug.js (12,28185) command Div Name is not correct : INCORRECT_DIV_NAME_COMMAND apiRTC-latest.min.debug.js (12,28325) Status Div Null apiRTC-latest.min.debug.js (15,15113) getMediaDevices apiRTC-latest.min.debug.js (12,28854) enumerateDevices() is supported. apiRTC-latest.min.debug.js (12,28950) Adding listener on type :incomingCall apiRTC-latest.min.debug.js (9,38838) number of myEventTable:7 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :userMediaError apiRTC-latest.min.debug.js (9,38838) number of myEventTable:8 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :remoteStreamAdded apiRTC-latest.min.debug.js (9,38838) number of myEventTable:9 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :hangup apiRTC-latest.min.debug.js (9,38838) number of myEventTable:10 apiRTC-latest.min.debug.js (9,39248) createWebRTCClient apiRTC-latest.min.debug.js (17,14724) apiCC.ApiCCWebRTCClient apiRTC-latest.min.debug.js (16,21328) WebRTC_Adapter apiRTC-latest.min.debug.js (10,9402) adapter.browserDetails.browser : apiRTC-latest.min.debug.js (10,9433) adapter.browserDetails.version : apiRTC-latest.min.debug.js (10,9512) attachMediaStream is undefined apiRTC-latest.min.debug.js (10,10861) SDPManager apiRTC-latest.min.debug.js (10,23582) ApiCCMCUClient creation apiRTC-latest.min.debug.js (10,10926) this.myWebRTC_Adapter.webrtcDetectedBrowser :chrome apiRTC-latest.min.debug.js (12,25306) chrome >= 28 apiRTC-latest.min.debug.js (12,26721) webrtcDetectedVersion : 59 apiRTC-latest.min.debug.js (12,27002) localVideo Div Name is not correct : INCORRECT_DIV_NAME_LOCALVIDEO apiRTC-latest.min.debug.js (12,27740) status Div Name is not correct : INCORRECT_DIV_NAME_STATUS apiRTC-latest.min.debug.js (12,28185) command Div Name is not correct : INCORRECT_DIV_NAME_COMMAND apiRTC-latest.min.debug.js (12,28325) Status Div Null apiRTC-latest.min.debug.js (15,15113) getMediaDevices apiRTC-latest.min.debug.js (12,28854) enumerateDevices() is supported. apiRTC-latest.min.debug.js (12,28950) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"sessionId","sessionId":"8c66ec40-5e66-11e7-9236-2b109176f7ca"} apiRTC-latest.min.debug.js (10,4672) sessionId :8c66ec40-5e66-11e7-9236-2b109176f7ca apiRTC-latest.min.debug.js (18,1748) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["86526","593335","719085"],"connectedUsersListWithStatus":[{"userId":"86526","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"86526","audioDevicePresent":"true","videoDevicePresent":"true"}},{"userId":"593335","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"593335"}},{"userId":"719085","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"719085"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :3 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :0 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) this.connectedUsersList is empty apiRTC-latest.min.debug.js (17,20958) this.connectedUsersList[0].group :default apiRTC-latest.min.debug.js (17,21032) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :3 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) Adding user in connectedUsersList :240419 apiRTC-latest.min.debug.js (17,21550) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) Channel opened apiRTC-latest.min.debug.js (10,4086) this.channelId :240419 apiRTC-latest.min.debug.js (10,4117) ApiCCSession onChannelOpened apiRTC-latest.min.debug.js (17,14450) createSessionReadyEvent apiRTC-latest.min.debug.js (9,23469) Adding listener on type :incomingCall apiRTC-latest.min.debug.js (9,38838) number of myEventTable:11 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :userMediaError apiRTC-latest.min.debug.js (9,38838) number of myEventTable:12 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :remoteStreamAdded apiRTC-latest.min.debug.js (9,38838) number of myEventTable:13 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :hangup apiRTC-latest.min.debug.js (9,38838) number of myEventTable:14 apiRTC-latest.min.debug.js (9,39248) createWebRTCClient apiRTC-latest.min.debug.js (17,14724) apiCC.ApiCCWebRTCClient apiRTC-latest.min.debug.js (16,21328) WebRTC_Adapter apiRTC-latest.min.debug.js (10,9402) adapter.browserDetails.browser : apiRTC-latest.min.debug.js (10,9433) adapter.browserDetails.version : apiRTC-latest.min.debug.js (10,9512) attachMediaStream is undefined apiRTC-latest.min.debug.js (10,10861) SDPManager apiRTC-latest.min.debug.js (10,23582) ApiCCMCUClient creation apiRTC-latest.min.debug.js (10,10926) this.myWebRTC_Adapter.webrtcDetectedBrowser :chrome apiRTC-latest.min.debug.js (12,25306) chrome >= 28 apiRTC-latest.min.debug.js (12,26721) webrtcDetectedVersion : 59 apiRTC-latest.min.debug.js (12,27002) localVideo Div Name is not correct : INCORRECT_DIV_NAME_LOCALVIDEO apiRTC-latest.min.debug.js (12,27740) status Div Name is not correct : INCORRECT_DIV_NAME_STATUS apiRTC-latest.min.debug.js (12,28185) command Div Name is not correct : INCORRECT_DIV_NAME_COMMAND apiRTC-latest.min.debug.js (12,28325) Status Div Null apiRTC-latest.min.debug.js (15,15113) getMediaDevices apiRTC-latest.min.debug.js (12,28854) enumerateDevices() is supported. apiRTC-latest.min.debug.js (12,28950) Adding listener on type :incomingCall apiRTC-latest.min.debug.js (9,38838) number of myEventTable:15 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :userMediaError apiRTC-latest.min.debug.js (9,38838) number of myEventTable:16 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :remoteStreamAdded apiRTC-latest.min.debug.js (9,38838) number of myEventTable:17 apiRTC-latest.min.debug.js (9,39248) Adding listener on type :hangup apiRTC-latest.min.debug.js (9,38838) number of myEventTable:18 apiRTC-latest.min.debug.js (9,39248) createWebRTCClient apiRTC-latest.min.debug.js (17,14724) apiCC.ApiCCWebRTCClient apiRTC-latest.min.debug.js (16,21328) WebRTC_Adapter apiRTC-latest.min.debug.js (10,9402) adapter.browserDetails.browser : apiRTC-latest.min.debug.js (10,9433) adapter.browserDetails.version : apiRTC-latest.min.debug.js (10,9512) attachMediaStream is undefined apiRTC-latest.min.debug.js (10,10861) SDPManager apiRTC-latest.min.debug.js (10,23582) ApiCCMCUClient creation apiRTC-latest.min.debug.js (10,10926) this.myWebRTC_Adapter.webrtcDetectedBrowser :chrome apiRTC-latest.min.debug.js (12,25306) chrome >= 28 apiRTC-latest.min.debug.js (12,26721) webrtcDetectedVersion : 59 apiRTC-latest.min.debug.js (12,27002) localVideo Div Name is not correct : INCORRECT_DIV_NAME_LOCALVIDEO apiRTC-latest.min.debug.js (12,27740) status Div Name is not correct : INCORRECT_DIV_NAME_STATUS apiRTC-latest.min.debug.js (12,28185) command Div Name is not correct : INCORRECT_DIV_NAME_COMMAND apiRTC-latest.min.debug.js (12,28325) Status Div Null apiRTC-latest.min.debug.js (15,15113) getMediaDevices apiRTC-latest.min.debug.js (12,28854) enumerateDevices() is supported. apiRTC-latest.min.debug.js (12,28950) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"sessionId","sessionId":"8c815210-5e66-11e7-9236-2b109176f7ca"} apiRTC-latest.min.debug.js (10,4672) sessionId :8c815210-5e66-11e7-9236-2b109176f7ca apiRTC-latest.min.debug.js (18,1748) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["86526","240419","593335","719085"],"connectedUsersListWithStatus":[{"userId":"86526","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"86526","audioDevicePresent":"true","videoDevicePresent":"true"}},{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419"}},{"userId":"593335","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"593335"}},{"userId":"719085","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"719085"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :0 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) this.connectedUsersList is empty apiRTC-latest.min.debug.js (17,20958) this.connectedUsersList[0].group :default apiRTC-latest.min.debug.js (17,21032) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) MediaDevices detection in webRTCClient apiRTC-latest.min.debug.js (12,29450) i =0 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =1 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =2 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =3 apiRTC-latest.min.debug.js (12,29568) Video device present apiRTC-latest.min.debug.js (12,29826) i =4 apiRTC-latest.min.debug.js (12,29568) Video device present apiRTC-latest.min.debug.js (12,29826) i =5 apiRTC-latest.min.debug.js (12,29568) Audio output present apiRTC-latest.min.debug.js (12,29950) Audio device detected :true apiRTC-latest.min.debug.js (12,30386) Video device detected :true apiRTC-latest.min.debug.js (12,30485) apiCC.session.apiCCWebRTCClient.webRTCClient.gum_config: apiRTC-latest.min.debug.js (12,31452) setUserData in session apiRTC-latest.min.debug.js (17,16233) C->S: {"type":"setUserData","userData":{"audioDevicePresent":true,"videoDevicePresent":true}} apiRTC-latest.min.debug.js (17,16357) mergeJSON apiRTC-latest.min.debug.js (9,18125) [object Object] apiRTC-latest.min.debug.js (9,18262) socket.io 1.X : socket.io.opts.query :channelId=240419&apiKey=&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (17,16507) updatingQuery apiRTC-latest.min.debug.js (17,16024) socket.io 1.X : after update : socket.io.opts.query :channelId=240419&apiKey=&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%2C%22audioDevicePresent%22%3Atrue%2C%22videoDevicePresent%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (17,16683) MediaDevices detection in webRTCClient apiRTC-latest.min.debug.js (12,29450) i =0 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =1 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =2 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =3 apiRTC-latest.min.debug.js (12,29568) Video device present apiRTC-latest.min.debug.js (12,29826) i =4 apiRTC-latest.min.debug.js (12,29568) Video device present apiRTC-latest.min.debug.js (12,29826) i =5 apiRTC-latest.min.debug.js (12,29568) Audio output present apiRTC-latest.min.debug.js (12,29950) Audio device detected :true apiRTC-latest.min.debug.js (12,30386) Video device detected :true apiRTC-latest.min.debug.js (12,30485) apiCC.session.apiCCWebRTCClient.webRTCClient.gum_config: apiRTC-latest.min.debug.js (12,31452) setUserData in session apiRTC-latest.min.debug.js (17,16233) C->S: {"type":"setUserData","userData":{"audioDevicePresent":true,"videoDevicePresent":true}} apiRTC-latest.min.debug.js (17,16357) mergeJSON apiRTC-latest.min.debug.js (9,18125) [object Object] apiRTC-latest.min.debug.js (9,18262) socket.io 1.X : socket.io.opts.query :channelId=240419&apiKey=&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%2C%22audioDevicePresent%22%3Atrue%2C%22videoDevicePresent%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (17,16507) updatingQuery apiRTC-latest.min.debug.js (17,16024) socket.io 1.X : after update : socket.io.opts.query :channelId=240419&apiKey=&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%2C%22audioDevicePresent%22%3Atrue%2C%22videoDevicePresent%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (17,16683) MediaDevices detection in webRTCClient apiRTC-latest.min.debug.js (12,29450) i =0 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =1 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =2 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =3 apiRTC-latest.min.debug.js (12,29568) Video device present apiRTC-latest.min.debug.js (12,29826) i =4 apiRTC-latest.min.debug.js (12,29568) Video device present apiRTC-latest.min.debug.js (12,29826) i =5 apiRTC-latest.min.debug.js (12,29568) Audio output present apiRTC-latest.min.debug.js (12,29950) Audio device detected :true apiRTC-latest.min.debug.js (12,30386) Video device detected :true apiRTC-latest.min.debug.js (12,30485) apiCC.session.apiCCWebRTCClient.webRTCClient.gum_config: apiRTC-latest.min.debug.js (12,31452) setUserData in session apiRTC-latest.min.debug.js (17,16233) C->S: {"type":"setUserData","userData":{"audioDevicePresent":true,"videoDevicePresent":true}} apiRTC-latest.min.debug.js (17,16357) mergeJSON apiRTC-latest.min.debug.js (9,18125) [object Object] apiRTC-latest.min.debug.js (9,18262) socket.io 1.X : socket.io.opts.query :channelId=240419&apiKey=&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%2C%22audioDevicePresent%22%3Atrue%2C%22videoDevicePresent%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (17,16507) updatingQuery apiRTC-latest.min.debug.js (17,16024) socket.io 1.X : after update : socket.io.opts.query :channelId=240419&apiKey=&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%2C%22audioDevicePresent%22%3Atrue%2C%22videoDevicePresent%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (17,16683) MediaDevices detection in webRTCClient apiRTC-latest.min.debug.js (12,29450) i =0 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =1 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =2 apiRTC-latest.min.debug.js (12,29568) Audio device present apiRTC-latest.min.debug.js (12,29685) i =3 apiRTC-latest.min.debug.js (12,29568) Video device present apiRTC-latest.min.debug.js (12,29826) i =4 apiRTC-latest.min.debug.js (12,29568) Video device present apiRTC-latest.min.debug.js (12,29826) i =5 apiRTC-latest.min.debug.js (12,29568) Audio output present apiRTC-latest.min.debug.js (12,29950) Audio device detected :true apiRTC-latest.min.debug.js (12,30386) Video device detected :true apiRTC-latest.min.debug.js (12,30485) apiCC.session.apiCCWebRTCClient.webRTCClient.gum_config: apiRTC-latest.min.debug.js (12,31452) setUserData in session apiRTC-latest.min.debug.js (17,16233) C->S: {"type":"setUserData","userData":{"audioDevicePresent":true,"videoDevicePresent":true}} apiRTC-latest.min.debug.js (17,16357) mergeJSON apiRTC-latest.min.debug.js (9,18125) [object Object] apiRTC-latest.min.debug.js (9,18262) socket.io 1.X : socket.io.opts.query :channelId=240419&apiKey=&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%2C%22audioDevicePresent%22%3Atrue%2C%22videoDevicePresent%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (17,16507) updatingQuery apiRTC-latest.min.debug.js (17,16024) socket.io 1.X : after update : socket.io.opts.query :channelId=240419&apiKey=&apiVersion=3.8.10&sessionId=null&userData=%7B%22webRtcCompliant%22%3Afalse%2C%22dtlsCompliant%22%3Atrue%2C%22audioDevicePresent%22%3Atrue%2C%22videoDevicePresent%22%3Atrue%7D&presenceGroup=%5B%22default%22%5D&subscribeToPresenceGroup=%5B%22default%22%5D apiRTC-latest.min.debug.js (17,16683) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) userData is updated apiRTC-latest.min.debug.js (17,21402) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) userData is updated apiRTC-latest.min.debug.js (17,21402) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"no_Call","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) send REFRESH controllers.js (442,21) session.webRTCPluginActivated = apiRTC-latest.min.debug.js (16,22809) managing call with browser apiRTC-latest.min.debug.js (16,22934) Click on Call Button, video activated : true apiRTC-latest.min.debug.js (15,1422) callConfiguration : apiRTC-latest.min.debug.js (15,1481) Status Div Null apiRTC-latest.min.debug.js (15,15113) New Call for client with Id :240419 apiRTC-latest.min.debug.js (11,8496) Calling destination number :86526 apiRTC-latest.min.debug.js (15,1637) new call with callId :406072 apiRTC-latest.min.debug.js (11,8640) callConfiguration is not set apiRTC-latest.min.debug.js (15,2331) checkDTLSCompliancy apiRTC-latest.min.debug.js (11,7640) getConnectedUsersList : complete users list apiRTC-latest.min.debug.js (17,23367) userData : apiRTC-latest.min.debug.js (17,24165) Establishing Web call apiRTC-latest.min.debug.js (15,2620) getUserMediaOnCall, audio Only :false apiRTC-latest.min.debug.js (11,9120) getUserMediaOnCall, screenSharing activated :false apiRTC-latest.min.debug.js (11,9184) webRTCClient.gum_config : apiRTC-latest.min.debug.js (11,9265) outgoing call apiRTC-latest.min.debug.js (11,9350) mediaTypeForOutgoingCall :VIDEO apiRTC-latest.min.debug.js (11,9467) getUserMediaOnCall without any device, calling without device apiRTC-latest.min.debug.js (11,9630) onUserMediaSuccessOnCall apiRTC-latest.min.debug.js (11,17291) isHTTPS()false apiRTC-latest.min.debug.js (11,17517) User has granted access to local media. apiRTC-latest.min.debug.js (11,17576) displayHangUpButtonInCommand apiRTC-latest.min.debug.js (15,15599) Status Div Null apiRTC-latest.min.debug.js (15,15113) webRTCClient.miniVideo.src :file:///android_asset/www/index.html apiRTC-latest.min.debug.js (11,18479) document.URL :file:///android_asset/www/index.html#/app/test apiRTC-latest.min.debug.js (11,18539) webRTCClient.userAcceptOnIncomingCall :false apiRTC-latest.min.debug.js (11,18961) this.callee :false apiRTC-latest.min.debug.js (11,19043) this.data.MCUType :undefined apiRTC-latest.min.debug.js (11,19099) establishCall() apiRTC-latest.min.debug.js (11,19332) maybeStart apiRTC-latest.min.debug.js (11,23056) Creating PeerConnection. apiRTC-latest.min.debug.js (11,23184) createPeerConnection apiRTC-latest.min.debug.js (11,24971) createPeerConnection with pc_config: apiRTC-latest.min.debug.js (11,25012) and pc_constraints: apiRTC-latest.min.debug.js (11,25079) Adding local stream 3. apiRTC-latest.min.debug.js (11,23773) No Stream to add apiRTC-latest.min.debug.js (11,24065) Before doCall() apiRTC-latest.min.debug.js (11,24133) Sending offer to peer. apiRTC-latest.min.debug.js (12,862) call is audio & video : apiRTC-latest.min.debug.js (12,1784) End of maybeStart apiRTC-latest.min.debug.js (11,24180) End of establishCall() apiRTC-latest.min.debug.js (11,20187) Call Number is :1 apiRTC-latest.min.debug.js (15,3044) send REFRESH controllers.js (442,21) session.webRTCPluginActivated = apiRTC-latest.min.debug.js (16,22809) managing call with browser apiRTC-latest.min.debug.js (16,22934) Click on Call Button, video activated : true apiRTC-latest.min.debug.js (15,1422) callConfiguration : apiRTC-latest.min.debug.js (15,1481) Status Div Null apiRTC-latest.min.debug.js (15,15113) New Call for client with Id :240419 apiRTC-latest.min.debug.js (11,8496) Calling destination number :86526 apiRTC-latest.min.debug.js (15,1637) new call with callId :799227 apiRTC-latest.min.debug.js (11,8640) callConfiguration is not set apiRTC-latest.min.debug.js (15,2331) checkDTLSCompliancy apiRTC-latest.min.debug.js (11,7640) getConnectedUsersList : complete users list apiRTC-latest.min.debug.js (17,23367) userData : apiRTC-latest.min.debug.js (17,24165) Establishing Web call apiRTC-latest.min.debug.js (15,2620) getUserMediaOnCall, audio Only :false apiRTC-latest.min.debug.js (11,9120) getUserMediaOnCall, screenSharing activated :false apiRTC-latest.min.debug.js (11,9184) webRTCClient.gum_config : apiRTC-latest.min.debug.js (11,9265) outgoing call apiRTC-latest.min.debug.js (11,9350) mediaTypeForOutgoingCall :VIDEO apiRTC-latest.min.debug.js (11,9467) getUserMediaOnCall without any device, calling without device apiRTC-latest.min.debug.js (11,9630) onUserMediaSuccessOnCall apiRTC-latest.min.debug.js (11,17291) isHTTPS()false apiRTC-latest.min.debug.js (11,17517) User has granted access to local media. apiRTC-latest.min.debug.js (11,17576) displayHangUpButtonInCommand apiRTC-latest.min.debug.js (15,15599) Status Div Null apiRTC-latest.min.debug.js (15,15113) webRTCClient.miniVideo.src :file:///android_asset/www/index.html apiRTC-latest.min.debug.js (11,18479) document.URL :file:///android_asset/www/index.html#/app/test apiRTC-latest.min.debug.js (11,18539) webRTCClient.userAcceptOnIncomingCall :false apiRTC-latest.min.debug.js (11,18961) this.callee :false apiRTC-latest.min.debug.js (11,19043) this.data.MCUType :undefined apiRTC-latest.min.debug.js (11,19099) establishCall() apiRTC-latest.min.debug.js (11,19332) maybeStart apiRTC-latest.min.debug.js (11,23056) Creating PeerConnection. apiRTC-latest.min.debug.js (11,23184) createPeerConnection apiRTC-latest.min.debug.js (11,24971) createPeerConnection with pc_config: apiRTC-latest.min.debug.js (11,25012) and pc_constraints: apiRTC-latest.min.debug.js (11,25079) Adding local stream 3. apiRTC-latest.min.debug.js (11,23773) No Stream to add apiRTC-latest.min.debug.js (11,24065) Before doCall() apiRTC-latest.min.debug.js (11,24133) Sending offer to peer. apiRTC-latest.min.debug.js (12,862) call is audio & video : apiRTC-latest.min.debug.js (12,1784) End of maybeStart apiRTC-latest.min.debug.js (11,24180) End of establishCall() apiRTC-latest.min.debug.js (11,20187) Call Number is :1 apiRTC-latest.min.debug.js (15,3044) send REFRESH controllers.js (442,21) session.webRTCPluginActivated = apiRTC-latest.min.debug.js (16,22809) managing call with browser apiRTC-latest.min.debug.js (16,22934) Click on Call Button, video activated : true apiRTC-latest.min.debug.js (15,1422) callConfiguration : apiRTC-latest.min.debug.js (15,1481) Status Div Null apiRTC-latest.min.debug.js (15,15113) New Call for client with Id :240419 apiRTC-latest.min.debug.js (11,8496) Calling destination number :86526 apiRTC-latest.min.debug.js (15,1637) new call with callId :162308 apiRTC-latest.min.debug.js (11,8640) callConfiguration is not set apiRTC-latest.min.debug.js (15,2331) checkDTLSCompliancy apiRTC-latest.min.debug.js (11,7640) getConnectedUsersList : complete users list apiRTC-latest.min.debug.js (17,23367) userData : apiRTC-latest.min.debug.js (17,24165) Establishing Web call apiRTC-latest.min.debug.js (15,2620) getUserMediaOnCall, audio Only :false apiRTC-latest.min.debug.js (11,9120) getUserMediaOnCall, screenSharing activated :false apiRTC-latest.min.debug.js (11,9184) webRTCClient.gum_config : apiRTC-latest.min.debug.js (11,9265) outgoing call apiRTC-latest.min.debug.js (11,9350) mediaTypeForOutgoingCall :VIDEO apiRTC-latest.min.debug.js (11,9467) getUserMediaOnCall without any device, calling without device apiRTC-latest.min.debug.js (11,9630) onUserMediaSuccessOnCall apiRTC-latest.min.debug.js (11,17291) isHTTPS()false apiRTC-latest.min.debug.js (11,17517) User has granted access to local media. apiRTC-latest.min.debug.js (11,17576) displayHangUpButtonInCommand apiRTC-latest.min.debug.js (15,15599) Status Div Null apiRTC-latest.min.debug.js (15,15113) webRTCClient.miniVideo.src :file:///android_asset/www/index.html apiRTC-latest.min.debug.js (11,18479) document.URL :file:///android_asset/www/index.html#/app/test apiRTC-latest.min.debug.js (11,18539) webRTCClient.userAcceptOnIncomingCall :false apiRTC-latest.min.debug.js (11,18961) this.callee :false apiRTC-latest.min.debug.js (11,19043) this.data.MCUType :undefined apiRTC-latest.min.debug.js (11,19099) establishCall() apiRTC-latest.min.debug.js (11,19332) maybeStart apiRTC-latest.min.debug.js (11,23056) Creating PeerConnection. apiRTC-latest.min.debug.js (11,23184) createPeerConnection apiRTC-latest.min.debug.js (11,24971) createPeerConnection with pc_config: apiRTC-latest.min.debug.js (11,25012) and pc_constraints: apiRTC-latest.min.debug.js (11,25079) Adding local stream 3. apiRTC-latest.min.debug.js (11,23773) No Stream to add apiRTC-latest.min.debug.js (11,24065) Before doCall() apiRTC-latest.min.debug.js (11,24133) Sending offer to peer. apiRTC-latest.min.debug.js (12,862) call is audio & video : apiRTC-latest.min.debug.js (12,1784) End of maybeStart apiRTC-latest.min.debug.js (11,24180) End of establishCall() apiRTC-latest.min.debug.js (11,20187) Call Number is :1 apiRTC-latest.min.debug.js (15,3044) send REFRESH controllers.js (442,21) session.webRTCPluginActivated = apiRTC-latest.min.debug.js (16,22809) managing call with browser apiRTC-latest.min.debug.js (16,22934) Click on Call Button, video activated : true apiRTC-latest.min.debug.js (15,1422) callConfiguration : apiRTC-latest.min.debug.js (15,1481) Status Div Null apiRTC-latest.min.debug.js (15,15113) New Call for client with Id :240419 apiRTC-latest.min.debug.js (11,8496) Calling destination number :86526 apiRTC-latest.min.debug.js (15,1637) new call with callId :635036 apiRTC-latest.min.debug.js (11,8640) callConfiguration is not set apiRTC-latest.min.debug.js (15,2331) checkDTLSCompliancy apiRTC-latest.min.debug.js (11,7640) getConnectedUsersList : complete users list apiRTC-latest.min.debug.js (17,23367) userData : apiRTC-latest.min.debug.js (17,24165) Establishing Web call apiRTC-latest.min.debug.js (15,2620) getUserMediaOnCall, audio Only :false apiRTC-latest.min.debug.js (11,9120) getUserMediaOnCall, screenSharing activated :false apiRTC-latest.min.debug.js (11,9184) webRTCClient.gum_config : apiRTC-latest.min.debug.js (11,9265) outgoing call apiRTC-latest.min.debug.js (11,9350) mediaTypeForOutgoingCall :VIDEO apiRTC-latest.min.debug.js (11,9467) webrtcDetectedVersion :59 apiRTC-latest.min.debug.js (11,11438) this.screenSharing :false apiRTC-latest.min.debug.js (11,11518) this.audioOnly :false apiRTC-latest.min.debug.js (11,11573) else not screensharing, not audioOnly apiRTC-latest.min.debug.js (11,13028) getUserMedia with userMediaConstraint :{"audio":{"mandatory":{},"optional":[]},"video":{"mandatory":{},"optional":[]}} apiRTC-latest.min.debug.js (11,13381) getUserMedia with promises apiRTC-latest.min.debug.js (11,13523) Requested access to local media with new syntax. apiRTC-latest.min.debug.js (11,13890) Call Number is :1 apiRTC-latest.min.debug.js (15,3044) setLocalAndSendMessageonOffer apiRTC-latest.min.debug.js (12,3464) sessionDescription = apiRTC-latest.min.debug.js (12,3510) mediaTypeForOutgoingCall is VIDEO apiRTC-latest.min.debug.js (12,4422) updateSDPcodecs(): sdpType = offer mediaType = audio availableCodecSet =

apiRTC-latest.min.debug.js (10,27183) updateSDPcodecs(): sdpType = offer mediaType = video availableCodecSet =

apiRTC-latest.min.debug.js (10,27183) Conf N to 1 apiRTC-latest.min.debug.js (12,5236) WebRTC_Stack::sendInvite() apiRTC-latest.min.debug.js (10,5588) call data is defined :[object Object] apiRTC-latest.min.debug.js (10,5908) C->S: {"type":"invite","callId":"406072","callerId":"240419","callerNickname":"240419","calleeId":"86526","roomId":"86526","sdpoffer":{"type":"offer","sdp":"v=0\r\no=- 5169406354224073927 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:8fbH\r\na=ice-pwd:soLXN2SbN8SK/mZJQxIBUgbv\r\na=fingerprint:sha-256 FA:6B:68:F5:1A:13:C2:FC:60:A5:8E:51:9B:C8:B9:B0:C3:4F:D3:DB:05:B7:AB:D4:AE:74:3B:13:C4:9D:FD:86\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 isac/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 cn/16000\r\na=rtpmap:13 cn/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 97 99 101 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:8fbH\r\na=ice-pwd:soLXN2SbN8SK/mZJQxIBUgbv\r\na=fingerprint:sha-256 FA:6B:68:F5:1A:13:C2:FC:60:A5:8E:51:9B:C8:B9:B0:C3:4F:D3:DB:05:B7:AB:D4:AE:74:3B:13:C4:9D:FD:86\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:4 urn:3gpp:video-orientation\r\na=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtpmap:100 red/90000\r\na=rtpmap:102 ulpfec/90000\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=fmtp:127 packetization-mode=1\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:104 rtx/90000\r\na=fmtp:104 apt=127\r\n"},"callType":"media","data":{}} apiRTC-latest.min.debug.js (10,6219) setLocalAndSendMessageonOffer apiRTC-latest.min.debug.js (12,3464) sessionDescription = apiRTC-latest.min.debug.js (12,3510) mediaTypeForOutgoingCall is VIDEO apiRTC-latest.min.debug.js (12,4422) updateSDPcodecs(): sdpType = offer mediaType = audio availableCodecSet =

apiRTC-latest.min.debug.js (10,27183) updateSDPcodecs(): sdpType = offer mediaType = video availableCodecSet =

apiRTC-latest.min.debug.js (10,27183) Conf N to 1 apiRTC-latest.min.debug.js (12,5236) WebRTC_Stack::sendInvite() apiRTC-latest.min.debug.js (10,5588) call data is defined :[object Object] apiRTC-latest.min.debug.js (10,5908) C->S: {"type":"invite","callId":"799227","callerId":"240419","callerNickname":"240419","calleeId":"86526","roomId":"86526","sdpoffer":{"type":"offer","sdp":"v=0\r\no=- 2081742726965759191 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Oanl\r\na=ice-pwd:EqEBcgPerdvl8ScVBEUDulDz\r\na=fingerprint:sha-256 A1:24:D1:F3:EA:90:AA:70:1A:9B:6B:21:11:61:68:1C:44:7A:BD:3F:35:BE:63:3E:DB:03:26:DA:03:12:3A:F0\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 isac/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 cn/16000\r\na=rtpmap:13 cn/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 97 99 101 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:Oanl\r\na=ice-pwd:EqEBcgPerdvl8ScVBEUDulDz\r\na=fingerprint:sha-256 A1:24:D1:F3:EA:90:AA:70:1A:9B:6B:21:11:61:68:1C:44:7A:BD:3F:35:BE:63:3E:DB:03:26:DA:03:12:3A:F0\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:4 urn:3gpp:video-orientation\r\na=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtpmap:100 red/90000\r\na=rtpmap:102 ulpfec/90000\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=fmtp:127 packetization-mode=1\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:104 rtx/90000\r\na=fmtp:104 apt=127\r\n"},"callType":"media","data":{}} apiRTC-latest.min.debug.js (10,6219) setLocalAndSendMessageonOffer apiRTC-latest.min.debug.js (12,3464) sessionDescription = apiRTC-latest.min.debug.js (12,3510) mediaTypeForOutgoingCall is VIDEO apiRTC-latest.min.debug.js (12,4422) updateSDPcodecs(): sdpType = offer mediaType = audio availableCodecSet =

apiRTC-latest.min.debug.js (10,27183) updateSDPcodecs(): sdpType = offer mediaType = video availableCodecSet =

apiRTC-latest.min.debug.js (10,27183) Conf N to 1 apiRTC-latest.min.debug.js (12,5236) WebRTC_Stack::sendInvite() apiRTC-latest.min.debug.js (10,5588) call data is defined :[object Object] apiRTC-latest.min.debug.js (10,5908) C->S: {"type":"invite","callId":"162308","callerId":"240419","callerNickname":"240419","calleeId":"86526","roomId":"86526","sdpoffer":{"type":"offer","sdp":"v=0\r\no=- 4184672041691186776 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:lg8K\r\na=ice-pwd:EfgpSR2QnT0COn/STYLXCglz\r\na=fingerprint:sha-256 DE:CC:EC:0A:E3:99:B1:C4:3D:B3:A8:3A:17:E3:3D:42:88:F6:42:64:30:3E:16:7D:D9:51:27:27:61:DD:E7:66\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 isac/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 cn/16000\r\na=rtpmap:13 cn/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 97 99 101 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:lg8K\r\na=ice-pwd:EfgpSR2QnT0COn/STYLXCglz\r\na=fingerprint:sha-256 DE:CC:EC:0A:E3:99:B1:C4:3D:B3:A8:3A:17:E3:3D:42:88:F6:42:64:30:3E:16:7D:D9:51:27:27:61:DD:E7:66\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:4 urn:3gpp:video-orientation\r\na=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtpmap:100 red/90000\r\na=rtpmap:102 ulpfec/90000\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=fmtp:127 packetization-mode=1\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:104 rtx/90000\r\na=fmtp:104 apt=127\r\n"},"callType":"media","data":{}} apiRTC-latest.min.debug.js (10,6219) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"contacting","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["86526"],"connectedUsersListWithStatus":[{"userId":"86526","callState":"contacted","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"86526","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["240419"],"connectedUsersListWithStatus":[{"userId":"240419","callState":"contacting","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"240419","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"updatePresence","group":"default","connectedUsersList":["86526"],"connectedUsersListWithStatus":[{"userId":"86526","callState":"contacted","userData":{"webRtcCompliant":"false","dtlsCompliant":"true","id":"86526","audioDevicePresent":"true","videoDevicePresent":"true"}}],"state":"online"} apiRTC-latest.min.debug.js (10,4672) updatePresence apiRTC-latest.min.debug.js (17,31451) updatePresence[object Object] apiRTC-latest.min.debug.js (17,27059) updatePresence for group :default apiRTC-latest.min.debug.js (17,27092) manageConnectedUsersList apiRTC-latest.min.debug.js (17,20508) manageConnectedUsersList.length :1 apiRTC-latest.min.debug.js (17,20578) this.connectedUsersList.length :4 apiRTC-latest.min.debug.js (17,20636) state :online apiRTC-latest.min.debug.js (17,20715) group :default apiRTC-latest.min.debug.js (17,20740) state : online apiRTC-latest.min.debug.js (17,20819) connectedUsersListWithStatus :0 apiRTC-latest.min.debug.js (17,20873) displayConnectedUsersList apiRTC-latest.min.debug.js (17,26827) User :86526 on group :default apiRTC-latest.min.debug.js (17,26923) User :240419 on group :default apiRTC-latest.min.debug.js (17,26923) User :593335 on group :default apiRTC-latest.min.debug.js (17,26923) User :719085 on group :default apiRTC-latest.min.debug.js (17,26923) onChannelMessage apiRTC-latest.min.debug.js (10,4639) S->C: {"type":"bye","callId":"799227","clientId":"86526","roomId":"86526","dst":"240419","reason":"Call_Crossing_Detected","data":{}} apiRTC-latest.min.debug.js (10,4672) bye message from:86526 for callId : 799227 apiRTC-latest.min.debug.js (17,28744) onRemoteHangup apiRTC-latest.min.debug.js (14,20525) callId :799227 apiRTC-latest.min.debug.js (14,20567) confId :undefined apiRTC-latest.min.debug.js (14,20593) removeCallFromTableWithCallIdandRemoteId() with reason :Call_Crossing_Detected apiRTC-latest.min.debug.js (14,25411) callId :799227 apiRTC-latest.min.debug.js (14,25486) remoteId :86526 apiRTC-latest.min.debug.js (14,25512) findCallIndexWithCallIdAndRemoteId apiRTC-latest.min.debug.js (15,11211) callsNumber : 1 apiRTC-latest.min.debug.js (15,11299) Call not found apiRTC-latest.min.debug.js (15,11743) removeCall apiRTC-latest.min.debug.js (14,23816) No call removed apiRTC-latest.min.debug.js (14,25077) Reason : Call_Crossing_Detected apiRTC-latest.min.debug.js (14,20744) Status Div Null apiRTC-latest.min.debug.js (15,15113)

FredLuart commented 7 years ago

There is an issue on your application : you are trying to establish 4 calls at the same time ... Check log : "New Call for client with Id"

alindzon commented 7 years ago

Not on purpose, what exactly is causing it?

Here is the view

test page
Registration Ongoing...

Here is the controller //test controller .controller('testCtrl', function ($rootScope, $scope) { refreshVideoView = function () { if (typeof device !== "undefined" && device.platform === 'iOS') { console.log("REFRESH"); cordova.plugins.iosrtc.refreshVideos(); } }; incomingCallHandler = function (e) { $("#call").hide(); $("#number").hide(); $("#hangup").show(); $('#status').hide(); setTimeout(refreshVideoView, 2000); }; hangupHandler = function (e) { $("#call").show(); $("#number").show(); $("#hangup").hide(); $('#status').html(e.detail.reason); $('#status').show(); }; userMediaErrorHandler = function (e) { $("#call").show(); $("#number").show(); $("#hangup").hide(); }; remoteStreamAddedHandler = function (e) { refreshVideoView(); }; sessionReadyHandler = function (e) { apiRTC.addEventListener("incomingCall", incomingCallHandler); apiRTC.addEventListener("userMediaError", userMediaErrorHandler); apiRTC.addEventListener("remoteStreamAdded", remoteStreamAddedHandler); apiRTC.addEventListener("hangup", hangupHandler); var webRTCClient = apiCC.session.createWebRTCClient({ minilocalVideo: "myMiniVideo", remoteVideo: "myRemoteVideo" }); $('#localNumber').html("Your local ID :
" + apiCC.session.apiCCId); $('#myMiniVideo').show(); $('#status').hide(); $("#call").click(function () { $("#call").hide(); $("#number").hide(); $("#hangup").show(); $('#status').hide(); destNumber = $("#number").val(); console.log("send REFRESH"); setTimeout(refreshVideoView, 4000); webRTCClient.call(destNumber); }); $("#hangup").click(function () { $("#call").show(); $("#number").show(); $("#hangup").hide(); webRTCClient.hangUp(); }); }; if (typeof device !== "undefined" && device.platform === 'Android') { var permissions = cordova.plugins.permissions; permissions.checkPermission(permissions.CAMERA, function (status) { if (!status.hasPermission) { var errorCallback = function () { alert('Camera permission is not turned on'); }; permissions.requestPermission( permissions.CAMERA, function (status) { if (!status.hasPermission) { errorCallback(); } }, errorCallback); } }

        , null);
    permissions.checkPermission(permissions.RECORD_AUDIO, function (status) {
        if (!status.hasPermission) {
            var errorCallback = function () {
                alert('Audio permission is not turned on');
            };
            permissions.requestPermission(
                    permissions.RECORD_AUDIO,
                    function (status) {
                        if (!status.hasPermission) {
                            errorCallback();
                        }
                    },
                    errorCallback);
        }
    }
    , null);
}
apiRTC.init({
    //apiCCId : "12", // Your can overide your number
    onReady: sessionReadyHandler,
    apiKey: "***"
});

})

From: Frederic Luart [mailto:notifications@github.com] Sent: July 4, 2017 9:17 AM To: apizee/ApiRTC-examples ApiRTC-examples@noreply.github.com Cc: Andrew Lindzon andrew@ashlin.ca; Author author@noreply.github.com Subject: Re: [apizee/ApiRTC-examples] API key is visible (#1)

There is an issue on your application : you are trying to establish 4 calls at the same time ... Check log : "New Call for client with Id"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/apizee/ApiRTC-examples/issues/1#issuecomment-312875444, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI5Vb88egP--gYqIpikhwp-pvsf-_gY0ks5sKjs_gaJpZM4OLXM7.

FredLuart commented 7 years ago

I don't know, you have to check why your code is called four time:

    $("#call").click(function () {
        $("#call").hide();
        $("#number").hide();
        $("#hangup").show();
        $('#status').hide();
        destNumber = $("#number").val();
        console.log("send REFRESH");
        setTimeout(refreshVideoView, 4000);
        webRTCClient.call(destNumber);
    });

You can check in the log : your log 'send REFRESH' is displayed four time

alindzon commented 7 years ago

Has anyone already made this work using ionic? Perhaps I did not take the best approach moving your cordova code to ionic. Would be great if you have an ionic example.

From: Frederic Luart [mailto:notifications@github.com] Sent: July 4, 2017 9:32 AM To: apizee/ApiRTC-examples ApiRTC-examples@noreply.github.com Cc: Andrew Lindzon andrew@ashlin.ca; Author author@noreply.github.com Subject: Re: [apizee/ApiRTC-examples] API key is visible (#1)

I don't know, you have to check why your code is called four time:

$("#call").click(function () {

    $("#call").hide();

    $("#number").hide();

    $("#hangup").show();

    $('#status').hide();

    destNumber = $("#number").val();

    console.log("send REFRESH");

    setTimeout(refreshVideoView, 4000);

    webRTCClient.call(destNumber);

});

You can check in the log : your log 'send REFRESH' is displayed four time

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/apizee/ApiRTC-examples/issues/1#issuecomment-312879163, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI5Vb2mCHNx6nt5DthDBkem70R5-l38Jks5sKj7OgaJpZM4OLXM7.

alindzon commented 7 years ago

I found the bug, apiRTC.init was executing more than once.

That is fixed now.

Here are my questions which are related to details missing from Documentation.

I asked this in stackoverflow in case you want to answer it there.

favoritehttps://stackoverflow.com/questions/44895165/example-of-presencegroup-used-in-apirtc-init

In the documentation it is indicated that presenceGroup and subscribeToPresenceGroup can be set in the apiRTCinit. They are json parameters, but what exactly is the format? What do they each do, they sound redundant, so I am not clear.

From: Frederic Luart [mailto:notifications@github.com] Sent: July 4, 2017 9:32 AM To: apizee/ApiRTC-examples ApiRTC-examples@noreply.github.com Cc: Andrew Lindzon andrew@ashlin.ca; Author author@noreply.github.com Subject: Re: [apizee/ApiRTC-examples] API key is visible (#1)

I don't know, you have to check why your code is called four time:

$("#call").click(function () {

    $("#call").hide();

    $("#number").hide();

    $("#hangup").show();

    $('#status').hide();

    destNumber = $("#number").val();

    console.log("send REFRESH");

    setTimeout(refreshVideoView, 4000);

    webRTCClient.call(destNumber);

});

You can check in the log : your log 'send REFRESH' is displayed four time

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/apizee/ApiRTC-examples/issues/1#issuecomment-312879163, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI5Vb2mCHNx6nt5DthDBkem70R5-l38Jks5sKj7OgaJpZM4OLXM7.

FredLuart commented 7 years ago

Closing the issue - other subject answered on stackoverflow