DJI Mobile SDK Documentation

      class LiveStream

      final class LiveStream
      Package:dji.sdk.flighthub.model
      Description:

      This class represents the live stream information of devices in the same team.

      Class Members:
      method getRtmpURL
      String getRtmpURL()
      Package:dji.sdk.flighthub.model
      Description:

      Gets the RTMP(Real-Time Messaging Protocol) URL of the live stream. When the device is broadcasting, user can receive the live stream's video data and audio data through RTMP.

      Return:
      StringA URL string.
      method
      method isValid
      boolean isValid()
      Package:dji.sdk.flighthub.model
      Description:

      Determines if the live stream is valid. When the team member stops live streaming or the device is disconnected, the live stream will become invalid.

      Return:
      booleantrue if the live stream is valid.