Repository navigation
test: drive the single-file recorder tests with frames and a clock of their own - #583
Merged
Merged
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.