StreamIngestException
interface StreamIngestException
StreamIngestException is a sealed class that represents the different types of exceptions that can occur during the stream ingest process.
Inheritors
Types
Link copied to clipboard
data class ConnectionFailed(val code: Int = 100, val errorMessage: String = "Connection failed") : StreamIngestException
ConnectionFailed is a data class that represents the exception that occurs when the connection fails.
Link copied to clipboard
data class EncoderFailed(val code: Int = 102, val errorMessage: String = "Encoder failed") : StreamIngestException
EncoderFailed is a data class that represents the exception that occurs when the encoder fails.
Link copied to clipboard
data class LicenseFailed(val code: Int = 101, val errorMessage: String = "License failed") : StreamIngestException
LicenseFailed is a data class that represents the exception that occurs when the license fails.
Link copied to clipboard
data class RtmpServerFailed(val code: Int = 103, val errorMessage: String = "Rtmp server failed, please check the rtmp server is alive or rtmp url is correct.") : StreamIngestException
RtmpServerFailed is a data class that represents the exception that occurs when the rtmp server fails.
Link copied to clipboard
data class Unknown(val code: Int = 9999, val errorMessage: String = "Unknown error") : StreamIngestException
Unknown is a data class that represents the exception that occurs when the error is unknown.