- Preparing search index...
- The search index is not available
matrix-js-sdk
Constructors
constructor
- new MediaTrackStats(trackId: string, type: TrackStatsType, kind: "audio" | "video"): MediaTrackStats
-
Parameters
-
trackId: string
-
-
kind: "audio" | "video"
Properties
Private
codec
codec: string = ""
Private
framerate
framerate: number = 0
Readonly
kind
kind: "audio" | "video"
Readonly
trackId
trackId: string
Methods
getCodec
- getCodec(): string
-
Returns string
getFramerate
- getFramerate(): number
-
Returns number
resetBitrate
- resetBitrate(): void
-
Returns void
setBitrate
- setBitrate(bitrate: Bitrate): void
-
Returns void
setCodec
- setCodec(codecShortType: string): boolean
-
Returns boolean
setFramerate
- setFramerate(framerate: number): void
-
Returns void
setResolution
- setResolution(resolution: Resolution): void
-
Returns void