mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Improve live replay logging
This commit is contained in:
parent
a2c601d3e6
commit
02d53b1786
1 changed files with 2 additions and 0 deletions
|
@ -470,6 +470,8 @@ class MuxingSession extends EventEmitter {
|
||||||
const segmentName = basename(segmentPath)
|
const segmentName = basename(segmentPath)
|
||||||
const dest = join(this.replayDirectory, buildConcatenatedName(segmentName))
|
const dest = join(this.replayDirectory, buildConcatenatedName(segmentName))
|
||||||
|
|
||||||
|
logger.debug(`Add segment ${segmentPath} to replay ${dest}`, this.lTags())
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const data = await readFile(segmentPath)
|
const data = await readFile(segmentPath)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue