mirror of https://github.com/OpenVidu/openvidu.git
ov-components: rename participantId to participantName in ParticipantLeftEvent and update disconnect method
parent
272eb9002c
commit
288a585809
|
@ -508,7 +508,7 @@ export class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
async disconnect() {
|
||||
const event: ParticipantLeftEvent = {
|
||||
roomName: this.openviduService.getRoomName(),
|
||||
participantId: this.participantService.getLocalParticipant()?.identity || ''
|
||||
participantName: this.participantService.getLocalParticipant()?.identity || ''
|
||||
};
|
||||
try {
|
||||
await this.openviduService.disconnectRoom();
|
||||
|
|
|
@ -18,7 +18,7 @@ import {
|
|||
|
||||
export interface ParticipantLeftEvent {
|
||||
roomName: string;
|
||||
participantId: string;
|
||||
participantName: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue