Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused comments
Browse files Browse the repository at this point in the history
rahul-lohra committed Dec 18, 2024
1 parent c8234aa commit bdb405d
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -109,7 +109,6 @@ import io.getstream.video.android.util.config.AppConfig
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.collectLatest
import kotlinx.coroutines.flow.distinctUntilChanged
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.launch
import org.openapitools.client.models.OwnCapability
@@ -194,12 +193,15 @@ fun CallScreen(
* This behavior is intentional for this demo-app ONLY and designed to prioritize the "Auto-On" setting over the current state.
*
* Please keep this behavior in mind, as it might appear unexpected at first glance.
*
* Note: Occasionally, when `call.startTranscription()` might throw a 400 error in the demo app when Transcription is set to "Auto-On", indicating that
* transcription is already in progress. This is expected and can safely be ignored as it does not impact
* the ongoing transcription functionality.
*/
val isCurrentlyTranscribing by call.state.transcribing.collectAsStateWithLifecycle()

LaunchedEffect(call.state.settings) {
LaunchedEffect(Unit) {
call.state.settings.map { it?.transcription }
.distinctUntilChanged()
.collectLatest { transcription ->
executeTranscriptionApis(call, isCurrentlyTranscribing, transcription)
}
Original file line number Diff line number Diff line change
@@ -81,7 +81,6 @@ import org.openapitools.client.models.SendReactionResponse
import org.openapitools.client.models.StartTranscriptionResponse
import org.openapitools.client.models.StopLiveResponse
import org.openapitools.client.models.StopTranscriptionResponse
import org.openapitools.client.models.TranscriptionSettingsResponse
import org.openapitools.client.models.UnpinResponse
import org.openapitools.client.models.UpdateCallMembersRequest
import org.openapitools.client.models.UpdateCallMembersResponse

0 comments on commit bdb405d

Please sign in to comment.