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

Commit a03269ea authored by Kim Sungyeon's avatar Kim Sungyeon Committed by Byeongjo Park
Browse files

VT: Change kStaticBuffer to 100ms except for ViLTE



[Problem] RTSP playback shows cracked & after images.
[Cause] By recent changes around this commit,
        RTP receiver changed a policy of packet buffering.
        The policy tends to decode packet instantly
        than wait its neighbor packets.
        It works as a disadvantage for RTSP streaming
        which easy to show scrambled packet arrival.
[Solution] Current buffering time 50ms is too short.
           The length of the time is focused on ViLTE RTP conn.
           So give longer time for the other usage conn.

Bug: 192538925

Signed-off-by: default avatarKim Sungyeon <sy85.kim@samsung.com>
Change-Id: I9086118bf788bcdb2d738d548b41099925c85fda
parent 87364cf0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1105,6 +1105,7 @@ sp<ARTPSource> ARTPConnection::findSource(StreamInfo *info, uint32_t srcId) {
                srcId, info->mSessionDesc, info->mIndex, info->mNotifyMsg);

        if (mFlags & kViLTEConnection) {
            setStaticJitterTimeMs(50);
            source->setPeriodicFIR(false);
        }

+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@

namespace android {

const uint32_t kStaticJitterTimeMs = 50;   // 50ms
const uint32_t kStaticJitterTimeMs = 100;   // 100ms

struct ABuffer;
struct AMessage;