A G.722 format. More...
Instance Methods | |
(FMLiveSwitchAudioFormat *) | - createInstance |
Creates a new instance. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchG722Format class. More... | |
(instancetype) | - initWithClockRate:channelCount: |
Initializes a new instance of the FMLiveSwitchG722Format class. More... | |
(instancetype) | - initWithConfig: |
Initializes a new instance of the FMLiveSwitchG722Format class. More... | |
(int) | - maxBitrate |
Gets the maximum bitrate supported by this format, in kbps. More... | |
(int) | - minBitrate |
Gets the minimum bitrate supported by this format, in kbps. More... | |
Instance Methods inherited from FMLiveSwitchAudioFormat | |
(int) | - channelCount |
Gets the channel count. More... | |
(FMLiveSwitchAudioFormat *) | - clone |
Clones this instance. More... | |
(FMLiveSwitchAudioConfig *) | - config |
Gets the clock rate and channel count as a configuration. More... | |
(FMLiveSwitchFormatInfo *) | - info |
Gets this format as an info object. More... | |
(instancetype) | - initWithName:clockRate:channelCount: |
Initializes a new instance of the FMLiveSwitchAudioFormat class. More... | |
(instancetype) | - initWithName:config: |
Initializes a new instance of the FMLiveSwitchAudioFormat class. More... | |
(bool) | - isAac |
Gets a value indicating whether this format is AAC. More... | |
(bool) | - isCompatibleWithFormat: |
Determines whether the specified format is compatible. More... | |
(bool) | - isCompressed |
Gets whether this is a compressed format. More... | |
(bool) | - isDtmf |
Gets a value indicating whether this format is DTMF. More... | |
(bool) | - isEquivalentWithFormat:ignoreIsPacketized: |
Determines whether the specified format is equivalent. More... | |
(bool) | - isG722 |
Gets a value indicating whether this format is G.722. More... | |
(bool) | - isL16 |
Gets a value indicating whether this format is L16. More... | |
(bool) | - isOpus |
Gets a value indicating whether this format is Opus. More... | |
(bool) | - isPcm |
Gets a value indicating whether this format is PCM. More... | |
(bool) | - isPcma |
Gets a value indicating whether this format is PCMA. More... | |
(bool) | - isPcmu |
Gets a value indicating whether this format is PCMU. More... | |
(bool) | - littleEndian |
Gets whether the format uses little endian byte order. More... | |
(NSString *) | - parameters |
Gets the parameters. More... | |
(void) | - setChannelCount: |
Sets the channel count. More... | |
(void) | - setLittleEndian: |
Sets whether the format uses little endian byte order. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
Instance Methods inherited from FMLiveSwitchMediaFormat | |
(NSString *) | - description |
Returns a string that represents this instance. More... | |
(NSString *) | - fullName |
Gets the full name, including clock rate and encoding parameters. More... | |
(NSString *) | - getMaxLevelWithLevel1:level2: |
Gets the maximum level. More... | |
(NSString *) | - getMinLevelWithLevel1:level2: |
Gets the minimum level. More... | |
(instancetype) | - initWithName:clockRate: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(instancetype) | - initWithName:clockRate:packetizationMode: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(instancetype) | - initWithName:clockRate:profile:level: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(instancetype) | - initWithName:clockRate:profile:level:packetizationMode: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(instancetype) | - initWithName:clockRate:profile:level:packetizationMode:tier: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(bool) | - isCompatibleWithFormat: |
Determines whether the specified format is compatible. More... | |
(bool) | - isEncrypted |
Gets a value indicating that the data is encrypted. More... | |
(bool) | - isEquivalentWithFormat: |
Determines whether the specified format is equivalent. More... | |
(bool) | - isEquivalentWithFormat:ignoreIsPacketized: |
Determines whether the specified format is equivalent. More... | |
(bool) | - isFixedBitrate |
Gets a value indicating whether a format only supports fixed bitrate. More... | |
(bool) | - isInjected |
Gets a value indicating that the data is injected into the primary media stream (e.g. More... | |
(bool) | - isLevelCompatibleWithLevel: |
Gets whether a level is compatible. More... | |
(bool) | - isPacketized |
Gets a value indicating whether the data is packetized. More... | |
(bool) | - isProfileCompatibleWithProfile: |
Gets whether a profile is compatible. More... | |
(NSString *) | - level |
Gets the level. More... | |
(bool) | - levelIsStrict |
Gets a value indicating whether the level is strict. More... | |
(NSString *) | - name |
Gets the name. More... | |
(NSString *) | - packetizationMode |
Gets the packetization mode. More... | |
(NSString *) | - profile |
Gets the profile. More... | |
(void) | - setClockRate: |
Sets the clock rate. More... | |
(void) | - setIsEncrypted: |
Sets a value indicating that the data is encrypted. More... | |
(void) | - setIsFixedBitrate: |
Sets a value indicating whether a format only supports fixed bitrate. More... | |
(void) | - setIsInjected: |
Sets a value indicating that the data is injected into the primary media stream (e.g. More... | |
(void) | - setIsPacketized: |
Sets a value indicating whether the data is packetized. More... | |
(void) | - setLevel: |
Sets the level. More... | |
(void) | - setLevelIsStrict: |
Sets a value indicating whether the level is strict. More... | |
(void) | - setName: |
Sets the name. More... | |
(void) | - setPacketizationMode: |
Sets the packetization mode. More... | |
(void) | - setProfile: |
Sets the profile. More... | |
(void) | - setStaticPayloadType: |
Sets the static payload type, if this format has a static payload type registered with IANA. More... | |
(void) | - setTier: |
Sets the tier. More... | |
(int) | - staticPayloadType |
Gets the static payload type, if this format has a static payload type registered with IANA. More... | |
(NSString *) | - tier |
Gets the tier. More... | |
(void) | - updateLevelIsStrictToCompatibleWithFormat: |
Updates the level-is-strict flag to a compatible value. More... | |
(void) | - updateLevelToCompatibleWithFormat: |
Updates the level to a compatible value. More... | |
(void) | - updateProfileToCompatibleWithFormat: |
Updates the profile to a compatible value. More... | |
(void) | - updateTierToCompatibleWithFormat: |
Updates the tier to a compatible value. More... | |
Class Methods | |
(int) | + defaultChannelCount |
Gets the default clock rate (1). More... | |
(int) | + defaultClockRate |
Gets the default clock rate (16000). More... | |
(FMLiveSwitchAudioConfig *) | + defaultConfig |
Gets the default configuration (16000/1). More... | |
(FMLiveSwitchG722Format *) | + format |
Initializes a new instance of the FMLiveSwitchG722Format class. More... | |
(FMLiveSwitchG722Format *) | + formatWithClockRate:channelCount: |
Initializes a new instance of the FMLiveSwitchG722Format class. More... | |
(FMLiveSwitchG722Format *) | + formatWithConfig: |
Initializes a new instance of the FMLiveSwitchG722Format class. More... | |
Class Methods inherited from FMLiveSwitchAudioFormat | |
(NSString *) | + aacName |
Gets the name of the AAC audio format ("aac"). More... | |
(FMLiveSwitchAudioFormat *) | + audioFormat |
Initializes a new instance of the FMLiveSwitchAudioFormat class. More... | |
(FMLiveSwitchAudioFormat *) | + audioFormatWithName:clockRate:channelCount: |
Initializes a new instance of the FMLiveSwitchAudioFormat class. More... | |
(FMLiveSwitchAudioFormat *) | + audioFormatWithName:config: |
Initializes a new instance of the FMLiveSwitchAudioFormat class. More... | |
(NSString *) | + dtmfName |
Gets the name of the DTMF audio format ("telephone-event"). More... | |
(FMLiveSwitchAudioFormat *) | + fromFormatInfo: |
Transforms a FormatInfo into an AudioFormat. More... | |
(FMLiveSwitchAudioFormat *) | + fromJsonWithAudioFormatJson: |
Deserializes an instance from JSON. More... | |
(NSString *) | + g722Name |
Gets the name of the G.722 audio format ("G722"). More... | |
(NSString *) | + l16Name |
Gets the name of the Linear PCM 16-bit audio (PCM Uncompressed). More... | |
(NSString *) | + opusName |
Gets the name of the Opus audio format ("opus"). More... | |
(NSString *) | + pcmaName |
Gets the name of the PCMA audio format ("PCMA"). More... | |
(NSString *) | + pcmName |
Gets the name of the PCM audio format ("PCM"). More... | |
(NSString *) | + pcmuName |
Gets the name of the PCMU audio format ("PCMU"). More... | |
(NSString *) | + toJsonWithAudioFormat: |
Serializes an instance to JSON. More... | |
Class Methods inherited from FMLiveSwitchMediaFormat | |
(FMLiveSwitchMediaFormat *) | + mediaFormat |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(FMLiveSwitchMediaFormat *) | + mediaFormatWithName:clockRate: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(FMLiveSwitchMediaFormat *) | + mediaFormatWithName:clockRate:packetizationMode: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(FMLiveSwitchMediaFormat *) | + mediaFormatWithName:clockRate:profile:level: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(FMLiveSwitchMediaFormat *) | + mediaFormatWithName:clockRate:profile:level:packetizationMode: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(FMLiveSwitchMediaFormat *) | + mediaFormatWithName:clockRate:profile:level:packetizationMode:tier: |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. More... | |
(NSString *) | + redName |
Gets the name of the RED media format. More... | |
(NSString *) | + ulpFecName |
Gets the name of the ULPFEC media format. More... | |
Additional Inherited Members | |
Protected Attributes inherited from FMLiveSwitchMediaFormat | |
__pad0__: NSObject- (int) clockRate | |
A G.722 format.
- (FMLiveSwitchAudioFormat*) createInstance |
Creates a new instance.
Implements FMLiveSwitchAudioFormat.
+ (int) defaultChannelCount |
Gets the default clock rate (1).
+ (int) defaultClockRate |
Gets the default clock rate (16000).
+ (FMLiveSwitchAudioConfig*) defaultConfig |
Gets the default configuration (16000/1).
+ (FMLiveSwitchG722Format*) format |
Initializes a new instance of the FMLiveSwitchG722Format class.
+ (FMLiveSwitchG722Format*) formatWithClockRate: | (int) | clockRate | |
channelCount: | (int) | channelCount | |
Initializes a new instance of the FMLiveSwitchG722Format class.
clockRate | The clock rate. |
channelCount | The channel count. |
+ (FMLiveSwitchG722Format*) formatWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Initializes a new instance of the FMLiveSwitchG722Format class.
config | The configuration. |
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchG722Format class.
Implements FMLiveSwitchAudioFormat.
- (instancetype) initWithClockRate: | (int) | clockRate | |
channelCount: | (int) | channelCount | |
Initializes a new instance of the FMLiveSwitchG722Format class.
clockRate | The clock rate. |
channelCount | The channel count. |
- (instancetype) initWithConfig: | (FMLiveSwitchAudioConfig *) | config |
Initializes a new instance of the FMLiveSwitchG722Format class.
config | The configuration. |
- (int) maxBitrate |
Gets the maximum bitrate supported by this format, in kbps.
Implements FMLiveSwitchMediaFormat.
- (int) minBitrate |
Gets the minimum bitrate supported by this format, in kbps.
Implements FMLiveSwitchMediaFormat.