diff options
author | allenwtsu <allenwtsu@google.com> | 2020-11-10 17:32:46 +0800 |
---|---|---|
committer | allenwtsu <allenwtsu@google.com> | 2020-11-11 00:55:52 +0800 |
commit | 6ec972a72a21769c3df62e32c5615037aeece6fb (patch) | |
tree | e4c70b479f3bce413ac10da95b54970ee1cfd4ea /telecomm/java | |
parent | 32f5d14ceff7f4650cf2882380bd2f9e6845912a (diff) |
Declare audio codec bitrate and bandwidth
Bug: 172304392
Test: atest
Change-Id: Iea4de76a4c1628c8828ba84282ef014f94cc169a
Diffstat (limited to 'telecomm/java')
-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)}. |