diff --git a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/CallState.kt b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/CallState.kt index 1adac85b87..b3a62edf7c 100644 --- a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/CallState.kt +++ b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/CallState.kt @@ -94,6 +94,9 @@ import org.openapitools.client.models.CallSessionResponse import org.openapitools.client.models.CallSessionStartedEvent import org.openapitools.client.models.CallSettingsResponse import org.openapitools.client.models.CallStateResponseFields +import org.openapitools.client.models.CallTranscriptionFailedEvent +import org.openapitools.client.models.CallTranscriptionStartedEvent +import org.openapitools.client.models.CallTranscriptionStoppedEvent import org.openapitools.client.models.CallUpdatedEvent import org.openapitools.client.models.ConnectedEvent import org.openapitools.client.models.CustomVideoEvent @@ -932,6 +935,16 @@ public class CallState( updateParticipantCounts(session = session.value) updateRingingState() } + + is CallTranscriptionStartedEvent -> { + _transcribing.value = true + } + is CallTranscriptionStoppedEvent -> { + _transcribing.value = false + } + is CallTranscriptionFailedEvent -> { + _transcribing.value = false + } } }