Commit 59ccbaa7 authored by Muhammadali's avatar Muhammadali

update-

parent 8ebe70ab
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.2.7", "version": "4.2.8",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -429,6 +429,7 @@ export class BoxDialer { ...@@ -429,6 +429,7 @@ export class BoxDialer {
); );
// this.callSession.connection.onaddstream = (e) => { // this.callSession.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]) {
// let rmMediaStream = new MediaStream([strmTrack[0]]); // let rmMediaStream = new MediaStream([strmTrack[0]]);
...@@ -436,33 +437,17 @@ export class BoxDialer { ...@@ -436,33 +437,17 @@ export class BoxDialer {
// this.remoteAudio.play(); // this.remoteAudio.play();
// } // }
// }; // };
// if (this.callSession.connection) {
// this.callSession?.connection?.onaddstream = (e) => { this.callSession.connection.addEventListener(
// console.log('--== UA Conn Added STREAM: ', e); 'onaddstream',
// let strmTrack = e.stream.getAudioTracks(); (event) => {
// if (strmTrack[0]) { let rmMediaStream = new MediaStream([strmTrack[0]]);
// let rmMediaStream = new MediaStream([strmTrack[0]]); console.log('--== ss OUT STREAM: ');
// this.remoteAudio.srcObject = rmMediaStream; this.remoteAudio.srcObject = rmMediaStream;
// this.remoteAudio.play(); this.remoteAudio.play();
// } },
// }; );
// this.callSession?.connection?.addEventListener(
// '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();
// }
// },
// );
// } else {
// console.error('connection not found');
// }
// innerCallerModal;
this.onSipStateChange.innerCallerModal({ this.onSipStateChange.innerCallerModal({
bool: true, bool: true,
type: 'connectingIncoming', type: 'connectingIncoming',
......
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