kwikid-components
Version:
KwikID's Components Library
38 lines (37 loc) • 1.48 kB
TypeScript
import { ElementRef, EventEmitter, OnInit } from "@angular/core";
import * as i0 from "@angular/core";
interface UserService {
isSDK: boolean;
platform: string;
}
export declare class KwikIDRTCConnectionCheckerComponent implements OnInit {
videoPlayer: ElementRef;
secondaryPlayer: ElementRef;
mediaService: any;
livekitService: any;
userService: UserService;
networkConnectionStateChange: EventEmitter<any>;
primaryVideoElement: HTMLVideoElement;
secondaryVideoElement: HTMLVideoElement;
steps: string[];
activeStep: string;
isFrontCam: boolean;
processStep1: string;
processStep2: string;
private streamImageInterval;
constructor();
ngOnInit(): void;
ngOnDestroy(): void;
livekitProcess(): Promise<void>;
switchCameraHtml(): void;
private updateProcessSteps;
private emitNetworkConnectionStateChange;
playUserPreview(): Promise<void>;
private shouldRenderImage;
private toggleSecondaryVideoVisibility;
private renderCameraStream;
private renderStreamImage;
static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDRTCConnectionCheckerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDRTCConnectionCheckerComponent, "kwikid-rtc-connection-checker", never, { "mediaService": "mediaService"; "livekitService": "livekitService"; "userService": "userService"; }, { "networkConnectionStateChange": "networkConnectionStateChange"; }, never, never>;
}
export {};