enableStreaming

abstract fun enableStreaming(enable: Boolean)

Drone streaming control.

Provides global control of the ability to start streams.

When streaming gets enabled, currently suspended stream will be resumed. When streaming is enabled, streams can be started.

When streaming gets disabled, currently started stream gets suspended, in case it supports being resumed, or stopped otherwise. When streaming is disabled, no stream can be started.

Parameters

enable

true to enable streaming, false to disable it