UNPKG

@skyway-sdk/core

Version:

The official Next Generation JavaScript SDK for SkyWay

22 lines 841 B
import { type ContentType } from '../base'; import { RemoteStreamBase } from './base'; export declare abstract class RemoteMediaStreamBase extends RemoteStreamBase { readonly id: string; readonly contentType: ContentType; readonly track: MediaStreamTrack; private _element?; constructor(id: string, contentType: ContentType, track: MediaStreamTrack); /**@internal */ setIsEnabled(b: boolean): void; /** * @description [english] Attach the stream to the element. * @description [japanese] streamをelementに適用する. */ attach(element: HTMLVideoElement | HTMLAudioElement): void; /** * @description [english] Detach the stream from the element. * @description [japanese] elementからstreamを取り除く. */ detach(): void; } //# sourceMappingURL=media.d.ts.map