/ fm / liveswitch / MediaReceiverReport
Class: MediaReceiverReport
fm.liveswitch.MediaReceiverReport
Media receiver report.
Hierarchy
-
↳ MediaReceiverReport
Table of contents
Constructors
Methods
- deserializeProperties
- getBytesReceived
- getFirCount
- getJitter
- getLrrCount
- getNackCount
- getPacketsDiscarded
- getPacketsDuplicated
- getPacketsLost
- getPacketsReceived
- getPacketsRepaired
- getPliCount
- getRoundTripTime
- getSliCount
- getTypeString
- serializeProperties
- setBytesReceived
- setFirCount
- setJitter
- setLrrCount
- setNackCount
- setPacketsDiscarded
- setPacketsDuplicated
- setPacketsLost
- setPacketsReceived
- setPacketsRepaired
- setPliCount
- setRoundTripTime
- setSliCount
- toJson
- fromJson
- fromJsonArray
- processArray
- processBoolean
- processBooleanArray
- processDouble
- processFloat
- processFloatArray
- processInteger
- processIntegerArray
- processLong
- processLongArray
- processObject
- processShort
- processShortArray
- processString
- toJson
- toJsonArray
Constructors
constructor
+ new MediaReceiverReport(): MediaReceiverReport
Initializes a new instance of the [[fm.liveswitch.mediaReceiverReport]] class.
Returns: MediaReceiverReport
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:28
+ new MediaReceiverReport(stats
: MediaReceiverStats, lastStats
: MediaReceiverStats): MediaReceiverReport
Parameters:
Name | Type |
---|---|
stats |
MediaReceiverStats |
lastStats |
MediaReceiverStats |
Returns: MediaReceiverReport
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:35
Methods
deserializeProperties
▸ Protected
deserializeProperties(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:134
getBytesReceived
▸ getBytesReceived(): number
Gets the number of bytes received.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:174
getFirCount
▸ getFirCount(): number
Gets the number of full intra refresh (FIR) messages sent.
Returns: number
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:93
getJitter
▸ getJitter(): number
Gets the jitter in milliseconds.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:186
getLrrCount
▸ getLrrCount(): number
Gets the number of layer refresh request (LRR) messages sent.
Returns: number
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:105
getNackCount
▸ getNackCount(): number
Gets the number of negative-acknowledgement (NACK) messages sent.
Returns: number
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:117
getPacketsDiscarded
▸ getPacketsDiscarded(): number
Gets the number of packets discarded.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:198
getPacketsDuplicated
▸ getPacketsDuplicated(): number
Gets the number of packets duplicated.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:210
getPacketsLost
▸ getPacketsLost(): number
Gets the number of packets lost.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:222
getPacketsReceived
▸ getPacketsReceived(): number
Gets the number of packets received.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:234
getPacketsRepaired
▸ getPacketsRepaired(): number
Gets the number of packets repaired.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:246
getPliCount
▸ getPliCount(): number
Gets the number of picture loss indication (PLI) messages sent.
Returns: number
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:129
getRoundTripTime
▸ getRoundTripTime(): number
Gets the round-trip-time in milliseconds.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:258
getSliCount
▸ getSliCount(): number
Gets the number of slice loss indication (SLI) messages sent.
Returns: number
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:141
getTypeString
▸ getTypeString(): string
Returns: string
Overrides: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:10
serializeProperties
▸ Protected
serializeProperties(jsonObject
: Hash<string, string>): void
Serializes the properties.
Parameters:
Name | Type | Description |
---|---|---|
jsonObject |
Hash<string, string> | The JSON object. |
Returns: void
Overrides: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:271
setBytesReceived
▸ setBytesReceived(value
: number): void
Sets the number of bytes received.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:307
setFirCount
▸ setFirCount(value
: number): void
Sets the number of full intra refresh (FIR) messages sent.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:181
setJitter
▸ setJitter(value
: number): void
Sets the jitter in milliseconds.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:319
setLrrCount
▸ setLrrCount(value
: number): void
Sets the number of layer refresh request (LRR) messages sent.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: MediaComponentReport
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
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:205
setPacketsDiscarded
▸ setPacketsDiscarded(value
: number): void
Sets the number of packets discarded.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:331
setPacketsDuplicated
▸ setPacketsDuplicated(value
: number): void
Sets the number of packets duplicated.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:343
setPacketsLost
▸ setPacketsLost(value
: number): void
Sets the number of packets lost.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:355
setPacketsReceived
▸ setPacketsReceived(value
: number): void
Sets the number of packets received.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:367
setPacketsRepaired
▸ setPacketsRepaired(value
: number): void
Sets the number of packets repaired.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:379
setPliCount
▸ setPliCount(value
: number): void
Sets the number of picture loss indication (PLI) messages sent.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:217
setRoundTripTime
▸ setRoundTripTime(value
: number): void
Sets the round-trip-time in milliseconds.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:391
setSliCount
▸ setSliCount(value
: number): void
Sets the number of slice loss indication (SLI) messages sent.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Inherited from: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/MediaComponentReport.ts:229
toJson
▸ toJson(): string
Serializes this instance to JSON.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:403
fromJson
▸ Static
fromJson(mediaReceiverReportJson
: string): MediaReceiverReport
Deserializes an instance from JSON.
Parameters:
Name | Type | Description |
---|---|---|
mediaReceiverReportJson |
string | The serialized JSON. |
Returns: MediaReceiverReport
The deserialized instance.
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:68
fromJsonArray
▸ Static
fromJsonArray(mediaReceiverReportsJson
: string): MediaReceiverReport[]
Deserializes an array from JSON.
Parameters:
Name | Type | Description |
---|---|---|
mediaReceiverReportsJson |
string | The serialized JSON. |
Returns: MediaReceiverReport[]
The deserialized array.
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:86
processArray
▸ Static
processArray<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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:31
processBoolean
▸ Static
processBoolean(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:57
processBooleanArray
▸ Static
processBooleanArray(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:72
processDouble
▸ Static
processDouble(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:98
processFloat
▸ Static
processFloat(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:113
processFloatArray
▸ Static
processFloatArray(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:128
processInteger
▸ Static
processInteger(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:154
processIntegerArray
▸ Static
processIntegerArray(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:171
processLong
▸ Static
processLong(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:197
processLongArray
▸ Static
processLongArray(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:214
processObject
▸ Static
processObject<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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:240
processShort
▸ Static
processShort(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:261
processShortArray
▸ Static
processShortArray(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:278
processString
▸ Static
processString(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: MediaComponentReport
Defined in: Generated/TypeScript/fm.liveswitch/Report.ts:304
toJson
▸ Static
toJson(mediaReceiverReport
: MediaReceiverReport): string
Serializes an instance to JSON.
Parameters:
Name | Type | Description |
---|---|---|
mediaReceiverReport |
MediaReceiverReport | The instance to serialize. |
Returns: string
The serialized JSON.
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:104
toJsonArray
▸ Static
toJsonArray(mediaReceiverReports
: MediaReceiverReport[]): string
Serializes an array to JSON.
Parameters:
Name | Type | Description |
---|---|---|
mediaReceiverReports |
MediaReceiverReport[] | The array to serialize. |
Returns: string
The serialized JSON.
Defined in: Generated/TypeScript/fm.liveswitch/MediaReceiverReport.ts:120