IVSJitterBufferConfiguration

Objective-C


@interface IVSJitterBufferConfiguration : NSObject

Swift

class IVSJitterBufferConfiguration : NSObject

A configuration object describing jitter buffer configuration

  • The current jitter buffer minimum delay.

    By default this is [IVSJitterBufferDelay default].

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) IVSJitterBufferDelay *minDelay;

    Swift

    var minDelay: IVSJitterBufferDelay { get }
  • Sets the jitter buffer minimum delay for subscribing. This value must be a preset or explicit value between 0 and 10. If the provided delay falls outside this range, the delay will not be set and the provided outError will be set.

    Declaration

    Objective-C

    - (BOOL)setMinDelay:(nonnull IVSJitterBufferDelay *)minDelay
                  error:(NSError *_Nullable *_Nullable)outError;

    Swift

    func setMinDelay(_ minDelay: IVSJitterBufferDelay) throws

    Parameters

    minDelay

    The jitter buffer minimum delay for subscribing

    outError

    On input, a pointer to an error object. If an error occurs, the pointer is an NSError object that describes the error. If you don’t want error information, pass in nil.

    Return Value

    if the set operation is successful or not.