From bc2233866bd3540020290381ee0da81869bc3ffe Mon Sep 17 00:00:00 2001 From: ganfra Date: Mon, 7 Jun 2021 14:46:12 +0200 Subject: [PATCH] VoIP: Change hold direction to send-only --- newsfragment/3467.misc | 1 + .../main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 newsfragment/3467.misc diff --git a/newsfragment/3467.misc b/newsfragment/3467.misc new file mode 100644 index 0000000000..b726da2353 --- /dev/null +++ b/newsfragment/3467.misc @@ -0,0 +1 @@ +VoIP: Change hold direction to send-only. \ No newline at end of file diff --git a/vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt b/vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt index f2a008feb7..c688c48429 100644 --- a/vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt +++ b/vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt @@ -618,7 +618,7 @@ class WebRtcCall( wasLocalOnHold = isLocalOnHold remoteOnHold = true isLocalOnHold = true - direction = RtpTransceiver.RtpTransceiverDirection.INACTIVE + direction = RtpTransceiver.RtpTransceiverDirection.SEND_ONLY timer.pause() } else { remoteOnHold = false