Skip to content
Snippets Groups Projects
Commit 54548440 authored by Alexander Lussier-Cullen's avatar Alexander Lussier-Cullen
Browse files

video_rtp_session: remove jitter check on android

Temporary fix to allow drop processing on android

jami-client-android#1416
Change-Id: I72994ca4200052e31e338eea2679ffecfb40d554
parent 154ddb38
No related branches found
No related tags found
No related merge requests found
...@@ -678,12 +678,12 @@ VideoRtpSession::dropProcessing(RTCPInfo* rtcpi) ...@@ -678,12 +678,12 @@ VideoRtpSession::dropProcessing(RTCPInfo* rtcpi)
if (restartTimer < DELAY_AFTER_RESTART) { if (restartTimer < DELAY_AFTER_RESTART) {
return; return;
} }
#ifndef __ANDROID__
// Do nothing if jitter is more than 1 second // Do nothing if jitter is more than 1 second
if (rtcpi->jitter > 1000) { if (rtcpi->jitter > 1000) {
return; return;
} }
#endif
auto pondLoss = getPonderateLoss(rtcpi->packetLoss); auto pondLoss = getPonderateLoss(rtcpi->packetLoss);
auto oldBitrate = videoBitrateInfo_.videoBitrateCurrent; auto oldBitrate = videoBitrateInfo_.videoBitrateCurrent;
int newBitrate = oldBitrate; int newBitrate = oldBitrate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment