mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 13:23:51 +02:00
Fixed negative timestamps occurring with live media (fixes #364)
This commit is contained in:
@@ -60,7 +60,7 @@ export class AdtsMuxer extends Muxer {
|
||||
const release = await this.mutex.acquire();
|
||||
|
||||
try {
|
||||
this.validateAndNormalizeTimestamp(track, packet.timestamp, packet.type === 'key');
|
||||
this.validateTimestamp(track, packet.timestamp, packet.type === 'key');
|
||||
|
||||
// First packet - determine input format from metadata
|
||||
if (this.inputIsAdts === null) {
|
||||
|
||||
Reference in New Issue
Block a user