Commit 1995d573 authored by Muhammadali's avatar Muhammadali

update-

parent 95749fb3
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.4.0", "version": "4.4.1",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -404,18 +404,14 @@ export class BoxDialer { ...@@ -404,18 +404,14 @@ export class BoxDialer {
data, data,
); );
this.callSession = data.session; this.callSession = data.session;
console.log(
'this_callSession_connection: ',
this.callSession.connection,
);
this.callSession.connection.onaddstream = (e) => { // this.callSession?.connection?.onaddstream = (e) => {
this.strmTrack = e.stream.getAudioTracks(); // this.strmTrack = e.stream.getAudioTracks();
if (this.strmTrack[0]) { // if (this.strmTrack[0]) {
this.remoteAudio.srcObject = new MediaStream([this.strmTrack[0]]); // this.remoteAudio.srcObject = new MediaStream([this.strmTrack[0]]);
this.remoteAudio.play(); // this.remoteAudio.play();
} // }
}; // };
this.setGuiPhoneState({ this.setGuiPhoneState({
funcName: 'modalState', funcName: 'modalState',
......
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