RTMP fixes for streams > 5h in duration.

This commit is contained in:
Thulinma 2016-07-22 11:23:38 +02:00
parent 58ef8fcdd0
commit 51d96175fe
3 changed files with 23 additions and 5 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