Protocols
The following protocols are available globally.
-
An extention of
IVSAudioDevice
that allows for submittingCMSampleBuffer
s manually. This can be used to submit PCM audio directly to the SDK.Note
Make sure you have anIVSMixerSlotConfiguration
that requests thepreferredAudioInput
value ofIVSDeviceTypeUserAudio
.Declaration
Objective-C
@protocol IVSCustomAudioSource <IVSAudioDevice>
Swift
protocol IVSCustomAudioSource : IVSAudioDevice
-
Provide a delegate to receive status updates and errors from the SDK. Updates may be run on arbitrary threads and not the main thread.
See moreDeclaration
Objective-C
@protocol IVSBroadcastSessionDelegate <NSObject>
Swift
protocol Delegate : NSObjectProtocol
-
Represents an input device such as a camera or microphone.
See moreDeclaration
Objective-C
@protocol IVSDevice <NSObject>
Swift
protocol IVSDevice : NSObjectProtocol
-
An extention of
IVSImageDevice
that allows for submittingCMSampleBuffer
s manually. The currently supported pixel formats are:kCVPixelFormatType_32BGRA
kCVPixelFormatType_420YpCbCr8BiPlanarFullRange
kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
Note
Make sure you have anIVSMixerSlotConfiguration
that requests thepreferredVideoInput
value ofIVSDeviceTypeUserVideo
.Declaration
Objective-C
@protocol IVSCustomImageSource <IVSImageDevice>
Swift
protocol IVSCustomImageSource : IVSImageDevice