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 more

    Declaration

    Swift

    public enum BitRateMode
  • The VideoCodec error domain codes.

    See more

    Declaration

    Swift

    public enum Error : Swift.Error
  • The video encoding or decoding options.

    See more

    Declaration

    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]?
  • Specifies the settings for a VideoCodec.

    Declaration

    Swift

    public var settings: Setting<VideoCodec, Option> { get set }
  • The running value indicating whether the VideoCodec is running.

    Declaration

    Swift

    public private(set) var isRunning: Atomic<Bool> { get }

Running