mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #111, always use 31bits timestamp. 0.9.143.
This commit is contained in:
parent
0bd7d268e8
commit
fb70602f93
3 changed files with 6 additions and 1 deletions
|
@ -1128,6 +1128,10 @@ int SrsProtocol::read_message_header(SrsChunkStream* chunk, char fmt, int bh_siz
|
|||
pp[2] = *p++;
|
||||
pp[1] = *p++;
|
||||
pp[0] = *p++;
|
||||
|
||||
// always use 31bits timestamp, for some server may use 32bits extended timestamp.
|
||||
// @see https://github.com/winlinvip/simple-rtmp-server/issues/111
|
||||
timestamp &= 0x7fffffff;
|
||||
|
||||
/**
|
||||
* RTMP specification and ffmpeg/librtmp is false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue