Video Metadata
class VideoMetadata(title: String? = null, duration: Long? = null, width: Int? = null, height: Int? = null, bitrate: Long? = null, frameRate: Float? = null, mimeType: String? = null, audioChannels: Int? = null, audioSampleRate: Int? = null)
Represents metadata information of a video file.
Properties are backed by mutableStateOf so mutations trigger Compose recomposition. This matters when callers update fields in place (e.g. on onVideoSizeChanged or HLS resolution changes) while the metadata instance is read from a composable.
Constructors
Properties
Functions
Link copied to clipboard
fun copy(title: String? = this.title, duration: Long? = this.duration, width: Int? = this.width, height: Int? = this.height, bitrate: Long? = this.bitrate, frameRate: Float? = this.frameRate, mimeType: String? = this.mimeType, audioChannels: Int? = this.audioChannels, audioSampleRate: Int? = this.audioSampleRate): VideoMetadata