video issues resolved
This commit is contained in:
parent
f93f5f7292
commit
1cbb5b036e
@ -138,6 +138,8 @@ export class TwilioService {
|
|||||||
});
|
});
|
||||||
let withoutcustomer = this.getWithOutCustomer(this.roomParticipants)
|
let withoutcustomer = this.getWithOutCustomer(this.roomParticipants)
|
||||||
console.log('getWithOutCustomer',withoutcustomer)
|
console.log('getWithOutCustomer',withoutcustomer)
|
||||||
|
console.log('count');
|
||||||
|
console.log(withoutcustomer);
|
||||||
|
|
||||||
if((this.user_data.type == '2'|| this.user_data.type == '1') && (withoutcustomer == '1')) {
|
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)
|
console.log("connected api",params)
|
||||||
this.sendRoomandStatus(params).subscribe(rr=>{})
|
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)
|
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"}
|
let params = {"fk_pd_id":this.user_data.pd_id,"room_id":this.roomObj.sid,"is_call_ended":"0"}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user