DJI Mobile SDK Documentation

      class LiveStreamStatus

      class LiveStreamStatus
      Package:dji.v5.manager.datacenter.livestream
      Description:

      The live stream status is used to get the current FPS, bitrate, resolution, packet loss, and status.

      Supported since MSDK 5.0.0

      Class Members:
      method isStreaming
      boolean isStreaming()
      Package:dji.v5.manager.datacenter.livestream
      Description:

      Get whether the status is streaming.

      Support since MSDK 5.0.0

      Return:
      booleanReturn whether the status is streaming.
      method
      method getFps
      int getFps()
      Package:dji.v5.manager.datacenter.livestream
      Description:

      Get the FPS of live video streaming.

      Supported since MSDK 5.0.0

      Return:
      intReturn the FPS of live video streaming.
      method
      method getVbps
      int getVbps()
      Package:dji.v5.manager.datacenter.livestream
      Description:

      Get the bit rate of live video streaming.

      Supported since MSDK 5.0.0

      Return:
      intReturn the bit rate of live video streaming.
      method getResolution
      VideoResolution getResolution()
      Package:dji.v5.manager.datacenter.livestream
      Description:

      Get the resolution of live video streaming.

      Supported since MSDK 5.0.0

      Return:
      VideoResolutionReturn the resolution of live video streaming.
      method getPacketLoss
      int getPacketLoss()
      Package:dji.v5.manager.datacenter.livestream
      Description:

      Get the packet loss of live video streaming.

      Supported since MSDK 5.0.0

      Return:
      intReturn the packet loss of live video streaming.
      method getPacketCacheLen
      int getPacketCacheLen()
      Package:dji.v5.manager.datacenter.livestream
      Description:

      Get the packet cache length of live video streaming.

      Supported since MSDK 5.0.0

      Return:
      intReturn the packet cache length of live video streaming.
      method
      method getRtt
      int getRtt()
      Package:dji.v5.manager.datacenter.livestream
      Description:

      Get the latency of live video streaming.

      Supported since MSDK 5.0.0

      Return:
      intReturn the latency of live video streaming.