Rate this page:

VIVideoFormat

Interface that represents video format.

Props

frame

Copy URL
@property (assign, readonly, nonatomic) 

CGSize

frame

Frame size.

Returns

  • type:

    CGSize

interval

Copy URL
@property (assign, readonly, nonatomic) 

NSUInteger

interval

Time interval between frames in nanoseconds.

Returns

  • type:

    NSUInteger

Methods

initWithFrame:fps:

Copy URL
- (

instancetype

)initWithFrame:(

CGSize

)frame
fps:(

NSUInteger

)fps

Initializes a video format with a frame size and fps.

Parameters

  • frame:

    CGSize

    Frame size

  • fps:

    NSUInteger

    FPS.

Returns

  • type:

    instancetype

initWithFrame:interval:

Copy URL
- (

instancetype

)initWithFrame:(

CGSize

)frame
interval:(

NSUInteger

)interval

Initializes a video format with a frame size and an interval.

Parameters

  • frame:

    CGSize

    Frame size

  • interval:

    NSUInteger

    Time interval between frames in milliseconds

Returns

  • type:

    instancetype