Added changes to use seperate payload for DTMF tx and rx
Test: build (mma)
Bug: 236085683
Change-Id: Ie8364d0606e06ab080ab9d0ef504b911f63cf26f
diff --git a/radio/aidl/aidl_api/android.hardware.radio.ims.media/current/android/hardware/radio/ims/media/DtmfParams.aidl b/radio/aidl/aidl_api/android.hardware.radio.ims.media/current/android/hardware/radio/ims/media/DtmfParams.aidl
index 659fa0b..5523fd8 100644
--- a/radio/aidl/aidl_api/android.hardware.radio.ims.media/current/android/hardware/radio/ims/media/DtmfParams.aidl
+++ b/radio/aidl/aidl_api/android.hardware.radio.ims.media/current/android/hardware/radio/ims/media/DtmfParams.aidl
@@ -34,6 +34,7 @@
package android.hardware.radio.ims.media;
@VintfStability
parcelable DtmfParams {
- byte payloadTypeNumber;
+ byte rxPayloadTypeNumber;
+ byte txPayloadTypeNumber;
byte samplingRateKHz;
}
diff --git a/radio/aidl/android/hardware/radio/ims/media/DtmfParams.aidl b/radio/aidl/android/hardware/radio/ims/media/DtmfParams.aidl
index ad920f2..a7dcb0d 100644
--- a/radio/aidl/android/hardware/radio/ims/media/DtmfParams.aidl
+++ b/radio/aidl/android/hardware/radio/ims/media/DtmfParams.aidl
@@ -19,11 +19,21 @@
@VintfStability
parcelable DtmfParams {
/**
- * Dynamic payload type number to be used for DTMF RTP packets. The values is
- * in the range from 96 to 127 chosen during the session establishment. The PT
- * value of the RTP header of all DTMF packets shall be set with this value.
+ * Dynamic payload type number to be used for DTMF RTP packets received.
+ * The values is in the range from 96 to 127 chosen during the session
+ * establishment. The PT value of the RTP header of all DTMF packets shall be
+ * set with this value.
*/
- byte payloadTypeNumber;
+ byte rxPayloadTypeNumber;
+
+ /**
+ * Dynamic payload type number to be used for DTMF RTP packets sent.
+ * The values is in the range from 96 to 127 chosen during the session
+ * establishment. The PT value of the RTP header of all DTMF packets shall be set
+ * with this value.
+ */
+ byte txPayloadTypeNumber;
+
/** Sampling rate in kHz */
byte samplingRateKHz;
}