VideoProcessor

@Serializable
sealed class VideoProcessor : Update<VideoProcessor> , CustomJsonSerialize

Inheritors

Types

Link copied to clipboard
@Serializable
@SerialName(value = "background-blur")
data class BackgroundBlur(val strength: Double) : VideoProcessor

Blur the background by the specified amount, between 0.0 and 1.0.

Link copied to clipboard
@Serializable
@SerialName(value = "background-image")
data class BackgroundImage(val path: String) : VideoProcessor

Replace the background with the specified image. The path must be relative to the assets directory.

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
@SerialName(value = "none")
object None : VideoProcessor

Video processor disabled.

Functions

Link copied to clipboard
open override fun toJson(): JsonObject