UNPKG

@phenixrts/sdk

Version:
15 lines (14 loc) 585 B
import { Second, Millisecond } from '../../units/Units'; import { EncodedEdgeToken } from '../../edgeAuth/EncodedEdgeToken'; import ProtectedChannel from './ProtectedChannel'; export type CreateProtectedChannelOptions = { videoElement: HTMLVideoElement; token: EncodedEdgeToken; targetLag?: Millisecond; targetPlayoutBufferDuration?: Second; }; export default class ProtectedChannels { static createProtectedChannel(options: CreateProtectedChannelOptions): ProtectedChannel; static get isFrameTimingInformationSupported(): boolean; private constructor(); }