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
ICameraStreamManager.MimeType getMimeType()
|
| Package: | dji.v5.manager.datacenter.camera |
Description:
Gets the mime type of the video stream.
Return:
method 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
| 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
| 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
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
| 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. |