mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #424, fix aggregate timestamp bug. 2.0.174
This commit is contained in:
parent
8e8c8108fc
commit
6941f2c072
3 changed files with 4 additions and 2 deletions
|
@ -1922,7 +1922,8 @@ int SrsSource::on_aggregate(SrsCommonMessage* msg)
|
|||
timestamp &= 0x7FFFFFFF;
|
||||
|
||||
// adjust abs timestamp in aggregate msg.
|
||||
if (delta < 0) {
|
||||
// only -1 means uninitialized delta.
|
||||
if (delta == -1) {
|
||||
delta = (int)msg->header.timestamp - (int)timestamp;
|
||||
}
|
||||
timestamp += delta;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue