mirror of
https://github.com/Xinrea/bili-shadowreplay.git
synced 2025-11-25 04:22:24 +08:00
fix: break recordin when parsing failed
This commit is contained in:
@@ -106,6 +106,10 @@ impl HlsRecorder {
|
||||
self.playlist.lock().await.close().await?;
|
||||
return Err(e);
|
||||
}
|
||||
RecorderError::M3u8ParseFailed { .. } => {
|
||||
log::error!("[{}]M3u8 parse failed: {}", self.room_id, e);
|
||||
return Err(e);
|
||||
}
|
||||
_ => {
|
||||
// Other errors are not critical, just log it
|
||||
log::error!("[{}]Update entries error: {}", self.room_id, e);
|
||||
|
||||
Reference in New Issue
Block a user