IntdashVideoDecoder

open class IntdashVideoDecoder : NSObject, JPEGDecoderDelegate, H264DecoderDelegate, HEVCDecoderDelegate

ビデオ用のデコーダークラス。

  • デコードに使用する映像のコーデック。

    Declaration

    Swift

    public private(set) var codec: IntdashVideoCodec { get }
  • デコード用オプション。

    Declaration

    Swift

    public private(set) var option: IntdashVideoDecoderOption { get }
  • tag

    オブジェクトを識別するためのタグ。

    Declaration

    Swift

    public var tag: Int
  • このクラスが使用する Delegate。

    Declaration

    Swift

    public weak var delegate: IntdashVideoDecoderDelegate?
  • ログレベル。

    Declaration

    Swift

    public var logLevel: IntdashMediaLogLevel { get set }
  • デコード時の画像変換をスキップするフラグ。

    Declaration

    Swift

    public var isSkipConvertImage: Bool { get set }
  • JPEG用デコーダー。

    Declaration

    Swift

    public var jpegDecoder: JPEGDecoder?
  • H.264/AVC用デコーダー。

    Declaration

    Swift

    public var h264Decoder: H264Decoder?
  • H.265/HEVC用デコーダー。

    Declaration

    Swift

    public var hevcDecoder: HEVCDecoder?
  • IntdashVideoDecoder を生成します。

    Declaration

    Parameters

    codec

    使用するコーデック

    option

    デコーダー用のオプション

  • デコードするデータを渡します。

    Declaration

    Swift

    public func append(frameData: Data, timestamp: TimeInterval = -1)

    Parameters

    frameData

    エンコードされた映像データ 。 本フィールドに渡すべきデータの形式は、使用するコーデックにより異なります。

    timestamp

    sampleData に対応するタイムスタンプ 。 デコードが成功した際に、デコードされた画像データとともに delegate に渡されます。

  • デコーダーをリセットします。

    Declaration

    Swift

    public func reset()
  • デコーダーをリセットします。

    Declaration

    Swift

    public func reset(option: IntdashVideoDecoderOption)

    Parameters

    option

    デコーダー用オプション

  • 割り当てを解除します。

    Declaration

    Swift

    public func dispose()

JPEGDecoderDelegate

H264DecoderDelegate

HEVCDecoderDelegate