TS input can now cope a bit better with packet loss, incomplete UDP packets now buffered
This commit is contained in:
parent
4bcfb5191a
commit
523c00f462
2 changed files with 22 additions and 11 deletions
|
@ -442,8 +442,8 @@ namespace TS {
|
|||
}
|
||||
|
||||
if (paySize - offset - pesOffset < realPayloadSize){
|
||||
INFO_MSG("Not enough data left on track %lu.", tid);
|
||||
break;
|
||||
WARN_MSG("Packet loss detected, glitches will occur");
|
||||
realPayloadSize = paySize - offset - pesOffset;
|
||||
}
|
||||
|
||||
char * pesPayload = payload + offset + pesOffset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue