SourceReconnecting

data class SourceReconnecting(val position: Long, val attempt: Int, val detail: String) : PlaybackWarning

The reader lost its connection to the source at byte position and is connecting again, for the attempt-th time in one read. detail says what failed. Playback waits meanwhile, and it fails only when the reader gives up or BufferPolicy.stallTimeout passes.

Constructors

Link copied to clipboard
constructor(position: Long, attempt: Int, detail: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override 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

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.