TVIDataTrackOptions Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TVIDataTrackOptions.h |
ordered
Ordered transmission of messages. Defaults to YES.
@property (nonatomic, assign, readonly, getter=isOrdered) BOOL orderedDeclared In
TVIDataTrackOptions.h
maxPacketLifeTime
Maximum retransmit time in milliseconds.
@property (nonatomic, assign, readonly) int maxPacketLifeTimeDeclared In
TVIDataTrackOptions.h
maxRetransmits
Maximum number of retransmitted messages.
@property (nonatomic, assign, readonly) int maxRetransmitsDeclared In
TVIDataTrackOptions.h
name
The name for the Track.
@property (nonatomic, nullable, copy, readonly) NSString *nameDeclared In
TVIDataTrackOptions.h
+ options
Creates default options.
+ (null_unspecified instancetype)optionsReturn Value
An instance of TVIDataTrackOptions.
Declared In
TVIDataTrackOptions.h
+ optionsWithBlock:
Constructs TVIDataTrackOptions using the builder pattern.
+ (null_unspecified instancetype)optionsWithBlock:(nonnull TVIDataTrackOptionsBuilderBlock)blockParameters
block |
You can pass data track options to the builder using this block. The builder will construct a
|
|---|
Return Value
An instance of TVIDataTrackOptions.
Discussion
If both maxPacketLifeTime and maxRetransmits are set to non default values, or if
maxPacketLifeTime or maxRetransmits are set to an out of range value, an NSInvalidArgumentException will
be thrown.
Declared In
TVIDataTrackOptions.h