Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8748,6 +8748,7 @@ public final class io/getstream/video/android/core/CallState {
public final fun getStartsAt ()Lkotlinx/coroutines/flow/StateFlow;
public final fun getStats ()Lio/getstream/video/android/core/CallStats;
public final fun getTeam ()Lkotlinx/coroutines/flow/StateFlow;
public final fun getThumbnail ()Lkotlinx/coroutines/flow/StateFlow;
public final fun getTotalParticipants ()Lkotlinx/coroutines/flow/StateFlow;
public final fun getTranscribing ()Lkotlinx/coroutines/flow/StateFlow;
public final fun getUpdatedAt ()Lkotlinx/coroutines/flow/StateFlow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,9 @@ public class CallState(
MutableStateFlow<Map<String, Boolean?>>(emptyMap())
val participantVideoEnabledOverrides = _participantVideoEnabledOverrides.asStateFlow()

internal val _thumbnail = MutableStateFlow<String?>(null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be private like every other mutable backing field in this class (_settings, _transcribing, _team, etc.). internal exposes the MutableStateFlow to the entire module.

public val thumbnail = _thumbnail.asStateFlow()

private var speakingWhileMutedResetJob: Job? = null
private var autoJoiningCall: Job? = null
private var ringingTimerJob: Job? = null
Expand Down Expand Up @@ -1532,6 +1535,7 @@ public class CallState(
_settings.value = response.settings
_transcribing.value = response.transcribing
_team.value = response.team
_thumbnail.value = response.thumbnails?.imageUrl
didUpdateSession(response.session)

updateRingingState()
Expand Down
Loading