summaryrefslogtreecommitdiff
path: root/telecomm/java
diff options
context:
space:
mode:
authorAllen Su <allenwtsu@google.com>2020-11-12 18:07:10 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-11-12 18:07:10 +0000
commit38fb2b571af277fee037ea2a61372552cc54ef40 (patch)
treee81c9260bed5c3b64670eace2984178f7bc1662b /telecomm/java
parent056959a18695c67bc253c455383384ee6d57f40a (diff)
parent21604689d0de32fc4371b5f3dd7447fe90956ade (diff)
Merge "Declare audio codec bitrate and bandwidth" am: b04ef45226 am: 1bb3473fdf am: 21604689d0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1494041 Change-Id: Id0ca7eb919c6da094dd5a7be990f4aa38526aa23
Diffstat (limited to 'telecomm/java')
-rw-r--r--telecomm/java/android/telecom/Connection.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index bbf34df8fe84..724a9e477b95 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -767,6 +767,19 @@ public abstract class Connection extends Conferenceable {
"android.telecom.extra.AUDIO_CODEC";
/**
+ * Float connection extra key used to store the audio codec bitrate in kbps for the current
+ * {@link Connection}.
+ */
+ public static final String EXTRA_AUDIO_CODEC_BITRATE_KBPS =
+ "android.telecom.extra.AUDIO_CODEC_BITRATE_KBPS";
+
+ /**
+ * Float connection extra key used to store the audio codec bandwidth in khz for the current
+ * {@link Connection}.
+ */
+ public static final String EXTRA_AUDIO_CODEC_BANDWIDTH_KHZ =
+ "android.telecom.extra.AUDIO_CODEC_BANDWIDTH_KHZ";
+ /**
* Connection event used to inform Telecom that it should play the on hold tone. This is used
* to play a tone when the peer puts the current call on hold. Sent to Telecom via
* {@link #sendConnectionEvent(String, Bundle)}.