ConnectionFailed

data class ConnectionFailed(val sourceId: SourceId, val resultCode: ResultCode? = null) : MediaError

It was not possible to communicate with the media source identified by sourceId, or it has refused the connection attempt. Optional resultCode may provide additional information.

A connection can be refused, for example, because the client has not been authorized to connect to the media source.

After this error, the client is not recoverable and can be disposed of.

Constructors

Link copied to clipboard
constructor(sourceId: SourceId, resultCode: ResultCode? = null)

Properties

Link copied to clipboard
val resultCode: ResultCode? = null
Link copied to clipboard
open override val sourceId: SourceId