Skip to content

Commit

Permalink
Add logging for sync enable/disable
Browse files Browse the repository at this point in the history
  • Loading branch information
longnguyen2004 committed Jan 24, 2025
1 parent cfe8bde commit fe966f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/media/BaseMediaStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export class BaseMediaStream extends Writable {
{
// Reset timestamp stats when enabling sync
this._startPts = this._startTime = undefined;
this._loggerSync.debug("Sync enabled");
}
else
{
this._loggerSync.debug("Sync disabled");
}
}
get noSleep(): boolean {
Expand Down

0 comments on commit fe966f8

Please sign in to comment.