DefinitelyTyped

Index

Variables

Interfaces

Variables

MediaStream: MediaStream

public ended: boolean

public id: string

public label: string

public onended: (event: Event) => void

public getAudioTracks(): MediaStreamTrackList

Returns

MediaStreamTrackList

public getVideoTracks(): MediaStreamTrackList

Returns

MediaStreamTrackList

MediaStreamConstraints: MediaStreamConstraints

public audio: any

public video: any

MediaStreamTrack: MediaStreamTrack

public ENDED: number

public LIVE: number

public MUTED: number

public enabled: boolean

public kind: string

public label: string

public onended: (event: Event) => void

public onmute: (event: Event) => void

public onunmute: (event: Event) => void

public readyState: number

MediaStreamTrackList: MediaStreamTrackList

public item: MediaStreamTrack

public length: number

public onaddtrack: (event: Event) => void

public onremovetrack: (event: Event) => void

public add(track: MediaStreamTrack)

Parameters

public remove(track: MediaStreamTrack)

Parameters

MediaTrackConstraint: MediaTrackConstraint

MediaTrackConstraintSet: MediaTrackConstraintSet

MediaTrackConstraints: MediaTrackConstraints

public mandatory: MediaTrackConstraintSet

public optional: MediaTrackConstraint[]

NavigatorUserMediaError: NavigatorUserMediaError

public PERMISSION_DENIED: number

public code: number

SourceInfo: SourceInfo

public facing: string

public id: string

public kind: string

public label: string

webkitMediaStream: { prototype: MediaStream; new(): MediaStream; new(trackContainers: MediaStream[]): MediaStream; new(trackContainers: MediaStreamTrackList[]): MediaStream; new(trackContainers: MediaStreamTrack[]): MediaStream; }

constructor(): MediaStream

Returns

MediaStream

constructor(): MediaStream

Returns

MediaStream

constructor(): MediaStream

Returns

MediaStream

constructor(): MediaStream

Returns

MediaStream

public webkitMediaStream.prototype: MediaStream

webkitMediaStreamTrackList: { prototype: MediaStreamTrackList; new(): MediaStreamTrackList; }

constructor(): MediaStreamTrackList

Returns

MediaStreamTrackList

public webkitMediaStreamTrackList.prototype: MediaStreamTrackList

webkitURL: { prototype: WebkitURL; createObjectURL(stream: MediaStream): string; new(): streamURL; }

constructor(): streamURL

Returns

streamURL

public webkitURL.prototype: WebkitURL

public createObjectURL(): string

Returns

string

.stream.stream: MediaStream