Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,25 @@ jobs:
MOQ_TEST_RUNS: ${{ runner.temp }}/moq-test-runs
shell: bash -leo pipefail {0}

# 1080p video with no HRD at its level's 24 Mb/s leak, so the export has to admit
# the leak's whole rate of payload to keep up (moq-dev/moq#5362).
- name: TS video at its full leak
if: ${{ !cancelled() }}
run: nix develop --command just test ts --leak
env:
MOQ_TEST_RUNS: ${{ runner.temp }}/moq-test-runs
shell: bash -leo pipefail {0}

# The same video beside two audio PIDs in a multiplex the source fills with no nulls,
# at the source's own rate: the export has no room to spend more packets than the
# source on clocks or audio framing (moq-dev/moq#5362).
- name: TS full multiplex at its own rate
if: ${{ !cancelled() }}
run: nix develop --command just test ts --full
env:
MOQ_TEST_RUNS: ${{ runner.temp }}/moq-test-runs
shell: bash -leo pipefail {0}

# The same video beside four audio PIDs in a multiplex faster than its Rx: each slot
# has to interleave the video with the rest, or its transport buffer overflows.
- name: TS multiplex above the video's Rx
Expand Down
2 changes: 0 additions & 2 deletions quest/m1/tstd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ MB/AAC controls. Do not relabel the current subset a full standards check.

- [Send-ahead within the delay](/quest/m1/tstd/send-ahead.md) - total lag is `--delay`, send-ahead included, with a 1 s default
- [PSI pacing](/quest/m1/tstd/psi-runs.md) - padded output paces the PAT and PMT so TBsys and Bsys never overflow
- [Video at its full leak](/quest/m1/tstd/video-leak.md) - a leak-bound video PID is admitted at its full Rbx, not about 3 % below it
- [Mux overhead](/quest/m1/tstd/mux-overhead.md) - the PCR rides in the video's adaptation field and audio PES carry several frames, so a full CBR source re-muxes at its own rate

## Related

Expand Down
42 changes: 0 additions & 42 deletions quest/m1/tstd/mux-overhead.md

This file was deleted.

31 changes: 0 additions & 31 deletions quest/m1/tstd/video-leak.md

This file was deleted.

4 changes: 3 additions & 1 deletion rs/moq-mux/benches/ts_schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ fn admission(c: &mut Criterion) {
pid,
schedule::Buffer {
rate: 2_000_000,
leak: None,
size: Some(1_000_000),
transport: 512,
},
Expand All @@ -44,14 +45,15 @@ fn admission(c: &mut Criterion) {
for pid in 1..=pids {
let at = (999 + frame * 40) * 1_000_000;
schedule
.push(
.push_frames(
pid,
schedule::Timing {
by: at,
decode: at + 1_000_000,
},
packet(pid).repeat(10),
false,
Vec::new(),
)
.unwrap();
}
Expand Down
Loading
Loading