RTMP fixes for streams > 5h in duration.

This commit is contained in:
Thulinma 2016-07-22 11:25:38 +02:00
parent 7d4fd24866
commit dd612a2643
3 changed files with 22 additions and 4 deletions

View file

@ -465,6 +465,7 @@ bool RTMPStream::Chunk::Parse(Socket::Buffer & buffer) {
timestamp += indata[i++ ] * 256 * 256;
timestamp += indata[i++ ] * 256 * 256 * 256;
ts_delta = timestamp;
DEBUG_MSG(DLVL_DONTEVEN, "Extended timestamp: %u", timestamp);
}
//read data if length > 0, and allocate it