mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
direction and track need to be set for hold/unhold
This commit is contained in:
parent
3f8ddbec60
commit
44e8974c02
1
changelog.d/5865.bugfix
Normal file
1
changelog.d/5865.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix for audio only being received in one direction after an un-hold during a sip call.
|
@ -683,6 +683,8 @@ class WebRtcCall(
|
||||
direction = RtpTransceiver.RtpTransceiverDirection.SEND_RECV
|
||||
}
|
||||
for (transceiver in peerConnection?.transceivers ?: emptyList()) {
|
||||
transceiver.sender.track()?.setEnabled(!onHold)
|
||||
transceiver.receiver.track()?.setEnabled(!onHold)
|
||||
transceiver.direction = direction
|
||||
}
|
||||
updateMuteStatus()
|
||||
|
Loading…
Reference in New Issue
Block a user