Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47a89cbc authored by Nina Chueh's avatar Nina Chueh Committed by Android (Google) Code Review
Browse files

Merge "Add 5 Jitter-related and 2 RTP-related parameters to call quality...

Merge "Add 5 Jitter-related and 2 RTP-related parameters to call quality metrics in telephony .proto"
parents 8131c1ea 913313fd
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -2297,6 +2297,28 @@ message TelephonyCallSession {
      // after call is connected
      optional bool tx_silence_detected = 14;

      // the number of Voice frames sent by jitter buffer to audio
      optional int32 voice_frames = 15;

      // the number of NO_DATA frames sent by jitter buffer to audio
      optional int32 no_data_frames = 16;

      // the number of RTP voice packets dropped by jitter buffer
      optional int32 rtp_dropped_packets = 17;

      // the minimum playout delay in the reporting interval, in milliseconds
      optional int64 min_playout_delay_millis = 18;

      // the maximum playout delay in the reporting interval, in milliseconds
      optional int64 max_playout_delay_millis = 19;

      // the total number of RTP SID packets received by this device
      // for an ongoing call
      optional int32 rx_rtp_sid_packets = 20;

      // the total number of RTP duplicate packets received by this device
      // for an ongoing call
      optional int32 rtp_duplicate_packets = 21;
    }

    message CallQualitySummary {
+7 −0
Original line number Diff line number Diff line
@@ -2198,6 +2198,13 @@ public class TelephonyMetrics {
            cq.rtpInactivityDetected = callQuality.isRtpInactivityDetected();
            cq.rxSilenceDetected = callQuality.isIncomingSilenceDetectedAtCallSetup();
            cq.txSilenceDetected = callQuality.isOutgoingSilenceDetectedAtCallSetup();
            cq.voiceFrames = callQuality.getNumVoiceFrames();
            cq.noDataFrames = callQuality.getNumNoDataFrames();
            cq.rtpDroppedPackets = callQuality.getNumDroppedRtpPackets();
            cq.minPlayoutDelayMillis = callQuality.getMinPlayoutDelayMillis();
            cq.maxPlayoutDelayMillis = callQuality.getMaxPlayoutDelayMillis();
            cq.rxRtpSidPackets = callQuality.getNumRtpSidPacketsRx();
            cq.rtpDuplicatePackets = callQuality.getNumRtpDuplicatePackets();
        }
        return cq;
    }