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)
See also
com. parrot. drone. groundsdk. device. Drone
Drone#getPeripheral(Class, Ref.Observer)
Functions
enable Streaming
Link copied to clipboard
Drone streaming control.
live
Link copied to clipboard
abstract fun live(@NonNull observer: Ref.Observer<CameraLive>): Ref<CameraLive>
Content 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>
Content copied to clipboard
Provides access to a drone video live stream.
replay
Link copied to clipboard
abstract fun replay(@NonNull source: MediaReplay.Source, @NonNull observer: Ref.Observer<MediaReplay>): Ref<MediaReplay>
Content copied to clipboard
Creates a new replay stream for some remote media.
streaming Enabled
Link copied to clipboard
Tells whether streaming is currently enabled.