A video format. More...
Instance Methods | |
(FMLiveSwitchVideoFormat *) | - clone |
Clones this instance. More... | |
(FMLiveSwitchVideoFormat *) | - createInstance |
Creates a new instance. More... | |
(int) | - fourCC |
Gets the FourCC value for this format. More... | |
(NSString *) | - fourCCToFormatNameWithFourcc: |
Converts a FourCC value to its format name. 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 FMLiveSwitchVideoFormat class. More... | |
(instancetype) | - initWithName: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(instancetype) | - initWithName:clockRate: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(instancetype) | - initWithName:clockRate:packetizationMode: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(instancetype) | - initWithName:clockRate:profile:level: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(instancetype) | - initWithName:clockRate:profile:level:packetizationMode: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(instancetype) | - initWithName:clockRate:profile:level:packetizationMode:tier: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(bool) | - isAbgr |
Gets a value indicating whether this format is ABGR. More... | |
(bool) | - isArgb |
Gets a value indicating whether this format is ARGB. More... | |
(bool) | - isBgr |
Gets a value indicating whether this format is BGR. More... | |
(bool) | - isBgra |
Gets a value indicating whether this format is BGRA. More... | |
(bool) | - isCompressed |
Gets whether this is a compressed format. More... | |
(bool) | - isH264 |
Gets a value indicating whether this format is H.264. More... | |
(bool) | - isH265 |
Gets a value indicating whether this format is H.265. More... | |
(bool) | - isI420 |
Gets a value indicating whether this format is I420. More... | |
(bool) | - isLevelCompatibleWithLevel: |
Gets whether a level is compatible. More... | |
(bool) | - isNv12 |
Gets a value indicating whether this format is NV12. More... | |
(bool) | - isNv21 |
Gets a value indicating whether this format is NV21. More... | |
(bool) | - isProfileCompatibleWithProfile: |
Gets whether a profile is compatible. More... | |
(bool) | - isRaw |
Gets a value indicating whether this format is RGB, BGR, I420, YV12, NV12, NV21, RGBA, BGRA, ARGB, or ABGR. More... | |
(bool) | - isRgb |
Gets a value indicating whether this format is RGB. More... | |
(bool) | - isRgba |
Gets a value indicating whether this format is RGBA. More... | |
(bool) | - isRgbaType |
Gets a value indicating whether this format is RGBA, BGRA, ARGB, or ABGR. More... | |
(bool) | - isRgbType |
Gets a value indicating whether this format is RGB or BGR. More... | |
(bool) | - isVp8 |
Gets a value indicating whether this format is VP8. More... | |
(bool) | - isVp9 |
Gets a value indicating whether this format is VP9. More... | |
(bool) | - isYuvType |
Gets a value indicating whether this format is I420, YV12, NV12, or NV21. More... | |
(bool) | - isYv12 |
Gets a value indicating whether this format is YV12. More... | |
(NSString *) | - parameters |
Gets the parameters. More... | |
(void) | - setFourCC: |
Sets the FourCC value for this format. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
(void) | - updateProfileToCompatibleWithFormat: |
Updates the profile to a compatible value. 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... | |
(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) | - isPacketized |
Gets a value indicating whether the data is packetized. 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 *) | - 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 | |
(FMLiveSwitchVideoFormat *) | + abgr |
Gets an ABGR video format. More... | |
(NSString *) | + abgrName |
Gets the name of the ABGR video format ("ABGR"). More... | |
(FMLiveSwitchVideoFormat *) | + argb |
Gets an ARGB video format. More... | |
(NSString *) | + argbName |
Gets the name of the ARGB video format ("ARGB"). More... | |
(FMLiveSwitchVideoFormat *) | + bgr |
Gets a BGR video format. More... | |
(FMLiveSwitchVideoFormat *) | + bgra |
Gets an BGRA video format. More... | |
(NSString *) | + bgraName |
Gets the name of the BGRA video format ("BGRA"). More... | |
(NSString *) | + bgrName |
Gets the name of the BGR video format ("BGR"). More... | |
(int) | + defaultClockRate |
Gets the default clock rate. More... | |
(int) | + formatNameToFourCCWithFormatName: |
Converts a format name to its FourCC value. More... | |
(FMLiveSwitchVideoFormat *) | + fromFormatInfo: |
Transforms a FormatInfo into an VideoFormat. More... | |
(FMLiveSwitchVideoFormat *) | + fromJsonWithVideoFormatJson: |
Deserializes an instance from JSON. More... | |
(FMLiveSwitchVideoFormat *) | + h264 |
Gets an H.264 video format. More... | |
(NSString *) | + h264Name |
Gets the name of the H.264 video format ("H264"). More... | |
(FMLiveSwitchVideoFormat *) | + h265 |
Gets an H.265 video format. More... | |
(NSString *) | + h265Name |
Gets the name of the H.265 video format ("H265"). More... | |
(FMLiveSwitchVideoFormat *) | + i420 |
Gets an I420 video format. More... | |
(NSString *) | + i420Name |
Gets the name of the I420 video format ("I420"). More... | |
(FMLiveSwitchVideoFormat *) | + nv12 |
Gets an NV12 video format. More... | |
(NSString *) | + nv12Name |
Gets the name of the NV12 video format ("NV12"). More... | |
(FMLiveSwitchVideoFormat *) | + nv21 |
Gets an NV21 video format. More... | |
(NSString *) | + nv21Name |
Gets the name of the NV21 video format ("NV21"). More... | |
(FMLiveSwitchVideoFormat *) | + rgb |
Gets an RGB video format. More... | |
(FMLiveSwitchVideoFormat *) | + rgba |
Gets an RGBA video format. More... | |
(NSString *) | + rgbaName |
Gets the name of the RGBA video format ("RGBA"). More... | |
(NSString *) | + rgbName |
Gets the name of the RGB video format ("RGB"). More... | |
(int) | + toFourCCWithA:b:c:d: |
Converts 4 FourCC characters to an int. More... | |
(int) | + toFourCCWithFourcc: |
Converts a FourCC string to a int. More... | |
(NSString *) | + toJsonWithVideoFormat: |
Serializes an instance to JSON. More... | |
(FMLiveSwitchVideoFormat *) | + videoFormat |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(FMLiveSwitchVideoFormat *) | + videoFormatWithName: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(FMLiveSwitchVideoFormat *) | + videoFormatWithName:clockRate: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(FMLiveSwitchVideoFormat *) | + videoFormatWithName:clockRate:packetizationMode: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(FMLiveSwitchVideoFormat *) | + videoFormatWithName:clockRate:profile:level: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(FMLiveSwitchVideoFormat *) | + videoFormatWithName:clockRate:profile:level:packetizationMode: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(FMLiveSwitchVideoFormat *) | + videoFormatWithName:clockRate:profile:level:packetizationMode:tier: |
Initializes a new instance of the FMLiveSwitchVideoFormat class. More... | |
(FMLiveSwitchVideoFormat *) | + vp8 |
Gets a VP8 video format. More... | |
(NSString *) | + vp8Name |
Gets the name of the VP8 video format ("VP8"). More... | |
(FMLiveSwitchVideoFormat *) | + vp9 |
Gets a VP9 video format. More... | |
(NSString *) | + vp9Name |
Gets the name of the VP9 video format ("VP9"). More... | |
(FMLiveSwitchVideoFormat *) | + yv12 |
Gets a YV12 video format. More... | |
(NSString *) | + yv12Name |
Gets the name of the YV12 video format ("YV12"). 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 video format.
+ (FMLiveSwitchVideoFormat*) abgr |
Gets an ABGR video format.
+ (NSString*) abgrName |
Gets the name of the ABGR video format ("ABGR").
Indicates that each pixel occupies 32 bits (8 bits for alpha, then 8 bits for blue, then8 bits for green, then 8 bits for red).
+ (FMLiveSwitchVideoFormat*) argb |
Gets an ARGB video format.
+ (NSString*) argbName |
Gets the name of the ARGB video format ("ARGB").
Indicates that each pixel occupies 32 bits (8 bits for alpha, then 8 bits for red, then 8 bits for green, then 8 bits for blue).
+ (FMLiveSwitchVideoFormat*) bgr |
Gets a BGR video format.
+ (FMLiveSwitchVideoFormat*) bgra |
Gets an BGRA video format.
+ (NSString*) bgraName |
Gets the name of the BGRA video format ("BGRA").
Indicates that each pixel occupies 32 bits (8 bits for blue, then8 bits for green, then 8 bits for red, then 8 bits for alpha).
+ (NSString*) bgrName |
Gets the name of the BGR video format ("BGR").
Indicates that each pixel occupies 24 bits (8 bits for blue, then8 bits for green, then 8 bits for red).
- (FMLiveSwitchVideoFormat*) clone |
Clones this instance.
Implements FMLiveSwitchMediaFormat.
- (FMLiveSwitchVideoFormat*) createInstance |
Creates a new instance.
Implements FMLiveSwitchMediaFormat.
Implemented in FMLiveSwitchVp9Format, FMLiveSwitchVp8Format, and FMLiveSwitchH264Format.
+ (int) defaultClockRate |
Gets the default clock rate.
+ (int) formatNameToFourCCWithFormatName: | (NSString *) | formatName |
Converts a format name to its FourCC value.
formatName | The format name. |
- (int) fourCC |
Gets the FourCC value for this format.
- (NSString*) fourCCToFormatNameWithFourcc: | (int) | fourcc |
Converts a FourCC value to its format name.
fourcc | The FourCC value. |
+ (FMLiveSwitchVideoFormat*) fromFormatInfo: | (FMLiveSwitchFormatInfo *) | info |
Transforms a FormatInfo into an VideoFormat.
info | The format info. |
+ (FMLiveSwitchVideoFormat*) fromJsonWithVideoFormatJson: | (NSString *) | videoFormatJson |
Deserializes an instance from JSON.
videoFormatJson | The video format JSON. |
Gets the maximum level.
level1 | The first level. |
level2 | The second level. |
Implements FMLiveSwitchMediaFormat.
Gets the minimum level.
level1 | The first level. |
level2 | The second level. |
Implements FMLiveSwitchMediaFormat.
+ (FMLiveSwitchVideoFormat*) h264 |
Gets an H.264 video format.
+ (NSString*) h264Name |
Gets the name of the H.264 video format ("H264").
+ (FMLiveSwitchVideoFormat*) h265 |
Gets an H.265 video format.
+ (NSString*) h265Name |
Gets the name of the H.265 video format ("H265").
+ (FMLiveSwitchVideoFormat*) i420 |
Gets an I420 video format.
+ (NSString*) i420Name |
Gets the name of the I420 video format ("I420").
Indicates that each pixel occupies 12 bits (8 bits for Y, 2 bits for U, and 2 bits for V). Y plane is followed by U plane and then V plane.
- (FMLiveSwitchFormatInfo*) info |
Gets this format as an info object.
Implements FMLiveSwitchMediaFormat.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
Implements FMLiveSwitchMediaFormat.
Implemented in FMLiveSwitchVp9Format, FMLiveSwitchVp8Format, FMLiveSwitchH265Format, and FMLiveSwitchH264Format.
- (instancetype) initWithName: | (NSString *) | name |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
- (instancetype) initWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
Implements FMLiveSwitchMediaFormat.
- (instancetype) initWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
packetizationMode: | (NSString *) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
packetizationMode | The packetization mode. |
Implements FMLiveSwitchMediaFormat.
- (instancetype) initWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
profile: | (NSString *) | profile | |
level: | (NSString *) | level | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
profile | The media format profile. |
level | The media format level. |
Implements FMLiveSwitchMediaFormat.
- (instancetype) initWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
profile: | (NSString *) | profile | |
level: | (NSString *) | level | |
packetizationMode: | (NSString *) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
packetizationMode | The packetization mode. |
level | The media format level. |
profile | The media format profile. |
Implements FMLiveSwitchMediaFormat.
- (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 FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
packetizationMode | The packetization mode. |
level | The media format level. |
profile | The media format profile. |
tier | The media format tier. |
Implements FMLiveSwitchMediaFormat.
- (bool) isAbgr |
Gets a value indicating whether this format is ABGR.
- (bool) isArgb |
Gets a value indicating whether this format is ARGB.
- (bool) isBgr |
Gets a value indicating whether this format is BGR.
- (bool) isBgra |
Gets a value indicating whether this format is BGRA.
- (bool) isCompressed |
Gets whether this is a compressed format.
Implements FMLiveSwitchMediaFormat.
- (bool) isH264 |
Gets a value indicating whether this format is H.264.
- (bool) isH265 |
Gets a value indicating whether this format is H.265.
- (bool) isI420 |
Gets a value indicating whether this format is I420.
- (bool) isLevelCompatibleWithLevel: | (NSString *) | level |
- (bool) isNv12 |
Gets a value indicating whether this format is NV12.
- (bool) isNv21 |
Gets a value indicating whether this format is NV21.
- (bool) isProfileCompatibleWithProfile: | (NSString *) | profile |
Gets whether a profile is compatible.
profile | The profile. |
Implements FMLiveSwitchMediaFormat.
- (bool) isRaw |
Gets a value indicating whether this format is RGB, BGR, I420, YV12, NV12, NV21, RGBA, BGRA, ARGB, or ABGR.
- (bool) isRgb |
Gets a value indicating whether this format is RGB.
- (bool) isRgba |
Gets a value indicating whether this format is RGBA.
- (bool) isRgbaType |
Gets a value indicating whether this format is RGBA, BGRA, ARGB, or ABGR.
- (bool) isRgbType |
Gets a value indicating whether this format is RGB or BGR.
- (bool) isVp8 |
Gets a value indicating whether this format is VP8.
- (bool) isVp9 |
Gets a value indicating whether this format is VP9.
- (bool) isYuvType |
Gets a value indicating whether this format is I420, YV12, NV12, or NV21.
- (bool) isYv12 |
Gets a value indicating whether this format is YV12.
+ (FMLiveSwitchVideoFormat*) nv12 |
Gets an NV12 video format.
+ (NSString*) nv12Name |
Gets the name of the NV12 video format ("NV12").
Indicates that each pixel occupies 12 bits (8 bits for Y, 2 bits for U, and 2 bits for V). Y plane is followed by interleaved U/V plane.
+ (FMLiveSwitchVideoFormat*) nv21 |
Gets an NV21 video format.
+ (NSString*) nv21Name |
Gets the name of the NV21 video format ("NV21").
Indicates that each pixel occupies 12 bits (8 bits for Y, 2 bits for U, and 2 bits for V). Y plane is followed by interleaved V/U plane.
- (NSString*) parameters |
Gets the parameters.
Implements FMLiveSwitchMediaFormat.
+ (FMLiveSwitchVideoFormat*) rgb |
Gets an RGB video format.
+ (FMLiveSwitchVideoFormat*) rgba |
Gets an RGBA video format.
+ (NSString*) rgbaName |
Gets the name of the RGBA video format ("RGBA").
Indicates that each pixel occupies 32 bits (8 bits for red, then 8 bits for green, then 8 bits for blue, then 8 bits for alpha).
+ (NSString*) rgbName |
Gets the name of the RGB video format ("RGB").
Indicates that each pixel occupies 24 bits (8 bits for red, then 8 bits for green, then 8 bits for blue).
- (void) setFourCC: | (int) | value |
Sets the FourCC value for this format.
+ (int) toFourCCWithA: | (unichar) | a | |
b: | (unichar) | b | |
c: | (unichar) | c | |
d: | (unichar) | d | |
Converts 4 FourCC characters to an int.
+ (int) toFourCCWithFourcc: | (NSString *) | fourcc |
Converts a FourCC string to a int.
fourcc | The fourcc. |
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonWithVideoFormat: | (FMLiveSwitchVideoFormat *) | videoFormat |
Serializes an instance to JSON.
videoFormat | The video format. |
- (void) updateProfileToCompatibleWithFormat: | (FMLiveSwitchVideoFormat *) | format |
Updates the profile to a compatible value.
format | The format. |
+ (FMLiveSwitchVideoFormat*) videoFormat |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
+ (FMLiveSwitchVideoFormat*) videoFormatWithName: | (NSString *) | name |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
+ (FMLiveSwitchVideoFormat*) videoFormatWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
+ (FMLiveSwitchVideoFormat*) videoFormatWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
packetizationMode: | (NSString *) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
packetizationMode | The packetization mode. |
+ (FMLiveSwitchVideoFormat*) videoFormatWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
profile: | (NSString *) | profile | |
level: | (NSString *) | level | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
profile | The media format profile. |
level | The media format level. |
+ (FMLiveSwitchVideoFormat*) videoFormatWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
profile: | (NSString *) | profile | |
level: | (NSString *) | level | |
packetizationMode: | (NSString *) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
packetizationMode | The packetization mode. |
level | The media format level. |
profile | The media format profile. |
+ (FMLiveSwitchVideoFormat*) videoFormatWithName: | (NSString *) | name | |
clockRate: | (int) | clockRate | |
profile: | (NSString *) | profile | |
level: | (NSString *) | level | |
packetizationMode: | (NSString *) | packetizationMode | |
tier: | (NSString *) | tier | |
Initializes a new instance of the FMLiveSwitchVideoFormat class.
name | The name. |
clockRate | The clock rate. |
packetizationMode | The packetization mode. |
level | The media format level. |
profile | The media format profile. |
tier | The media format tier. |
+ (FMLiveSwitchVideoFormat*) vp8 |
Gets a VP8 video format.
+ (NSString*) vp8Name |
Gets the name of the VP8 video format ("VP8").
+ (FMLiveSwitchVideoFormat*) vp9 |
Gets a VP9 video format.
+ (NSString*) vp9Name |
Gets the name of the VP9 video format ("VP9").
+ (FMLiveSwitchVideoFormat*) yv12 |
Gets a YV12 video format.
+ (NSString*) yv12Name |
Gets the name of the YV12 video format ("YV12").
Indicates that each pixel occupies 12 bits (8 bits for Y, 2 bits for U, and 2 bits for V). Y plane is followed by V plane and then U plane.