TVOOpusCodec Class Reference

Inherits from TVOAudioCodec : NSObject
Declared in TVOOpusCodec.h

– init

Initialzes an instance of the TVOOpusCodec codec.

- (null_unspecified instancetype)init

Discussion

Initialzes an instance of the TVOOpusCodec codec.

Declared In

TVOOpusCodec.h

– initWithMaxAverageBitrate:

Initialzes an instance of the TVOOpusCodec codec.

- (null_unspecified instancetype)initWithMaxAverageBitrate:(NSUInteger)maxAverageBitrate

Parameters

maxAverageBitrate

The maximum average audio bitrate to use, in bits per second (bps) based on RFC-7587 7.1. By default, the setting is not used. If you specify 0, then the setting is not used. Any positive integer is allowed, but values outside the range 6000 to 510000 are ignored and treated as 0. The recommended bitrate for speech is between 8000 and 40000 bps as noted in RFC-7587 3.1.1.

Discussion

Initialzes an instance of the TVOOpusCodec codec.

Declared In

TVOOpusCodec.h

  maxAverageBitrate

Maximum audio send bitrate in bits per second.

@property (nonatomic, assign, readonly) NSUInteger maxAverageBitrate

Discussion

The maximum average audio bitrate to use, in bits per second (bps) based on RFC-7587 7.1. By default, the setting is not used. If you specify 0, then the setting is not used. Any positive integer is allowed, but values outside the range 6000 to 510000 are ignored and treated as 0. The recommended bitrate for speech is between 8000 and 40000 bps as noted in RFC-7587 3.1.1.

Declared In

TVOOpusCodec.h