fix bugs
This commit is contained in:
parent
c55dda6ae3
commit
e4d37ff327
2 changed files with 7 additions and 5 deletions
|
@ -79,6 +79,7 @@ class Voice {
|
|||
private pstatus: string = "not connected";
|
||||
public onSatusChange: (e: string) => unknown = () => {};
|
||||
set status(e: string) {
|
||||
console.log("state changed: " + e);
|
||||
this.pstatus = e;
|
||||
this.onSatusChange(e);
|
||||
}
|
||||
|
@ -672,6 +673,7 @@ a=rtcp-mux\r`;
|
|||
}
|
||||
}
|
||||
async leave() {
|
||||
console.warn("leave");
|
||||
this.open = false;
|
||||
this.status = "Left voice chat";
|
||||
if (this.ws) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue