# Package-level declarations

## Types

CallQualityWarningEvent
Link copied to clipboard
sealed interface CallQualityWarningEvent

General interface for objects describing call quality warning events.

CallQualityWarningEventListener
Link copied to clipboard
fun interface CallQualityWarningEventListener

Receiver of Call Quality warnings events issued by Sinch SDK.

CallQualityWarningEventType
Link copied to clipboard
enum CallQualityWarningEventType : Enum<CallQualityWarningEventType>

Represents type of the call quality warning event.

ConstantInboundAudioLevelWarningEvent
Link copied to clipboard
data class ConstantInboundAudioLevelWarningEvent(val type: CallQualityWarningEventType) : MediaStreamWarningEvent

Warning issued when standard deviation of audio level measurements from last 20 seconds is lower then 0.5% of the maximum possible audio level value.

ConstantOutboundAudioLevelWarningEvent
Link copied to clipboard
data class ConstantOutboundAudioLevelWarningEvent(val type: CallQualityWarningEventType) : MediaStreamWarningEvent

Warning issued when standard deviation of audio level measurements from last 20 seconds is lower then 0.5% of the maximum possible audio level value.

HighInboundJitterWarningEvent
Link copied to clipboard
data class HighInboundJitterWarningEvent(val mediaStreamType: MediaStreamType, val type: CallQualityWarningEventType) : MediaStreamWarningEvent

Warning issued when Jitter > 30 ms for 3 out of last 4 samples.

HighInboundPacketLossWarningEvent
Link copied to clipboard
data class HighInboundPacketLossWarningEvent(val mediaStreamType: MediaStreamType, val type: CallQualityWarningEventType) : MediaStreamWarningEvent

Warning issued when Packet loss > 1% in 3 out of last 4 samples.

HighRemoteInboundRttWarningEvent
Link copied to clipboard
data class HighRemoteInboundRttWarningEvent(val mediaStreamType: MediaStreamType, val type: CallQualityWarningEventType) : MediaStreamWarningEvent

Warning issues when Round Trip Time (RTT) drops below 300 (for remote inbound stream).

LowOSOutputVolumeLevel
Link copied to clipboard
data class LowOSOutputVolumeLevel(val type: CallQualityWarningEventType) : MediaStreamWarningEvent

Warning issued when platform level volume is within lower 25% range. The volume factor is measured by observing `STREAM_VOICE_CALL` Android platform property.

MediaStreamWarningEvent
Link copied to clipboard
interface MediaStreamWarningEvent : CallQualityWarningEvent

Media stream warning acts as a base interface for warnings issued for individual streams (video or audio).

MissingMediaStreamWarningEvent
Link copied to clipboard
data class MissingMediaStreamWarningEvent(val type: CallQualityWarningEventType) : CallQualityWarningEvent

Warning issued when ICE connection is not in IceConnectionState.CONNECTED state after the call is established.

ZeroInboundAudioLevelWarningEvent
Link copied to clipboard
data class ZeroInboundAudioLevelWarningEvent(val type: CallQualityWarningEventType) : MediaStreamWarningEvent

Warning issued when the audio level measurements of the inbound rtp audio stream from last 2 seconds are equal to 0.

ZeroOutboundAudioLevelWarningEvent
Link copied to clipboard
data class ZeroOutboundAudioLevelWarningEvent(val type: CallQualityWarningEventType) : MediaStreamWarningEvent

Warning issued when the audio level measurements of the outbound rtp audio stream from last 2 seconds are equal to 0.