Skip to content

test: drive the single-file recorder tests with frames and a clock of their own - #583

Merged
devopvoid merged 1 commit into
mainfrom
test/recorder-file-tests-fake-clock
Nov 10, 2026
Merged

devopvoid merged 1 commit into
mainfrom
test/recorder-file-tests-fake-clock

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

MediaRecorderTest runs on the fake frames and clock that the segment and replay tests already use, so its expectations are exact and no longer depend on timing. Only the receiver, sender and E2EE tests stay on a live call.

New tests cover a track left out for lacking media at the start and a track that changes its codec mid-recording.

… their own

As the segment and replay tests do: what goes into the file, what is
dropped and when a fault strikes now follow from the frames alone, and
are checked to the frame, among them a track that sends nothing at first
and one that changes its codec. The tests that only WebRTC's own tracks
can carry, a receiver asked for a key frame and end-to-end encryption,
still record a call, checking only what holds at any speed.
@devopvoid
devopvoid merged commit 3a39e66 into main Nov 10, 2026
23 checks passed
@devopvoid
devopvoid deleted the test/recorder-file-tests-fake-clock branch November 10, 2026 21:49
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