83 if (n > len - pos) n = len - pos;
130 bool pusi =
packet[1] & 0x40;
138 if (pid == 0 && free >=
capacity / 2) {
140 LOGI(
"RTSPMediaSourceMTS: resuming video at the next keyframe");
142 }
else if (is_video && pusi && free <
capacity / 4) {
144 LOGW(
"RTSPMediaSourceMTS: network too slow - dropping video");
154 LOGW(
"RTSPMediaSourceMTS: buffer full, %u packets dropped",
165 int afc = (
packet[3] >> 4) & 3;
166 if (!(afc & 1))
return false;
167 int pos = (afc & 2) ? 5 +
packet[4] : 4;
170 (
packet[pos + 3] & 0xF0) == 0xE0;
#define LOGW(...)
Definition AudioLoggerIDF.h:29
#define LOGI(...)
Definition AudioLoggerIDF.h:28