VideoCodec
public class VideoCodec
extension VideoCodec: Running
The VideoCodec class provides methods for encode or decode for video.
-
A bitRate mode that affectes how to encode the video source.
See moreDeclaration
Swift
public enum BitRateMode
-
The VideoCodec error domain codes.
See moreDeclaration
Swift
public enum Error : Swift.Error
-
The video encoding or decoding options.
See moreDeclaration
Swift
public enum Option : String, KeyPathRepresentable, CaseIterable
-
The videoCodec’s width value. The default value is 480.
Declaration
Swift
public static let defaultWidth: Int32
-
The videoCodec’s height value. The default value is 272.
Declaration
Swift
public static let defaultHeight: Int32
-
The videoCodec’s bitrate value. The default value is 160,000.
Declaration
Swift
public static let defaultBitrate: UInt32
-
The videoCodec’s scalingMode value. The default value is trim.
Declaration
Swift
public static let defaultScalingMode: ScalingMode
-
The videoCodec’s attributes value.
Declaration
Swift
public static var defaultAttributes: [NSString : AnyObject]?
-
The running value indicating whether the VideoCodec is running.
Declaration
Swift
public private(set) var isRunning: Atomic<Bool> { get }
-
Declaration
Swift
public func startRunning()
-
Declaration
Swift
public func stopRunning()