RecordingStopped

data class RecordingStopped(val path: String, val reason: String) : PlaybackWarning

A recording ended without KitePlayer.stopRecording, KitePlayer.stop or KitePlayer.close, or its file could not be finished. The file at path keeps what was recorded until then.

reason names the cause: a seek, a move to another queue item, a video track switch, or a write that failed. A seek always ends a recording, because a file with a jump in it is not a recording.

Constructors

Link copied to clipboard
constructor(path: String, reason: String)

Properties

Link copied to clipboard
open val fields: Map<String, String>

The warning as key and value pairs, for a structured log sink.

Link copied to clipboard
open override val message: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
override fun toString(): String

The type and the message, with every URI cut to its file name, as for PlaybackError.