VIInboundAudioStats
Class that represents statistics for incoming VIRemoteAudioStream. Available in VIEndpointStats.
Props
audioLevel
@property (assign, readonly, nonatomic) double
audioLevelAudio level value is between 0..1 (linear), where 1.0 represents 0 dBov, 0 represents silence, and 0.5 represents approximately 6 dBSPL change in the sound pressure level from 0 dBov.
Returns
type:
double
bytesReceived
@property (assign, readonly, nonatomic) NSUInteger
bytesReceivedTotal number of bytes received within the audio stream.
Returns
type:
NSUInteger
codec
@property (strong, nullable, readonly, nonatomic) NSString *
codecAudio codec name for the audio stream, e.g. "opus".
Returns
type:
NSString *
jitterBufferMs
@property (assign, readonly, nonatomic) NSTimeInterval
jitterBufferMsTemporary 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.
Returns
type:
NSTimeInterval
loss
@property (assign, readonly, nonatomic) double
lossPacket loss in the audio stream. Values are in the range 0..1, where 0 means no loss and 1 means full loss.
Returns
type:
double
packetsLost
@property (assign, readonly, nonatomic) NSUInteger
packetsLostTotal number of audio packets lost for the audio stream.
Returns
type:
NSUInteger
packetsReceived
@property (assign, readonly, nonatomic) NSUInteger
packetsReceivedTotal number of packets received within the audio stream.
Returns
type:
NSUInteger
timestamp
@property (assign, readonly, nonatomic) NSTimeInterval
timestampTime at which the call statistics are collected, relative to the UNIX epoch (Jan 1, 1970, UTC), in microseconds.
Returns
type:
NSTimeInterval