class DJIVideoFeeder
@interface DJIVideoFeeder : NSObject
|
Header: | DJIVideoFeeder.h |
Inherits From: | NSObject |
Description:
Class that manages live video feed from DJI products to the mobile device.
Class Members:
Primary Video Feed
property
property primaryVideoFeed
@property (nonatomic, strong, nonnull) DJIVideoFeed *primaryVideoFeed
|
Description:
The primary video feed.
The possible physical sources for the primary video feed include:
- DJIVideoFeedPhysicalSourceMainCamera
- DJIVideoFeedPhysicalSourceLB
- DJIVideoFeedPhysicalSourceHDMI
- DJIVideoFeedPhysicalSourceLeftCamera
- DJIVideoFeedPhysicalSourceRightCamera
For M210 and M210 RTK, the physical sources are controlled by the bandwidth allocation between the port (left) and starboard (right) main cameras (setBandwidthAllocationForLeftCamera:withCompletion
):
- When bandwidth is 100% on the left camera, the primary source is DJIVideoFeedPhysicalSourceLeftCamera
and the secondary source is DJIVideoFeedPhysicalSourceFPVCamera
.
- When bandwidth is 0% on the left camera, the primary source is DJIVideoFeedPhysicalSourceRightCamera
and the secondary source is DJIVideoFeedPhysicalSourceFPVCamera
.
- When bandwidth is neither 0% nor 100% on the left camera, the primary source is DJIVideoFeedPhysicalSourceLeftCamera
and the secondary source is DJIVideoFeedPhysicalSourceRightCamera
.
For Matrice 300 RTK, the physical source can be:
DJIVideoFeedPhysicalSourceLeftCamera
,
DJIVideoFeedPhysicalSourceRightCamera
,
DJIVideoFeedPhysicalSourceTopCamera
and
DJIVideoFeedPhysicalSourceFPVCamera
.
Please note that video playback stream will be received as primary or secondary video feed, if video playback starts on Zenmuse H20 Series. Video feed channel could be assigned by assignSourceToPrimaryChannel:secondaryChannel:withCompletion
in DJIOcuSyncLink
.
See Also:
DJIVideoFeed
Secondary Video Feed
property
property secondaryVideoFeed
@property (nonatomic, strong, nonnull) DJIVideoFeed *secondaryVideoFeed
|
Description:
The secondary video feed.
The possible physical sources for the secondary video feed include:
- DJIVideoFeedPhysicalSourceFPVCamera
- DJIVideoFeedPhysicalSourceEXT
- DJIVideoFeedPhysicalSourceAV
- DJIVideoFeedPhysicalSourceRightCamera
. For M210 and M210 RTK, the physical sources are controlled by the bandwidth allocation between the port (left) and starboard (right) main cameras (setBandwidthAllocationForLeftCamera:withCompletion
):
- When bandwidth is 100% on the left camera, the primary source is DJIVideoFeedPhysicalSourceLeftCamera
and the secondary source is DJIVideoFeedPhysicalSourceFPVCamera
.
- When bandwidth is 0% on the left camera, the primary source is DJIVideoFeedPhysicalSourceRightCamera
and the secondary source is DJIVideoFeedPhysicalSourceFPVCamera
.
- When bandwidth is neither 0% nor 100% on the left camera, the primary source is DJIVideoFeedPhysicalSourceLeftCamera
and the secondary source is DJIVideoFeedPhysicalSourceRightCamera
.
For Matrice 300 RTK, the physical source can be: DJIVideoFeedPhysicalSourceLeftCamera
, DJIVideoFeedPhysicalSourceRightCamera
, DJIVideoFeedPhysicalSourceTopCamera
and DJIVideoFeedPhysicalSourceFPVCamera
. Please note that video playback stream will be received as primary or secondary video feed, if video playback starts on Zenmuse H20 Series. Video feed channel could be assigned by assignSourceToPrimaryChannel:secondaryChannel:withCompletion
in DJIOcuSyncLink
.
See Also:
DJIVideoFeed
method addVideoFeedSourceListener
- (void)addVideoFeedSourceListener:(id <DJIVideoFeedSourceListener>)sourceListener
|
Description:
Add listener to receive the physical source changes.
method removeVideoFeedSourceListener
- (void)removeVideoFeedSourceListener:(id <DJIVideoFeedSourceListener>)sourceListener
|
Description:
Remove listener to stop receiving the physical source changes.
Remove All Listener
method
method removeAllListeners
- (void)removeAllListeners
|
Description:
Remove all listeners.