Skip to content

Rotate the recording file when the stream is reloaded while recording - #461

Open
gabbelitoV2 wants to merge 1 commit into
eerimoq:mainfrom
gabbelitoV2:rotate-the-recording-file-when-the-stream-is-reloaded-while
Open

gabbelitoV2 wants to merge 1 commit into
eerimoq:mainfrom
gabbelitoV2:rotate-the-recording-file-when-the-stream-is-reloaded-while

Conversation

@gabbelitoV2

Copy link
Copy Markdown
Contributor

reloadStream() stopped and restarted the recorder with the same file URL. Recorder.setUrl truncates the file, so changing e.g. codec or B-frames while recording (allowed when not live) wiped the recording so far. The recording is now suspended before the reload and resumed into a new file afterwards, the same way the foreground path does it.

Not built locally, relying on CI for the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant