# class StreamInfo

    class StreamInfo

Package: | dji.v5.manager.datacenter.camera

##### Description:

The video stream information class, which can obtain the width, height, frame rate and other information of the video stream.
`Supported since MSDK 5.8.0`

##### Class Members:

method
getMimeType

###### method getMimeType

    ICameraStreamManager.MimeType getMimeType()

Package: | dji.v5.manager.datacenter.camera

##### Description:

Gets the mime type of the video stream.

##### Return:

ICameraStreamManager.MimeType | Returns the mime type of the video stream.

method
getWidth

###### method getWidth

    int getWidth()

Package: | dji.v5.manager.datacenter.camera

##### Description:

Gets the width of the video stream.

##### Return:

int | Returns the width of the video stream.

method
getHeight

###### method getHeight

    int getHeight()

Package: | dji.v5.manager.datacenter.camera

##### Description:

Gets the height of the video stream.

##### Return:

int | Returns the height of the video stream.

method
getFrameRate

###### method getFrameRate

    int getFrameRate()

Package: | dji.v5.manager.datacenter.camera

##### Description:

Gets the frame rate of the video stream.

##### Return:

int | Returns the frame rate of the video stream.

method
getPresentationTimeMs

###### method getPresentationTimeMs

    long getPresentationTimeMs()

Package: | dji.v5.manager.datacenter.camera

##### Description:

Gets the presentation time stamp of the video stream. Unit: milliseconds.

##### Return:

long | Returns the presentation time stamp of the video stream.

method
isKeyFrame

###### method isKeyFrame

    boolean isKeyFrame()

Package: | dji.v5.manager.datacenter.camera

##### Description:

Gets if the current frame of video stream data is key frame.

##### Return:

boolean | `true` indicates that the current frame of video stream data is key 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