Commit 1bb9019e authored by Muhammadali's avatar Muhammadali

update-

parent 2559affc
{
"name": "boxdialer",
"version": "4.2.9",
"version": "4.3.0",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -424,12 +424,12 @@ export class BoxDialer {
this.callSession.connection.onaddstream = (e) => {
console.log('--== UA Conn Added STREAM: ', e);
// let strmTrack = e.stream.getAudioTracks();
// if (strmTrack[0]) {
// let rmMediaStream = new MediaStream([strmTrack[0]]);
// this.remoteAudio.srcObject = rmMediaStream;
// this.remoteAudio.play();
// }
let strmTrack = e.stream.getAudioTracks();
if (strmTrack[0]) {
let rmMediaStream = new MediaStream([strmTrack[0]]);
this.remoteAudio.srcObject = rmMediaStream;
this.remoteAudio.play();
}
};
this.setGuiPhoneState({
......
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