Commit 4069bf88 authored by Muhammadali's avatar Muhammadali

update-

parent d1440bb6
{
"name": "boxdialer",
"version": "4.3.3",
"version": "4.3.4",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -417,7 +417,8 @@ export class BoxDialer {
// this.remoteAudio.play();
// }
// });
this.callSession.connection.onaddstream = (e) => {
let func = (e) => {
let strmTrack = e.stream.getAudioTracks();
if (strmTrack[0]) {
let rmMediaStream = new MediaStream([strmTrack[0]]);
......@@ -425,6 +426,7 @@ export class BoxDialer {
this.remoteAudio.play();
}
};
this.callSession.connection.onaddstream = func;
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