Merge "Modify the api definition in the ImsMedia HAL for AV sync" into main

This commit is contained in:
Bodam Nam
2024-01-26 07:52:03 +00:00
committed by Android (Google) Code Review
3 changed files with 15 additions and 9 deletions

View File

@@ -35,8 +35,8 @@ package android.hardware.radio.ims.media;
@VintfStability
parcelable RtpReceptionStats {
int rtpTimestamp;
int rtpSequenceNumber;
int timeDurationMs;
int rtcpSrTimestamp;
long rtcpSrNtpTimestamp;
int jitterBufferMs;
int roundTripTimeMs;
}

View File

@@ -110,8 +110,7 @@ oneway interface IImsMediaSession {
* Adjust the delay in the jitter buffer to synchronize the audio with the time of video
* frames
*
* @param delayMs The delay to apply to the jitter buffer. If it is positive, the jitter
* buffer increases the delay, if it is negative, the jitter buffer decreases the delay.
* @param delayMs The additional delay to the jitter buffer in milliseconds.
*
* This is available when android.hardware.telephony.ims is defined.
*/

View File

@@ -20,12 +20,19 @@ package android.hardware.radio.ims.media;
parcelable RtpReceptionStats {
/** The timestamp of the latest RTP packet received */
int rtpTimestamp;
/** The sequence number of latest RTP packet received */
int rtpSequenceNumber;
/** The system clock time in millisecond of latest RTP packet received */
int timeDurationMs;
/** The jitter buffer size in millisecond when latest RTP packet received */
/** The timestamp of the latest RTCP-SR packet received */
int rtcpSrTimestamp;
/** The NTP timestamp of latest RTCP-SR packet received */
long rtcpSrNtpTimestamp;
/**
* The mean jitter buffer delay of a media stream from received to playback, measured in
* milliseconds, within the reporting interval
*/
int jitterBufferMs;
/** The round trip time delay in millisecond when latest RTP packet received */
int roundTripTimeMs;
}