backend: Add TODO in LiveKitService for deprecated warning
This commit is contained in:
parent
d354191815
commit
499e36786b
@ -181,7 +181,7 @@ export class LiveKitService {
|
|||||||
try {
|
try {
|
||||||
const options: ListEgressOptions = {
|
const options: ListEgressOptions = {
|
||||||
roomName,
|
roomName,
|
||||||
egressId,
|
egressId
|
||||||
};
|
};
|
||||||
return await this.egressClient.listEgress(options);
|
return await this.egressClient.listEgress(options);
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
@ -220,6 +220,7 @@ export class LiveKitService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isEgressParticipant(participant: ParticipantInfo): boolean {
|
isEgressParticipant(participant: ParticipantInfo): boolean {
|
||||||
|
// TODO: Remove deprecated warning by using ParticipantInfo_Kind: participant.kind === ParticipantInfo_Kind.EGRESS;
|
||||||
return participant.identity.startsWith('EG_') && participant.permission?.recorder === true;
|
return participant.identity.startsWith('EG_') && participant.permission?.recorder === true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user