Skip to content

Commit

Permalink
- Set Initial callState for Call
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacakakpo1 committed Nov 18, 2024
1 parent 011da73 commit 116eed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telnyx_rtc/src/main/java/com/telnyx/webrtc/sdk/Call.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ data class Call(
private val loudSpeakerLiveData = MutableLiveData(false)

init {
callStateLiveData.postValue(CallState.CONNECTING)
updateCallState(CallState.CONNECTING)

// Ensure that loudSpeakerLiveData is correct based on possible options provided from client.
loudSpeakerLiveData.postValue(audioManager.isSpeakerphoneOn)
Expand Down

0 comments on commit 116eed0

Please sign in to comment.