Constructs TVIDataTrackOptions
using the builder pattern.
+ (null_unspecified instancetype)optionsWithBlock:(nonnull TVIDataTrackOptionsBuilderBlock)block
Parameters
block |
You can pass data track options to the builder using this block. The builder will construct a
TVIDataTrackOptions object using the options provided. |
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