IntdashAudioEncoderDelegate
public protocol IntdashAudioEncoderDelegate : NSObjectProtocol
IntdashAudioEncoder が使用する Delegate 表すプロトコル。
-
セットした音声サンプルのエンコードが成功した際に呼び出されるコールバック。
Declaration
Swift
func encodedSamples(_ encoder: IntdashAudioEncoder, sampleData: Data, timestamp: TimeInterval)Parameters
encoder音声用エンコーダー。
sampleDataエンコードされたサンプルデータ。
timestampタイムスタンプ。
-
セットした音声サンプルのエンコードが失敗した際に呼び出されるコールバック。
Declaration
Swift
func encodeFailedSampleBuffer(_ encoder: IntdashAudioEncoder, error: NSError)Parameters
encoder音声用エンコーダー。
errorエラー情報。
IntdashAudioEncoderDelegate Protocol Reference