NextLevelAudioConfiguration
public class NextLevelAudioConfiguration : NextLevelConfiguration
NextLevelAudioConfiguration, audio capture configuration object
-
Undocumented
Declaration
Swift
public static let AudioBitRateDefault: Int
-
Undocumented
Declaration
Swift
public static let AudioSampleRateDefault: Float64
-
Undocumented
Declaration
Swift
public static let AudioChannelsCountDefault: Int
-
Audio bit rate, AV dictionary key AVEncoderBitRateKey
Declaration
Swift
public var bitRate: Int
-
Sample rate in hertz, AV dictionary key AVSampleRateKey
Declaration
Swift
public var sampleRate: Float64?
-
Number of channels, AV dictionary key AVNumberOfChannelsKey
Declaration
Swift
public var channelsCount: Int?
-
Audio data format identifier, AV dictionary key AVFormatIDKey https://developer.apple.com/reference/coreaudio/1613060-core_audio_data_types
Declaration
Swift
public var format: AudioFormatID
-
Undocumented
Declaration
Swift
public override init()
-
Provides an AVFoundation friendly dictionary for configuring output.
Declaration
Swift
public override func avcaptureSettingsDictionary(sampleBuffer: CMSampleBuffer? = nil, pixelBuffer: CVPixelBuffer? = nil) -> [String : Any]?
Parameters
sampleBuffer
Sample buffer for extracting configuration information
Return Value
Audio configuration dictionary for AVFoundation