DJI Mobile SDK Documentation

      class StreamSource

      @Deprecated
      class StreamSource implements KeepProguard
      Package:dji.v5.common.video.stream
      Description:

      This class represents the video source. It is used to get the unique ID of video source, its physical equipment's information and position.

      Supported since MSDK 5.0.0

      Class Members:
      method getStreamId
      int getStreamId()
      Package:dji.v5.common.video.stream
      Description:

      Get the unique ID of video source.

      Return:
      intReturn the unique ID of video source.
      method getPhysicalDeviceCategory
      PhysicalDeviceCategory getPhysicalDeviceCategory()
      Package:dji.v5.common.video.stream
      Description:

      Get the equipment type of video source.

      Return:
      PhysicalDeviceCategoryReturn the equipment type of video source.
      method getPhysicalDeviceType
      PhysicalDeviceType getPhysicalDeviceType()
      Package:dji.v5.common.video.stream
      Description:

      Get the equipment model of video source.

      Return:
      PhysicalDeviceTypeReturn the equipment model of video source.
      method getPhysicalDevicePosition
      PhysicalDevicePosition getPhysicalDevicePosition()
      Package:dji.v5.common.video.stream
      Description:

      Get the equipment position of video source.

      Return:
      PhysicalDevicePositionReturn the equipment position of video source.
      enum PhysicalDeviceCategory
      @Deprecated
      enum PhysicalDeviceCategory
      Package:dji.v5.common.video.stream
      Description:

      Equipment category of video source.

      Enum Members:
      CAMERAThe video source is camera.
      RADARThe video source is radar.
      PAYLOADThe video source is 3rd party payload.
      Class Members:
      enum PhysicalDevicePosition
      @Deprecated
      enum PhysicalDevicePosition
      Package:dji.v5.common.video.stream
      Description:

      Equipment position of video source.

      Enum Members:
      PORTSIDEThe equipment of this video source is at portside.
      STARBOARDThe equipment of this video source is at starboard.
      UPSIDEThe equipment of this video source is at upside.
      NOSEThe equipment of this video source is at nose. Normally it is FPV camera.
      DEFAULTThe equipment of this video source is right under the aircraft. Normally a consumer level product will return this position because it has single camera.
      Class Members: