live
abstract fun live(@NonNull observer: Ref.Observer<CameraLive>): Ref<CameraLive>
Content copied to clipboard
Provides access to the drone active camera default live stream.
There is only one such stream instance that is shared amongst all open references.
Closing the returned reference does NOT automatically stops the referenced camera live stream.
Return
a reference onto the camera live stream interface
Parameters
observer
observer notified when the stream state changes
abstract fun live(@NonNull source: CameraLive.Source, @NonNull observer: Ref.Observer<CameraLive>): Ref<CameraLive>
Content copied to clipboard
Provides access to a drone video live stream.
There is only one live stream instance for each source, which is shared among all open references.
Closing the returned reference does NOT automatically stops the referenced live stream.
Return
a reference onto the live stream interface
Parameters
source
live source to stream
observer
observer notified when the stream state changes