/ fm / liveswitch / MediaComponentReport
Class: MediaComponentReport
fm.liveswitch.MediaComponentReport
Media component report.
Hierarchy
-
↳ MediaComponentReport
Table of contents
Constructors
Methods
- deserializeProperties
- getFirCount
- getLrrCount
- getNackCount
- getPliCount
- getSliCount
- getTypeString
- serializeProperties
- setFirCount
- setLrrCount
- setNackCount
- setPliCount
- setSliCount
- processArray
- processBoolean
- processBooleanArray
- processDouble
- processFloat
- processFloatArray
- processInteger
- processIntegerArray
- processLong
- processLongArray
- processObject
- processShort
- processShortArray
- processString
Constructors
constructor
+ new MediaComponentReport(): MediaComponentReport
Initializes a new instance of the [[fm.liveswitch.mediaComponentReport]] class.
Returns: MediaComponentReport
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:22
+ new MediaComponentReport(stats: MediaComponentStats, lastStats: MediaComponentStats): MediaComponentReport
Parameters:
| Name | Type |
|---|---|
stats |
MediaComponentStats |
lastStats |
MediaComponentStats |
Returns: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:29
Methods
deserializeProperties
▸ ProtecteddeserializeProperties(key: string, valueJson: string): void
Deserializes the properties.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | The key. |
valueJson |
string | The value in JSON format. |
Returns: void
Overrides: Report
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:59
getFirCount
▸ getFirCount(): number
Gets the number of full intra refresh (FIR) messages sent.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:93
getLrrCount
▸ getLrrCount(): number
Gets the number of layer refresh request (LRR) messages sent.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:105
getNackCount
▸ getNackCount(): number
Gets the number of negative-acknowledgement (NACK) messages sent.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:117
getPliCount
▸ getPliCount(): number
Gets the number of picture loss indication (PLI) messages sent.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:129
getSliCount
▸ getSliCount(): number
Gets the number of slice loss indication (SLI) messages sent.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:141
getTypeString
▸ getTypeString(): string
Returns: string
Overrides: Report
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:10
serializeProperties
▸ ProtectedserializeProperties(jsonObject: Hash<string, string>): void
Serializes the properties.
Parameters:
| Name | Type | Description |
|---|---|---|
jsonObject |
Hash<string, string> | The JSON object. |
Returns: void
Overrides: Report
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:154
setFirCount
▸ setFirCount(value: number): void
Sets the number of full intra refresh (FIR) messages sent.
Parameters:
| Name | Type |
|---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:181
setLrrCount
▸ setLrrCount(value: number): void
Sets the number of layer refresh request (LRR) messages sent.
Parameters:
| Name | Type |
|---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:193
setNackCount
▸ setNackCount(value: number): void
Sets the number of negative-acknowledgement (NACK) messages sent.
Parameters:
| Name | Type |
|---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:205
setPliCount
▸ setPliCount(value: number): void
Sets the number of picture loss indication (PLI) messages sent.
Parameters:
| Name | Type |
|---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:217
setSliCount
▸ setSliCount(value: number): void
Sets the number of slice loss indication (SLI) messages sent.
Parameters:
| Name | Type |
|---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:229
processArray
▸ StaticprocessArray<T>(newValues: T[], oldValues: T[]): T[]
Processes an array for a report.
Type parameters:
| Name | Type |
|---|---|
T |
IEquivalent<T, T> |
Parameters:
| Name | Type | Description |
|---|---|---|
newValues |
T[] | The new values. |
oldValues |
T[] | The old values. |
Returns: T[]
The new values, if the new values are not equivalent to the old values; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:31
processBoolean
▸ StaticprocessBoolean(newValue: boolean, oldValue: boolean): boolean
Processes a boolean for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValue |
boolean | The new value. |
oldValue |
boolean | The old value. |
Returns: boolean
The new value, if the new value does not equal the old value; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:57
processBooleanArray
▸ StaticprocessBooleanArray(newValues: boolean[], oldValues: boolean[]): boolean[]
Processes a boolean array for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValues |
boolean[] | The new values. |
oldValues |
boolean[] | The old values. |
Returns: boolean[]
The new values, if the new values do not equal the old values; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:72
processDouble
▸ StaticprocessDouble(newValue: number, oldValue: number): number
Processes a double for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValue |
number | The new value. |
oldValue |
number | The old value. |
Returns: number
The new value, if the new value does not equal the old value; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:98
processFloat
▸ StaticprocessFloat(newValue: number, oldValue: number): number
Processes a float for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValue |
number | The new value. |
oldValue |
number | The old value. |
Returns: number
The new value, if the new value does not equal the old value; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:113
processFloatArray
▸ StaticprocessFloatArray(newValues: number[], oldValues: number[]): number[]
Processes a float array for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValues |
number[] | The new values. |
oldValues |
number[] | The old values. |
Returns: number[]
The new values, if the new values do not equal the old values; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:128
processInteger
▸ StaticprocessInteger(newValue: number, oldValue: number): number
Processes an integer for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValue |
number | The new value. |
oldValue |
number | The old value. |
Returns: number
The new value, if the new value does not equal the old value; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:154
processIntegerArray
▸ StaticprocessIntegerArray(newValues: number[], oldValues: number[]): number[]
Processes a integer array for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValues |
number[] | The new values. |
oldValues |
number[] | The old values. |
Returns: number[]
The new values, if the new values do not equal the old values; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:171
processLong
▸ StaticprocessLong(newValue: number, oldValue: number): number
Processes a long for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValue |
number | The new value. |
oldValue |
number | The old value. |
Returns: number
The new value, if the new value does not equal the old value; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:197
processLongArray
▸ StaticprocessLongArray(newValues: number[], oldValues: number[]): number[]
Processes a long array for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValues |
number[] | The new values. |
oldValues |
number[] | The old values. |
Returns: number[]
The new values, if the new values do not equal the old values; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:214
processObject
▸ StaticprocessObject<T>(newValue: T, oldValue: T): T
Processes an array for a report.
Type parameters:
| Name | Type |
|---|---|
T |
Object & IEquivalent<T, T> |
Parameters:
| Name | Type | Description |
|---|---|---|
newValue |
T | The new value. |
oldValue |
T | The old value. |
Returns: T
The new value, if the new value does not equal the old value; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:240
processShort
▸ StaticprocessShort(newValue: number, oldValue: number): number
Processes a short for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValue |
number | The new value. |
oldValue |
number | The old value. |
Returns: number
The new value, if the new value does not equal the old value; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:261
processShortArray
▸ StaticprocessShortArray(newValues: number[], oldValues: number[]): number[]
Processes a short array for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValues |
number[] | The new values. |
oldValues |
number[] | The old values. |
Returns: number[]
The new values, if the new values do not equal the old values; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:278
processString
▸ StaticprocessString(newValue: string, oldValue: string): string
Processes a string for a report.
Parameters:
| Name | Type | Description |
|---|---|---|
newValue |
string | The new value. |
oldValue |
string | The old value. |
Returns: string
The new value, if the new value does not equal the old value; otherwise null.
Inherited from: Report
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:304