MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Class Methods | Properties | List of all members
MCCodecsStats Class Reference

Gathers audio/video codec statistics. More...

#import <stats.h>

Inheritance diagram for MCCodecsStats:
Inheritance graph
[legend]
Collaboration diagram for MCCodecsStats:
Collaboration graph
[legend]

Class Methods

(MCStatsType) + get_type
 

Properties

unsigned long payload_type
 The unique identifier for the codec payload type. See payloadType
 
NSString * transport_id
 See transportId
 
NSString * mime_type
 The Multipurpose Internet Mail Extensions (MIME) type associated with the codec. See mimeType
 
MCCodecStatsType codec_type
 Whether these stastics are for the encoder or the decoder.
 
unsigned long clock_rate
 The clock rate of the codec, indicating the frequency at which samples are generated or processed. See clockRate
 
unsigned long channels
 When present, indicates the number of channels (mono=1, stereo=2). See channels
 
NSString * sdp_fmtp_line
 The Session Description Protocol (SDP) line associated with the codec. See sdpFmtpLine
 
- Properties inherited from MCStats
long long timestamp
 The timestamp in milliseconds since Unix epoch (Jan 1, 1970 00:00:00 UTC) at which the statistical data was recorded.
 
NSString * sid
 The unique identifier.
 
MCStatsType type
 The type of statistics.
 

Detailed Description

Gathers audio/video codec statistics.

Method Documentation

◆ get_type

+ (MCStatsType) get_type

The type of statistics.

  • Returns: the type of statistics.

Property Documentation

◆ channels

- (unsigned long) channels
readwriteatomic

When present, indicates the number of channels (mono=1, stereo=2). See channels

◆ clock_rate

- (unsigned long) clock_rate
readwriteatomic

The clock rate of the codec, indicating the frequency at which samples are generated or processed. See clockRate

◆ codec_type

- (MCCodecStatsType) codec_type
readwriteatomic

Whether these stastics are for the encoder or the decoder.

◆ mime_type

- (NSString*) mime_type
readwritenonatomicstrong

The Multipurpose Internet Mail Extensions (MIME) type associated with the codec. See mimeType

◆ payload_type

- (unsigned long) payload_type
readwriteatomic

The unique identifier for the codec payload type. See payloadType

◆ sdp_fmtp_line

- (NSString*) sdp_fmtp_line
readwritenonatomicstrong

The Session Description Protocol (SDP) line associated with the codec. See sdpFmtpLine

◆ transport_id

- (NSString*) transport_id
readwritenonatomicstrong

The documentation for this class was generated from the following file: