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

Commit 46d999ec authored by Kim Sungyeon's avatar Kim Sungyeon Committed by Hsiaoan Hsu
Browse files

VT: Add interarrival jitter time to RR



Replace the interarrival time in RR
from void 0 value to calculated one.

Bug: 201473503
Test: Manually MMQoE test

Signed-off-by: default avatarKim Sungyeon <sy85.kim@samsung.com>
Change-Id: I683697d28f180d7622a4771b3afd37a8d94eccd4
parent 195d6145
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -476,7 +476,8 @@ void ARTPSource::addReceiverReport(const sp<ABuffer> &buffer) {
    data[18] = (mHighestSeqNumber >> 8) & 0xff;
    data[19] = mHighestSeqNumber & 0xff;

    uint32_t jitterTime = 0;
    uint32_t jitterTimeMs = (uint32_t)getInterArrivalJitterTimeMs();
    uint32_t jitterTime = jitterTimeMs * mClockRate / 1000;
    data[20] = jitterTime >> 24;    // Interarrival jitter
    data[21] = (jitterTime >> 16) & 0xff;
    data[22] = (jitterTime >> 8) & 0xff;