IntdashVideoEncoderDelegate
public protocol IntdashVideoEncoderDelegate : NSObjectProtocol
IntdashVideoEncoder が使用する Delegate 表すプロトコル。
-
セットした画像データのエンコードが成功した際に呼び出されるコールバック。
Declaration
Swift
func encodedFrame(_ encoder: IntdashVideoEncoder, frameData: Data, timestamp: TimeInterval)Parameters
encoderビデオ用エンコーダー。
frameDataエンコードされた画像データ 。 使用するコーデックによりフォーマットが異なります。
timestampタイムスタンプ。
-
encodedDownSamplingFrame(_:Default implementationframeData: timestamp: ) セットした画像データのエンコードが成功し、ダウンサンプリングされたフレームが取得された際に呼び出されるコールバック。
Default Implementation
Declaration
Swift
func encodedDownSamplingFrame(_ encoder: IntdashVideoEncoder, frameData: Data, timestamp: TimeInterval)Parameters
encoderビデオ用エンコーダー。
frameDataエンコードされた画像データ 。 使用するコーデックによりフォーマットが異なります。
timestampタイムスタンプ。
-
セットした画像データのエンコードが失敗した際に呼び出されるコールバック。
Declaration
Swift
func encodeFailedSampleBuffer(_ encoder: IntdashVideoEncoder, error: NSError)Parameters
encoderビデオ用エンコーダー。
errorエラー情報。
IntdashVideoEncoderDelegate Protocol Reference