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.
16 lines (15 loc) • 836 B
TypeScript
import { LiveSubtitle } from '../producers/socket-receive-methods/translation-receive-methods.service';
import * as i0 from "@angular/core";
export declare class LiveSubtitleService {
private liveSubtitlesSubject;
private showSubtitlesOnCardsSubject;
liveSubtitles$: import("rxjs").Observable<Map<string, LiveSubtitle>>;
showSubtitlesOnCards$: import("rxjs").Observable<boolean>;
setLiveSubtitles(subtitles: Map<string, LiveSubtitle>): void;
getLiveSubtitles(): Map<string, LiveSubtitle>;
setShowSubtitlesOnCards(show: boolean): void;
getShowSubtitlesOnCards(): boolean;
getSubtitleForSpeaker(speakerId: string, speakerName: string): LiveSubtitle | null;
static ɵfac: i0.ɵɵFactoryDeclaration<LiveSubtitleService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LiveSubtitleService>;
}