diff options
author | Allen Su <allenwtsu@google.com> | 2020-11-12 17:48:52 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-11-12 17:48:52 +0000 |
commit | 21604689d0de32fc4371b5f3dd7447fe90956ade (patch) | |
tree | 33d7d4dcd45c3a7e9daff2916fb262aaf1ff5048 /telecomm | |
parent | fe2b1a414cbf53c06c6496fec753f1bfd62b8b53 (diff) | |
parent | 1bb3473fdf7ad2cf7f4ed6e0ce776a11123817db (diff) |
Merge "Declare audio codec bitrate and bandwidth" am: b04ef45226 am: 1bb3473fdf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1494041
Change-Id: Ie0d7a2ae62fd2d79637870fa96cb26a30ee9e95f
Diffstat (limited to 'telecomm')
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 13 |
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)}. |