pub fn check_muxer_output_honesty<M, F>(
make: F,
tracks: &[TrackInfo],
packets: &[Packet],
) -> ConformanceExpand description
Verify a Muxer’s pulled output.
make builds a fresh muxer; tracks and packets are valid input for
it. Checked:
- The finished file is identical whether output is never drained,
drained fully after every packet, drained in uneven prefixes
(sometimes asking for more than is pending, which clamps), or taken
with
take_output; patches land inside the file. - A second
beginisProtocolViolation::BeginTwice. - With
MuxHint::forward_only,begineither refuses withUnsupportedMedia::ForwardOnlyLayoutor produces no patches, and the timing it reports says so.