/ fm / liveswitch / WssRemoteMediaStreamer
Class: WssRemoteMediaStreamer
fm.liveswitch.WssRemoteMediaStreamer
Table of contents
Constructors
Properties
Methods
- getAudioFrameRate
- getAudioJitter
- getAudioStats
- getPorts
- getVideoFrameRate
- getVideoJitter
- getVideoStats
- handleAudioTrackMuted
- handleAudioTrackStopped
- handleAudioTrackUnmuted
- start
- stop
- subscribeAudioTrack
- unsubscribeAudioTrack
Constructors
constructor
+ new WssRemoteMediaStreamer(remoteMedia
: RemoteMedia, demuxer
: WssDemuxer, manager
: WssManager, audioStreamId
: number, videoStreamId
: number, videoStreamInfo
: MediaStreamInfo): WssRemoteMediaStreamer
Parameters:
Name | Type |
---|---|
remoteMedia |
RemoteMedia |
demuxer |
WssDemuxer |
manager |
WssManager |
audioStreamId |
number |
videoStreamId |
number |
videoStreamInfo |
MediaStreamInfo |
Returns: WssRemoteMediaStreamer
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:61
Properties
_defaultCanvasStreamFps
• Private
_defaultCanvasStreamFps: number= 30
interval
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:39
Methods
getAudioFrameRate
▸ getAudioFrameRate(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:175
getAudioJitter
▸ getAudioJitter(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:167
getAudioStats
▸ getAudioStats(): Promise<{ [key: string]: number; }>
Returns: Promise<{ [key: string]: number; }>
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:179
getPorts
▸ Private
getPorts(messageChannel
: MessageChannel): object
Parameters:
Name | Type |
---|---|
messageChannel |
MessageChannel |
Returns: object
Name | Type |
---|---|
inbound |
MessagePort |
outbound |
MessagePort |
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:282
getVideoFrameRate
▸ getVideoFrameRate(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:171
getVideoJitter
▸ getVideoJitter(): number
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:163
getVideoStats
▸ getVideoStats(): Promise<{ [key: string]: number; }>
Returns: Promise<{ [key: string]: number; }>
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:183
handleAudioTrackMuted
▸ Private
handleAudioTrackMuted(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:215
handleAudioTrackStopped
▸ Private
handleAudioTrackStopped(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:223
handleAudioTrackUnmuted
▸ Private
handleAudioTrackUnmuted(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:219
start
▸ start(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:80
stop
▸ stop(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:135
subscribeAudioTrack
▸ Private
subscribeAudioTrack(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:187
unsubscribeAudioTrack
▸ Private
unsubscribeAudioTrack(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssRemoteMediaStreamer.ts:203