video issues resolved

This commit is contained in:
venbatechnologies@gmail.com 2021-09-24 22:59:54 +05:30
parent f93f5f7292
commit 1cbb5b036e

View File

@ -138,6 +138,8 @@ export class TwilioService {
});
let withoutcustomer = this.getWithOutCustomer(this.roomParticipants)
console.log('getWithOutCustomer',withoutcustomer)
console.log('count');
console.log(withoutcustomer);
if((this.user_data.type == '2'|| this.user_data.type == '1') && (withoutcustomer == '1')) {
@ -146,7 +148,7 @@ export class TwilioService {
console.log("connected api",params)
this.sendRoomandStatus(params).subscribe(rr=>{})
}
else if(this.user_data.type == '3' && withoutcustomer == '0'){
else if(this.user_data.type == '3' && withoutcustomer == '1'){
console.log("User type in service",this.user_data)
let params = {"fk_pd_id":this.user_data.pd_id,"room_id":this.roomObj.sid,"is_call_ended":"0"}