IVSDeviceDiscovery
Objective-C
@interface IVSDeviceDiscovery : NSObject
Swift
class IVSDeviceDiscovery : NSObject
The interaction point for discovering and creating devices for use with the Broadcast and Stage SDKs.
-
Add delegate
Declaration
Objective-C
- (void)addDelegate:(nonnull id<IVSDeviceDiscoveryDelegate>)delegate;
Swift
func addDelegate(_ delegate: any IVSDeviceDiscoveryDelegate)
-
Remove delegate
Declaration
Objective-C
- (void)removeDelegate:(nonnull id<IVSDeviceDiscoveryDelegate>)delegate;
Swift
func removeDelegate(_ delegate: any IVSDeviceDiscoveryDelegate)
-
List available devices for use with the Stage and Broadcast SDKs. These devices will conform to
IVSCamera
andIVSMicrophone
and are available for immediate use. -
Create an image input for a custom source. This should only be used if you intend to generate and feed image data to the SDK manually.
Declaration
Objective-C
- (nonnull id<IVSCustomImageSource>)createImageSourceWithName: (nonnull NSString *)name;
Swift
func createImageSource(withName name: String) -> any IVSCustomImageSource
Parameters
The
custom image soruce name.
-
Create an audio input for a custom source. This should only be used if you intend to generate and feed PCM audio data to the SDK manually.
Declaration
Objective-C
- (nonnull id<IVSCustomAudioSource>)createAudioSourceWithName: (nonnull NSString *)name;
Swift
func createAudioSource(withName name: String) -> any IVSCustomAudioSource
Parameters
The
custom audio soruce name.
-
Creates an
IVSMixedImageDevice
that composites multiple image sources into a single output image at a configurable interval.Declaration
Objective-C
- (nonnull id<IVSMixedImageDevice>)createMixedImageDeviceWithConfiguration: (nonnull IVSMixedImageDeviceConfiguration *)configuration;
Swift
func createMixedImageDevice(with configuration: IVSMixedImageDeviceConfiguration) -> any IVSMixedImageDevice
-
Creates an
IVSMixedAudioDevice
that comoposites multiple audio sources into a single output audio stream.Declaration
Objective-C
- (nonnull id<IVSMixedAudioDevice>)createMixedAudioDeviceWithConfiguration: (nonnull IVSMixedAudioDeviceConfiguration *)configuration;
Swift
func createMixedAudioDevice(with configuration: IVSMixedAudioDeviceConfiguration) -> any IVSMixedAudioDevice