SIGN UP

VIVideoFormat

Interface that represents video format.

Methods

- (instancetype)initWithFrame:(CGSize)frame
                          fps:(NSUInteger)fps

Initialize video format with frame size and fps.

Parameters

  • frame:

    CGSize

    Frame size.

  • fps:

    NSUInteger

    FPS.

Returns

  • Return:

    instancetype

    Video format instance.

- (instancetype)initWithFrame:(CGSize)frame
                     interval:(NSUInteger)interval

Initialize video format with frame size and interval.

Parameters

  • frame:

    CGSize

    Frame size.

  • interval:

    NSUInteger

    Time interval between frames in milliseconds.

Returns

  • Return:

    instancetype

    Video format instance.

Properties

@property (nonatomic, assign, readonly) CGSize frame

Frame size.

@property (nonatomic, assign, readonly) NSUInteger interval

Time interval between frames in nanoseconds.