DJI Mobile SDK Documentation

      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
      ICameraStreamManager.MimeType getMimeType()
      Package:dji.v5.manager.datacenter.camera
      Description:

      Gets the mime type of the video stream.

      Return:
      ICameraStreamManager.MimeTypeReturns the mime type of the video stream.
      method
      method getWidth
      int getWidth()
      Package:dji.v5.manager.datacenter.camera
      Description:

      Gets the width of the video stream.

      Return:
      intReturns the width of the video stream.
      method
      method getHeight
      int getHeight()
      Package:dji.v5.manager.datacenter.camera
      Description:

      Gets the height of the video stream.

      Return:
      intReturns the height of the video stream.
      method getFrameRate
      int getFrameRate()
      Package:dji.v5.manager.datacenter.camera
      Description:

      Gets the frame rate of the video stream.

      Return:
      intReturns 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:
      longReturns the presentation time stamp of the video stream.
      method isKeyFrame
      boolean isKeyFrame()
      Package:dji.v5.manager.datacenter.camera
      Description:

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

      Return:
      booleantrue indicates that the current frame of video stream data is key frame.