CallHelper

interface CallHelper

Helper class to handle call related operations.

Inheritors

Functions

Link copied to clipboard
abstract fun shouldEndSFTOneOnOneCall(conversationId: <Error class: unknown class>, callProtocol: <Error class: unknown class>?, conversationType: <Error class: unknown class>, newCallParticipants: List<<Error class: unknown class>>, previousCallParticipants: List<<Error class: unknown class>>): Boolean

Check if the OneOnOne call that uses SFT should be ended. For Proteus, the call should be ended if the call has one participant after having 2 in the call. For MLS, the call should be ended if the call has two participants and the second participant has lost audio.