TVIDataTrackOptionsBuilder Class Reference

Inherits from NSObject
Declared in TVIDataTrackOptions.h

Overview

TVIDataTrackOptionsBuilder constructs TVIDataTrackOptionsBuilder.

  ordered

Ordered transmission of messages. Defaults to YES.

@property (nonatomic, assign, getter=isOrdered) BOOL ordered

Declared In

TVIDataTrackOptions.h

  maxPacketLifeTime

Maximum retransmit time in milliseconds. Default value is kTVIDataTrackOptionsDefaultMaxPacketLifeTime.

@property (nonatomic, assign) int maxPacketLifeTime

Discussion

maxPacketLifeTime and maxRetransmits are mutually exclusive. This means that only one of these values can be set to a non default value at a time. Valid values are kTVIDataTrackOptionsDefaultMaxPacketLifeTime and 0..UINT16_MAX.

Declared In

TVIDataTrackOptions.h

  maxRetransmits

Maximum number of retransmitted messages. Default value is kTVIDataTrackOptionsDefaultMaxRetransmits.

@property (nonatomic, assign) int maxRetransmits

Discussion

maxRetransmits and maxPacketLifeTime are mutually exclusive. This means that only one of these values can be set to a non default value at a time. Valid values are kTVIDataTrackOptionsDefaultMaxRetransmits and 0..UINT16_MAX.

Declared In

TVIDataTrackOptions.h

  name

The name for the Track.

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

Declared In

TVIDataTrackOptions.h

– init

You should not initialize TVIDataTrackOptionsBuilder directly, use a TVIDataTrackOptionsBuilderBlock instead.

- (null_unspecified instancetype)init

Declared In

TVIDataTrackOptions.h