Commit 1995d573 authored by Muhammadali's avatar Muhammadali

update-

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