Audio-related details for a session.
More...
#import <CSAudioDetails.h>
Inherits NSObject.
Audio-related details for a session.
- (NSUInteger) averageLocalJitterMilliseconds |
|
readnonatomicassign |
The average jitter buffer size in milliseconds the local end is experiencing on the received RTP stream.
In VoIP, a jitter buffer is a shared data area where voice packets can be collected, stored, and sent to the voice processor in evenly spaced intervals. Variations in packet arrival time, called jitter, can occur because of network congestion, timing drift, or route changes. The jitter buffer, which is located at the receiving end of the voice connection, intentionally delays the arriving packets so that the end user experiences a clear connection with very little sound distortion.
- (NSUInteger) averageRemoteJitterMilliseconds |
|
readnonatomicassign |
The average jitter buffer size in milliseconds the remote end is experiencing on the transmitted RTP stream.
In VoIP, a jitter buffer is a shared data area where voice packets can be collected, stored, and sent to the voice processor in evenly spaced intervals. Variations in packet arrival time, called jitter, can occur because of network congestion, timing drift, or route changes. The jitter buffer, which is located at the receiving end of the voice connection, intentionally delays the arriving packets so that the end user experiences a clear connection with very little sound distortion.
The name of the audio codec being used.
- (NSUInteger) currentAccelerateRate |
|
readnonatomicassign |
Fraction of data removed through acceleration.
In case of a full jitter buffer speech frames will be deleted. This process is called "acceleration".
- (NSUInteger) currentBufferSizeMilliseconds |
|
readnonatomicassign |
The current jitter buffer size in milliseconds.
In VoIP, a jitter buffer is a shared data area where voice packets can be collected, stored, and sent to the voice processor in evenly spaced intervals. Variations in packet arrival time, called jitter, can occur because of network congestion, timing drift, or route changes. The jitter buffer, which is located at the receiving end of the voice connection, intentionally delays the arriving packets so that the end user experiences a clear connection with very little sound distortion.
- (NSUInteger) currentDiscardRate |
|
readnonatomicassign |
The percentage of packets discarded (late).
- (NSUInteger) currentExpandRate |
|
readnonatomicassign |
Fraction of synthesized speech frames inserted through expansion in total frame count in buffer.
In case of a starved jitter buffer synthesized speech frames will be added. This process is called "expand".
- (NSUInteger) currentPacketLossRate |
|
readnonatomicassign |
The percentage of packets lost (network + late).
- (NSUInteger) currentPreemptiveRate |
|
readnonatomicassign |
Fraction of synthesized speech frames inserted through pre-emptive expansion in total frame count in buffer.
In case of a shallow jitter buffer synthesized speech frames will be added. This process is called "pre-emptive expand" and based on previous frames.
- (NSUInteger) DTMFPayloadType |
|
readnonatomicassign |
The dynamic payload type used for telephony events (DTMF tones).
Media encryption mode for the audio session.
- (NSUInteger) localFractionLost |
|
readnonatomicassign |
The fractional loss seen locally.
This is 8-bits size value. The fraction of RTP data packets from source lost since the previous SR or RR packet was sent, expressed as a fixed point number with the binary point at the left edge of the field. (That is equivalent to taking the integer part after multiplying the loss fraction by 256.) This fraction is defined to be the number of packets lost divided by the number of packets expected. If the loss is negative due to duplicates, the fraction lost is set to zero.
- (NSString*) localIPAddress |
|
readnonatomicassign |
The local IP address used for the audio session.
The local RTP receive port for the audio session (as per SDP offer/answer exchange).
Status indication for whether tunneled Audio goes through proxy or not.
Status indication for whether Audio is tunneled or not.
- (NSUInteger) numberOfBytesReceived |
|
readnonatomicassign |
The total number of RTP payload bytes received.
- (NSUInteger) numberOfBytesTransmitted |
|
readnonatomicassign |
The total number of RTP payload bytes transmitted.
- (NSUInteger) numberOfPacketsReceived |
|
readnonatomicassign |
The total number of RTP packets received.
- (NSUInteger) numberOfPacketsTransmitted |
|
readnonatomicassign |
The total number of RTP packets transmitted.
- (NSUInteger) packetizationMilliseconds |
|
readnonatomicassign |
The packetization interval in milliseconds.
This represents the time duration of the audio data contained in each packet. It is retrieved from the ptime attribute from the SDP audio codec config.
- (NSUInteger) preferredBufferSizeMilliseconds |
|
readnonatomicassign |
The preferred (optimal) jitter buffer size in milliseconds.
In VoIP, a jitter buffer is a shared data area where voice packets can be collected, stored, and sent to the voice processor in evenly spaced intervals. Variations in packet arrival time, called jitter, can occur because of network congestion, timing drift, or route changes. The jitter buffer, which is located at the receiving end of the voice connection, intentionally delays the arriving packets so that the end user experiences a clear connection with very little sound distortion.
- (NSUInteger) remoteFractionLost |
|
readnonatomicassign |
The fractional loss seen remotely.
This is 8-bits size value. The fraction of RTP data packets from source lost since the previous SR or RR packet was sent, expressed as a fixed point number with the binary point at the left edge of the field. (That is equivalent to taking the integer part after multiplying the loss fraction by 256.) This fraction is defined to be the number of packets lost divided by the number of packets expected. If the loss is negative due to duplicates, the fraction lost is set to zero.
- (NSString*) remoteIPAddress |
|
readnonatomicassign |
The remote IP address used for the audio session.
- (NSUInteger) remotePort |
|
readnonatomicassign |
The remote RTP receive port for the audio session (as per SDP offer/answer exchange).
- (NSUInteger) roundTripTimeMilliseconds |
|
readnonatomicassign |
The round-trip audio delay (in milliseconds) calculated as per RFC 3550.
This is the time required for an RTP packet to go from sender to receiver and back.
RTCP encryption status for the audio session.
True if feedback RTCP packets are encrypted false otherwise. If it is true RTCP packets should be decripted before reading audio stream details.
The documentation for this class was generated from the following file: