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.
46 lines (45 loc) • 1.99 kB
TypeScript
import { Socket } from 'socket.io-client';
import { RePortType, UserRecordingParams, CaptureCanvasStreamType, CaptureCanvasStreamParameters, RePortParameters, ShowAlert } from '../../@types/types';
import { RecordResumeTimerParameters } from './record-resume-timer.service';
import * as i0 from "@angular/core";
export interface StartRecordingParameters extends CaptureCanvasStreamParameters, RePortParameters, RecordResumeTimerParameters {
roomName: string;
userRecordingParams: UserRecordingParams;
socket: Socket;
localSocket?: Socket;
updateIsRecordingModalVisible: (visible: boolean) => void;
confirmedToRecord: boolean;
showAlert?: ShowAlert;
recordingMediaOptions: string;
videoAlreadyOn: boolean;
audioAlreadyOn: boolean;
recordStarted: boolean;
recordPaused: boolean;
recordResumed: boolean;
recordStopped: boolean;
startReport: boolean;
endReport: boolean;
canRecord: boolean;
updateClearedToRecord: (cleared: boolean) => void;
updateRecordStarted: (started: boolean) => void;
updateRecordPaused: (paused: boolean) => void;
updateRecordResumed: (resumed: boolean) => void;
updateStartReport: (started: boolean) => void;
updateEndReport: (ended: boolean) => void;
updateCanRecord: (canRecord: boolean) => void;
whiteboardStarted: boolean;
whiteboardEnded: boolean;
rePort: RePortType;
captureCanvasStream: CaptureCanvasStreamType;
getUpdatedAllParams: () => StartRecordingParameters;
[key: string]: any;
}
export interface StartRecordingOptions {
parameters: StartRecordingParameters;
}
export type StartRecordingType = (options: StartRecordingOptions) => Promise<boolean | undefined>;
export declare class StartRecording {
startRecording: ({ parameters }: StartRecordingOptions) => Promise<boolean | undefined>;
static ɵfac: i0.ɵɵFactoryDeclaration<StartRecording, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<StartRecording>;
}