/ fm / liveswitch / WssVideoDecoder
Class: WssVideoDecoder
fm.liveswitch.WssVideoDecoder
Table of contents
Constructors
Methods
Constructors
constructor
+ new WssVideoDecoder(width
: number, height
: number, fps
: number): WssVideoDecoder
Parameters:
Name | Type |
---|---|
width |
number |
height |
number |
fps |
number |
Returns: WssVideoDecoder
Defined in: Generated/TypeScript/fm.liveswitch/WssVideoDecoder.ts:20
Methods
addOnDecodedVideo
▸ addOnDecodedVideo(receiver
: IAction1<any>): void
Parameters:
Name | Type |
---|---|
receiver |
IAction1<any> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssVideoDecoder.ts:42
addOnKeyFrameRequest
▸ addOnKeyFrameRequest(receiver
: IAction0): void
Parameters:
Name | Type |
---|---|
receiver |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssVideoDecoder.ts:50
decode
▸ decode(frame
: ArrayBuffer, timestamp
: number, isKeyFrame
: boolean): void
Parameters:
Name | Type |
---|---|
frame |
ArrayBuffer |
timestamp |
number |
isKeyFrame |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssVideoDecoder.ts:58
removeOnDecodedVideo
▸ removeOnDecodedVideo(receiver
: IAction1<any>): void
Parameters:
Name | Type |
---|---|
receiver |
IAction1<any> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssVideoDecoder.ts:46
removeOnKeyFrameRequest
▸ removeOnKeyFrameRequest(receiver
: IAction0): void
Parameters:
Name | Type |
---|---|
receiver |
IAction0 |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssVideoDecoder.ts:54
stop
▸ stop(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WssVideoDecoder.ts:90