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

Commit d196780d 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

Change-Id: Ib1a6b50c84fe0776eea08926f69c802d92370eeb
parents 8985d3a9 b8bfa419
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;
    }