shouldEndSFTOneOnOneCall
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.
Return
true if the call should be ended, false otherwise.
Parameters
conversationId
the conversation id.
callProtocol
the call protocol.
conversationType
the conversation type.
newCallParticipants
the new call participants.
previousCallParticipants
the previous call participants.