# class IVideoFrame

    @Deprecated
     interface IVideoFrame

Package: | dji.v5.common.video.interfaces

##### Description:

Video frame class.
`Supported since MSDK 5.0.0`

##### Class Members:

method
getData

###### method getData

    byte[] getData()

Package: | dji.v5.common.video.interfaces

##### Description:

Get the video data of current frame.

##### Return:

byte[] | Return the video data of current frame.

method
getWidth

###### method getWidth

    int getWidth()

Package: | dji.v5.common.video.interfaces

##### Description:

Get the width of current frame.

##### Return:

int | Return the width of video data.

method
getHeight

###### method getHeight

    int getHeight()

Package: | dji.v5.common.video.interfaces

##### Description:

Get the height of the current frame.

##### Return:

int | Return the height of video data.

method
getFps

###### method getFps

    int getFps()

Package: | dji.v5.common.video.interfaces

##### Description:

Get the FPS of current frame.

##### Return:

int | Return the FPS of video data.

method
getSeqNumber

###### method getSeqNumber

    long getSeqNumber()

Package: | dji.v5.common.video.interfaces

##### Description:

Get the sequence number of current frame.

##### Return:

long | Return the sequence number of video data.

method
isIFrame

###### method isIFrame

    boolean isIFrame()

Package: | dji.v5.common.video.interfaces

##### Description:

Get the current frame is an I frame.

##### Return:

boolean | Return whether the current frame is an I frame.

method
getPTS

###### method getPTS

    long getPTS()

Package: | dji.v5.common.video.interfaces

##### Description:

Get the timestamp (PTS) of the current frame.

##### Return:

long | Return the timestamp (PTS) of the current frame.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found