mediasfu-angular
Version:
mediasfu-angular - Angular 17/18/19 WebRTC SDK for video conferencing, webinars, broadcasts, live streaming, chat, recording, whiteboard, and AI agents. Prebuilt rooms and fully custom UIs.
20 lines (19 loc) • 830 B
TypeScript
import { Socket } from 'socket.io-client';
import { Participant, ShowAlert } from '../../@types/types';
import * as i0 from "@angular/core";
export type PermissionLevel = '0' | '1' | '2';
export interface UpdateParticipantPermissionOptions {
socket: Socket;
participant: Participant;
newLevel: PermissionLevel;
member: string;
islevel: string;
roomName: string;
showAlert?: ShowAlert;
}
export type UpdateParticipantPermissionType = (options: UpdateParticipantPermissionOptions) => Promise<void>;
export declare class UpdateParticipantPermission {
updateParticipantPermission(options: UpdateParticipantPermissionOptions): Promise<void>;
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateParticipantPermission, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<UpdateParticipantPermission>;
}