A media format. More...
Instance Methods | |
| (TFormat) | - clone |
| Clones this instance. More... | |
| (TFormat) | - createInstance |
| Creates a new instance. More... | |
| (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... | |
| (FMLiveSwitchFormatInfo *) | - info |
| Gets this format as an info object. More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchMediaFormat`1 class. 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) | - isCompressed |
| Gets whether this is a compressed format. 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... | |
| (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... | |
| (NSString *) | - name |
| Gets the name. More... | |
| (NSString *) | - packetizationMode |
| Gets the packetization mode. More... | |
| (NSString *) | - parameters |
| Gets the parameters. 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 | |
| (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... | |
Protected Attributes | |
| __pad0__: NSObject- (int) clockRate | |
A media format.
| - (TFormat) clone |
Clones this instance.
Implemented in FMLiveSwitchVideoFormat, and FMLiveSwitchAudioFormat.
| - (TFormat) createInstance |
Creates a new instance.
Implemented in FMLiveSwitchVp9Format, FMLiveSwitchVp8Format, FMLiveSwitchVideoFormat, FMLiveSwitchPcmuFormat, FMLiveSwitchPcmaFormat, FMLiveSwitchOpusFormat, FMLiveSwitchH264Format, FMLiveSwitchG722Format, and FMLiveSwitchAudioFormat.
| - (NSString*) description |
Returns a string that represents this instance.
| - (NSString*) fullName |
Gets the full name, including clock rate and encoding parameters.
Gets the maximum level.
| level1 | The first level. |
| level2 | The second level. |
Implemented in FMLiveSwitchVideoFormat.
Gets the minimum level.
| level1 | The first level. |
| level2 | The second level. |
Implemented in FMLiveSwitchVideoFormat.
| - (FMLiveSwitchFormatInfo*) info |
Gets this format as an info object.
Implemented in FMLiveSwitchVideoFormat, and FMLiveSwitchAudioFormat.
| - (instancetype) init |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
Implemented in FMLiveSwitchVp9Format, FMLiveSwitchVp8Format, FMLiveSwitchVideoFormat, FMLiveSwitchPcmuFormat, FMLiveSwitchPcmaFormat, FMLiveSwitchOpusFormat, FMLiveSwitchL16Format, FMLiveSwitchH265Format, FMLiveSwitchH264Format, FMLiveSwitchG722Format, FMLiveSwitchDtmfFormat, and FMLiveSwitchAudioFormat.
| - (instancetype) initWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
Implemented in FMLiveSwitchVideoFormat.
| - (instancetype) initWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| packetizationMode: | (NSString *) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| packetizationMode | The packetization mode. |
Implemented in FMLiveSwitchVideoFormat.
| - (instancetype) initWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| profile: | (NSString *) | profile | |
| level: | (NSString *) | level | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| level | The media format level. |
| profile | The media format profile. |
Implemented in FMLiveSwitchVideoFormat.
| - (instancetype) initWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| profile: | (NSString *) | profile | |
| level: | (NSString *) | level | |
| packetizationMode: | (NSString *) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| level | The media format level |
| profile | The media format profile |
| packetizationMode | The packetization mode. |
Implemented in FMLiveSwitchVideoFormat.
| - (instancetype) initWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| profile: | (NSString *) | profile | |
| level: | (NSString *) | level | |
| packetizationMode: | (NSString *) | packetizationMode | |
| tier: | (NSString *) | tier | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| level | The media format level |
| profile | The media format profile |
| packetizationMode | The packetization mode. |
| tier | The media format tier. |
Implemented in FMLiveSwitchVideoFormat.
| - (bool) isCompatibleWithFormat: | (TFormat) | format |
Determines whether the specified format is compatible.
| format | The format. |
| - (bool) isCompressed |
Gets whether this is a compressed format.
Implemented in FMLiveSwitchVideoFormat, and FMLiveSwitchAudioFormat.
| - (bool) isEncrypted |
Gets a value indicating that the data is encrypted.
| - (bool) isEquivalentWithFormat: | (TFormat) | format |
Determines whether the specified format is equivalent.
| format | The format. |
| - (bool) isEquivalentWithFormat: | (TFormat) | format | |
| ignoreIsPacketized: | (bool) | ignoreIsPacketized | |
Determines whether the specified format is equivalent.
| format | The format. |
| ignoreIsPacketized | Whether to ignore if the two formats differ in whether they are packetized. |
| - (bool) isFixedBitrate |
Gets a value indicating whether a format only supports fixed bitrate.
| - (bool) isInjected |
Gets a value indicating that the data is injected into the primary media stream (e.g.
DTMF).
| - (bool) isLevelCompatibleWithLevel: | (NSString *) | level |
Gets whether a level is compatible.
| level | The level. |
Implemented in FMLiveSwitchVideoFormat.
| - (bool) isPacketized |
Gets a value indicating whether the data is packetized.
| - (bool) isProfileCompatibleWithProfile: | (NSString *) | profile |
Gets whether a profile is compatible.
| profile | The profile. |
Implemented in FMLiveSwitchVideoFormat.
| - (NSString*) level |
Gets the level.
| - (bool) levelIsStrict |
Gets a value indicating whether the level is strict.
| - (int) maxBitrate |
Gets the maximum bitrate supported by this format, in kbps.
Implemented in FMLiveSwitchVp9Format, FMLiveSwitchVp8Format, FMLiveSwitchOpusFormat, FMLiveSwitchL16Format, FMLiveSwitchH264Format, FMLiveSwitchG722Format, and FMLiveSwitchG711Format.
| + (FMLiveSwitchMediaFormat*) mediaFormat |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| + (FMLiveSwitchMediaFormat*) mediaFormatWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| + (FMLiveSwitchMediaFormat*) mediaFormatWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| packetizationMode: | (NSString *) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| packetizationMode | The packetization mode. |
| + (FMLiveSwitchMediaFormat*) mediaFormatWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| profile: | (NSString *) | profile | |
| level: | (NSString *) | level | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| level | The media format level. |
| profile | The media format profile. |
| + (FMLiveSwitchMediaFormat*) mediaFormatWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| profile: | (NSString *) | profile | |
| level: | (NSString *) | level | |
| packetizationMode: | (NSString *) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| level | The media format level |
| profile | The media format profile |
| packetizationMode | The packetization mode. |
| + (FMLiveSwitchMediaFormat*) mediaFormatWithName: | (NSString *) | name | |
| clockRate: | (int) | clockRate | |
| profile: | (NSString *) | profile | |
| level: | (NSString *) | level | |
| packetizationMode: | (NSString *) | packetizationMode | |
| tier: | (NSString *) | tier | |
Initializes a new instance of the FMLiveSwitchMediaFormat`1 class.
| name | The name. |
| clockRate | The clock rate. |
| level | The media format level |
| profile | The media format profile |
| packetizationMode | The packetization mode. |
| tier | The media format tier. |
| - (int) minBitrate |
Gets the minimum bitrate supported by this format, in kbps.
Implemented in FMLiveSwitchVp9Format, FMLiveSwitchVp8Format, FMLiveSwitchOpusFormat, FMLiveSwitchL16Format, FMLiveSwitchH264Format, FMLiveSwitchG722Format, and FMLiveSwitchG711Format.
| - (NSString*) name |
Gets the name.
| - (NSString*) packetizationMode |
Gets the packetization mode.
| - (NSString*) parameters |
Gets the parameters.
Implemented in FMLiveSwitchVideoFormat, and FMLiveSwitchAudioFormat.
| - (NSString*) profile |
Gets the profile.
| + (NSString*) redName |
Gets the name of the RED media format.
| - (void) setClockRate: | (int) | value |
Sets the clock rate.
| - (void) setIsEncrypted: | (bool) | value |
Sets a value indicating that the data is encrypted.
| - (void) setIsFixedBitrate: | (bool) | value |
Sets a value indicating whether a format only supports fixed bitrate.
| - (void) setIsInjected: | (bool) | value |
Sets a value indicating that the data is injected into the primary media stream (e.g.
DTMF).
| - (void) setIsPacketized: | (bool) | value |
Sets a value indicating whether the data is packetized.
| - (void) setLevel: | (NSString *) | value |
Sets the level.
| - (void) setLevelIsStrict: | (bool) | value |
Sets a value indicating whether the level is strict.
| - (void) setName: | (NSString *) | value |
Sets the name.
| - (void) setPacketizationMode: | (NSString *) | value |
Sets the packetization mode.
| - (void) setProfile: | (NSString *) | value |
Sets the profile.
| - (void) setStaticPayloadType: | (int) | value |
Sets the static payload type, if this format has a static payload type registered with IANA.
| - (void) setTier: | (NSString *) | value |
Sets the tier.
| - (int) staticPayloadType |
Gets the static payload type, if this format has a static payload type registered with IANA.
| - (NSString*) tier |
Gets the tier.
| + (NSString*) ulpFecName |
Gets the name of the ULPFEC media format.
| - (void) updateLevelIsStrictToCompatibleWithFormat: | (TFormat) | format |
Updates the level-is-strict flag to a compatible value.
| format | The format. |
| - (void) updateLevelToCompatibleWithFormat: | (TFormat) | format |
Updates the level to a compatible value.
| format | The format. |
| - (void) updateProfileToCompatibleWithFormat: | (TFormat) | format |
Updates the profile to a compatible value.
| format | The format. |
| - (void) updateTierToCompatibleWithFormat: | (TFormat) | format |
Updates the tier to a compatible value.
| format | The format. |
|
protected |