Package-level declarations
Types
Link copied to clipboard
class ErrorfulException(val errorCode: Int, val message: String, val contextDescription: String? = null) : RuntimeException, Error
Extension of the RuntimeException that also implements Error interface.
Properties
Functions
Link copied to clipboard
fun convertBehindLiveWindowExceptionToError(exception: BehindLiveWindowException, extraErrorContext: String): Error
Converts BehindLiveWindowException to Error.
Link copied to clipboard
fun convertDecoderInitializationExceptionToError(decoderException: MediaCodecRenderer.DecoderInitializationException, extraErrorContext: String): Error
Converts the MediaCodecRenderer.DecoderInitializationException to Error.
Link copied to clipboard
fun convertDRMSessionExceptionToError(drmSessionException: DrmSession.DrmSessionException, extraErrorContext: String): Error
Converts the DrmSession.DrmSessionException to Error.
Link copied to clipboard
fun convertExceptionToError(exception: PlaybackException, appContext: Context, isDrmContent: Boolean = false): Error
Converts the PlaybackException to Error.
Link copied to clipboard
fun convertHttpDataSourceExceptionToError(dataSourceException: HttpDataSource.HttpDataSourceException, extraErrorContext: String): Error
Converts the HttpDataSource.HttpDataSourceException to Error.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Converts the unexpected RuntimeException to Error.
Link copied to clipboard
Extracts the MediaCodec.CodecException message.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks whether the error thrown was eligible for player recover