• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Eyevinn / moqlivemock / 25304924828
45%
main: 44%

Build:
Build:
LAST BUILD BRANCH: feat/add-locmaf-support
DEFAULT BRANCH: main
Ran 04 May 2026 06:43AM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 May 2026 06:42AM UTC coverage: 45.036% (+0.08%) from 44.952%
25304924828

Pull #77

github

tobbee
feat(catalog): expose accurate per-packaging bitrate

Catalog Bitrate now reflects the actual wire footprint of each track,
correctly differentiating clear CMAF, encrypted CMAF (cenc/cbcs), and
LOC. Previously all CMAF tracks shared one estimator (constants from
draft-09 mp4ff layout) and LOC reported the raw sample bitrate — so
encryption overhead and LOC framing were invisible to clients.

- calcCmafBitrate measures actual chunk size via GenCMAFChunk for the
  track's real configuration (sample batch, encryption scheme,
  subsample density). Self-consistent under future packaging tweaks.
- A per-object MoQ overhead constant (cmafObjectOverheadBytes = 8) is
  added on top of the measured chunk bytes to model the wire framing
  paid per object: ObjectID + payload-length + extension-count + status
  varints per draft-ietf-moq-transport-16. Subgroup header amortises
  small enough to round into this constant.
- calcLOCBitrate adds the same MoQ object overhead plus a 9-byte LOC
  Timestamp extension property per object (draft-ietf-moq-loc-02
  §2.3.1.1), and (for video) the VPS/SPS/PPS prepended to every IRAP
  frame.
- GenCMAFChunk enables mp4ff OptimizeTrun, which promotes constant
  per-sample fields into tfhd defaults. Audio per-extra-sample drops
  from 16 B to ~3 B (4 B sample-size, 0 B for tracks with constant
  sample size like Opus / AC-3), shaving real bytes off every audio
  chunk on the wire.
- Default -audiobatch goes from 2 to 1 so audio chunking matches LOC
  (one frame per object). The wire-cost gap between packagings is now
  visible directly: AAC LOC ~+4 %, CMAF clear ~+33 %, CMAF cenc ~+54 %.
Pull Request #77: feat(catalog): expose accurate per-packaging bitrate

35 of 48 new or added lines in 2 files covered. (72.92%)

37 existing lines in 3 files now uncovered.

1860 of 4130 relevant lines covered (45.04%)

1070.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
79.42
0.59% internal/asset.go
1
0.0
0.0% cmd/mlmpub/main.go

Coverage Regressions

Lines Coverage ∆ File
29
32.21
-1.56% internal/pub/pub.go
6
45.13
-1.33% internal/sub/sub.go
2
78.46
-3.08% internal/moqgroup.go
Jobs
ID Job ID Ran Files Coverage
1 25304924828.1 04 May 2026 06:43AM UTC 20
45.04
GitHub Action Run
Source Files on build 25304924828
  • Tree
  • List 20
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #77
  • PR Base - main (#25302407300)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc