File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
app/src/main/java/com/nextcloud/talk/activities Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -310,8 +310,7 @@ class CallActivity : CallBaseActivity() {
310310 private var handler: Handler ? = null
311311 private var currentCallStatus: CallStatus ? = null
312312 private var mediaPlayer: MediaPlayer ? = null
313-
314- // private val participantItems = mutableStateListOf<ParticipantDisplayItem>()
313+
315314 private var binding: CallActivityBinding ? = null
316315 private var audioOutputDialog: AudioOutputDialog ? = null
317316 private var moreCallActionsDialog: MoreCallActionsDialog ? = null
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ class ParticipantHandler(
5757 }
5858
5959 override fun onIceConnectionStateChanged (iceConnectionState : IceConnectionState ? ) {
60+ Log .d(TAG , " onIceConnectionStateChanged " + _uiState .value.nick + " " + iceConnectionState)
6061 handleIceConnectionStateChange(iceConnectionState)
6162 }
6263 }
@@ -98,6 +99,8 @@ class ParticipantHandler(
9899 }
99100
100101 private fun handleIceConnectionStateChange (iceConnectionState : IceConnectionState ? ) {
102+ Log .d(TAG , " handleIceConnectionStateChange " + _uiState .value.nick + " " + iceConnectionState)
103+
101104 if (iceConnectionState == IceConnectionState .NEW ||
102105 iceConnectionState == IceConnectionState .CHECKING
103106 ) {
@@ -164,6 +167,8 @@ class ParticipantHandler(
164167 return
165168 }
166169
170+ Log .d(TAG , " setPeerConnection " + _uiState .value.nick + " " + this .peerConnection?.peerConnection?.iceConnectionState())
171+
167172 handleIceConnectionStateChange(this .peerConnection?.peerConnection?.iceConnectionState())
168173 handleStreamChange(this .peerConnection?.stream)
169174
You can’t perform that action at this time.
0 commit comments