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

Commit b51f9895 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Add rtp silence detection and inactivity detection to call quality...

Merge "Add rtp silence detection and inactivity detection to call quality metrics in telephony .proto" am: b8bfa419 am: d196780d

Change-Id: Ib057b46357ecddd30ed4f769d9655930630a40bf
parents fc2cc61b d196780d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -2242,6 +2242,18 @@ message TelephonyCallSession {

      // the codec type of an ongoing call
      optional AudioCodec codec_type = 11;

      // true if no incoming RTP is received for a continuous duration of 4 seconds
      optional bool rtp_inactivity_detected = 12;

      // true if only silence RTP packets are received for 20 seconds immediately
      // after call is connected
      optional bool rx_silence_detected = 13;

      // true if only silence RTP packets are sent for 20 seconds immediately
      // after call is connected
      optional bool tx_silence_detected = 14;

    }

    message CallQualitySummary {
+3 −0
Original line number Diff line number Diff line
@@ -2106,6 +2106,9 @@ public class TelephonyMetrics {
            cq.averageRelativeJitterMillis = callQuality.getAverageRelativeJitter();
            cq.maxRelativeJitterMillis = callQuality.getMaxRelativeJitter();
            cq.codecType = convertImsCodec(callQuality.getCodecType());
            cq.rtpInactivityDetected = callQuality.isRtpInactivityDetected();
            cq.rxSilenceDetected = callQuality.isIncomingSilenceDetected();
            cq.txSilenceDetected = callQuality.isOutgoingSilenceDetected();
        }
        return cq;
    }