Skip to content

Commit

Permalink
fix: record error (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux authored Aug 30, 2023
1 parent d76c4a3 commit ba36927
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/modules/Webphone/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,4 +503,13 @@ export class Webphone extends WebphoneBase {
});
}
}

updateRecordStatus(sessionId, status) {
const session = this.originalSessions[sessionId];
if (!session) {
return;
}
session.__rc_recordStatus = status;
this._updateSessions();
}
}

0 comments on commit ba36927

Please sign in to comment.