Commit afe92bda authored by Muhammadali's avatar Muhammadali

update-

parent f557fe27
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.1.1", "version": "4.1.2",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -400,7 +400,7 @@ export class BoxDialer { ...@@ -400,7 +400,7 @@ export class BoxDialer {
}); });
this.ua.on('newRTCSession', (data) => { this.ua.on('newRTCSession', (data) => {
console.log('%c newRTCSession: ', 'font-size: 22px; color: yellow;'); console.log('%c newRTCSession: ', 'font-size: 22px; color: yellow;', data);
this.callSession = data.session; this.callSession = data.session;
this.setGuiPhoneState({ this.setGuiPhoneState({
funcName: 'modalState', funcName: 'modalState',
...@@ -409,7 +409,7 @@ export class BoxDialer { ...@@ -409,7 +409,7 @@ export class BoxDialer {
callType: 'connected', callType: 'connected',
}, },
}); });
data.session.connection.onaddstream = (e) => { data?.session?.connection?.onaddstream = (e) => {
console.log('--== UA Conn Added STREAM: ', e); console.log('--== UA Conn Added STREAM: ', e);
let strmTrack = e.stream.getAudioTracks(); let strmTrack = e.stream.getAudioTracks();
if (strmTrack[0]) { if (strmTrack[0]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment