Inherits from NSObject
Declared in OTPublisherKit.h

Overview

Defines settings to be used when initializing a publisher using the [OTPublisherKit initWithDelegate:settings:] method.

Defining publisher settings

  name

The name of the publisher video. The [OTStream name] property for a stream published by this publisher will be set to this value (on all clients). The default value is nil.

@property (nonatomic, copy, nullable) NSString *name

Declared In

OTPublisherKit.h

  audioTrack

Whether to publish audio (YES, the default) or not (NO).

@property (nonatomic) BOOL audioTrack

Discussion

If this property is set to NO, the audio subsystem will not be initialized for the publisher, and setting the [OTPublisherKit publishAudio] property will have no effect. If your application does not require the use of audio, it is recommended to set this Builder property rather than use the [OTPublisherKit publishAudio] property, which only temporarily disables the audio track.

Declared In

OTPublisherKit.h

  videoTrack

Whether to publish video (YES, the default) or not (NO).

@property (nonatomic) BOOL videoTrack

Discussion

If this property is set to NO, the video subsystem will not be initialized for the publisher, and setting the [OTPublisherKit publishVideo] property will have no effect. If your application does not require the use of video, it is recommended to set this Builder property rather than use the [OTPublisherKit publishVideo] property, which only temporarily disables the video track.

Declared In

OTPublisherKit.h