Stream Server
StreamServer peripheral interface.
This peripheral allows streaming of live camera video and replay of video files stored in drone memory.
This peripheral can be obtained from a drone using:
drone.getPeripheral(StreamServer.class)
Content copied to clipboard
See also
com. parrot. drone. groundsdk. device. Drone
Functions
Link copied to clipboard
Drone streaming control.
Link copied to clipboard
Provides access to the drone active camera default live stream.
abstract fun live(@NonNull source: CameraLive.Source, @NonNull observer: Ref.Observer<CameraLive>): Ref<CameraLive>
Provides access to a drone video live stream.
Link copied to clipboard
abstract fun replay(@NonNull source: MediaReplay.Source, @NonNull observer: Ref.Observer<MediaReplay>): Ref<MediaReplay>
Creates a new replay stream for some remote media.
Link copied to clipboard
Tells whether streaming is currently enabled.