# 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

###### method getStreamId

    int getStreamId()

Package: | dji.v5.common.video.stream

##### Description:

Get the unique ID of video source.

##### Return:

int | Return the unique ID of video source.

method
getPhysicalDeviceCategory

###### method getPhysicalDeviceCategory

    PhysicalDeviceCategory getPhysicalDeviceCategory()

Package: | dji.v5.common.video.stream

##### Description:

Get the equipment type of video source.

##### Return:

PhysicalDeviceCategory | Return the equipment type of video source.

method
getPhysicalDeviceType

###### method getPhysicalDeviceType

    PhysicalDeviceType getPhysicalDeviceType()

Package: | dji.v5.common.video.stream

##### Description:

Get the equipment model of video source.

##### Return:

PhysicalDeviceType | Return the equipment model of video source.

method
getPhysicalDevicePosition

###### method getPhysicalDevicePosition

    PhysicalDevicePosition getPhysicalDevicePosition()

Package: | dji.v5.common.video.stream

##### Description:

Get the equipment position of video source.

##### Return:

PhysicalDevicePosition | Return the equipment position of video source.

##### Related:

enum
PhysicalDeviceCategory

###### enum PhysicalDeviceCategory

    @Deprecated
     enum PhysicalDeviceCategory

Package: | dji.v5.common.video.stream

##### Description:

Equipment category of video source.

##### Enum Members:

CAMERA | The video source is camera.
RADAR | The video source is radar.
PAYLOAD | The video source is 3rd party payload.

##### Class Members:

class
PhysicalDeviceType
enum
PhysicalDevicePosition

###### enum PhysicalDevicePosition

    @Deprecated
     enum PhysicalDevicePosition

Package: | dji.v5.common.video.stream

##### Description:

Equipment position of video source.

##### Enum Members:

PORTSIDE | The equipment of this video source is at portside.
STARBOARD | The equipment of this video source is at starboard.
UPSIDE | The equipment of this video source is at upside.
NOSE | The equipment of this video source is at nose. Normally it is FPV camera.
DEFAULT | The 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:

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found