DJI Mobile SDK Documentation

      class ReceiveStreamListener

      interface ReceiveStreamListener
      Package:dji.v5.manager.interfaces
      Description:

      video stream data listener

      Supported since MSDK 5.8.0

      Class Members:
      method onReceiveStream
      @WorkerThread
      void onReceiveStream(
      @NonNull byte[] data,
      int offset,
      int length,
      @NonNull StreamInfo info)
      Package:dji.v5.manager.interfaces
      Description:

      When the video stream data is received, this method will be called back.

      Supported since MSDK 5.8.0

      Input Parameters:
      @NonNull byte[] datavideo stream data.
      int offsetvideo stream data offset.
      int lengthvideo stream data length.
      @NonNull StreamInfo infovideo stream data information.