setIsPublishing

fun setIsPublishing(camera: Boolean? = null, microphone: Boolean? = null, listener: RequestListener? = null)

Publish or unpublish a camera and/or microphone track.

The optional callback (listener) will be invoked either when the operation has completed, or if it encounters an error.

Errors will also be provided to the CallClientListener.onError callback.

For more advanced publishing settings, see updatePublishing.