SIGN UP

VIInboundAudioStats

Class that represents statistics for inbound VIAudioStream. Available in VEndpointStats.

Properties

bytesReceived

@property (nonatomic, assign, readonly) NSUInteger bytesReceived

Total number of bytes received within the audio stream.

codec

@property (nonatomic, strong, readonly) NSString *codec

Audio codec name for the audio stream, e.g. "opus".

jitterBufferMs

@property (nonatomic, assign, readonly) NSTimeInterval jitterBufferMs

Temporary storage buffer used to capture incoming data packets.

It is used to ensure the continuity of streams by smoothing out packet arrival times during periods of network congestion.

Measured in milliseconds.

loss

@property (nonatomic, assign, readonly) double loss

Packet loss in the audio stream. Values are in the range 0..1, where 0 means no loss and 1 means full loss.

packetsLost

@property (nonatomic, assign, readonly) NSUInteger packetsLost

Total number of audio packets lost for the audio stream.

packetsReceived

@property (nonatomic, assign, readonly) NSUInteger packetsReceived

Total number of packets received within the audio stream.

timestamp

@property (nonatomic, assign, readonly) NSTimeInterval timestamp

The time at which the call statistics are collected, relative to the UNIX epoch (Jan 1, 1970, UTC), in microseconds.