Skip to content

feat: add m2tsSiPids field and SI table retention guidance - #11

Merged
mondain merged 2 commits into
mondain:mainfrom
gwendalsimon:feat/m2ts-si-pids
Jul 20, 2026
Merged

feat: add m2tsSiPids field and SI table retention guidance#11
mondain merged 2 commits into
mondain:mainfrom
gwendalsimon:feat/m2ts-si-pids

Conversation

@gwendalsimon

Copy link
Copy Markdown
Collaborator

Summary

Addresses point 1 of #7 — the §5.5 retain filter silently drops DVB and ATSC service information tables.

Point 1 observes that the PMT-centric retain list in §5.5 does not include SI tables carried on fixed well-known PIDs: SDT/BAT (0x0011), EIT (0x0012), TDT/TOT (0x0014), and NIT (0x0010), or their ATSC PSIP equivalents. A publisher implementing §5.5 without additional care produces a track with no service identity, no EPG, and no broadcast time — a disqualifier for IRD-based deployments. The issue suggested either a normative note or a catalog hint for retained SI PIDs.

This PR implements both.

Changes

§5.5 Multi-Program Source Handling — adds a paragraph noting that the PMT-centric filter silently drops DVB and ATSC SI tables, listing the affected PIDs, and stating that publishers targeting broadcast or IRD deployments SHOULD retain the required SI tables and SHOULD declare the retained PIDs using m2tsSiPids.

Catalog table — new m2tsSiPids entry.

New field m2tsSiPids — optional advisory Array of packet identifiers retained in the filtered track beyond those listed in the Program Map Table. Subscribers MAY use this list to verify which service information tables are present without inspecting the packet stream.

* Add paragraph in §5.5 noting that the PMT-centric retain filter
  silently drops DVB/ATSC SI tables (SDT/EIT/TDT/TOT/NIT/PSIP);
  publishers targeting broadcast or IRD deployments SHOULD retain
  the required SI tables and declare retained PIDs via m2tsSiPids
* Add optional advisory catalog field m2tsSiPids (Array) listing
  packet identifiers of SI tables retained beyond the PMT filter
* Add m2tsSiPids to catalog table

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mondain

mondain commented Jul 15, 2026

Copy link
Copy Markdown
Owner

@gwendalsimon can you check the resolved conflict?

@gwendalsimon

Copy link
Copy Markdown
Collaborator Author

@gwendalsimon can you check the resolved conflict?

Yes, I think it is fine.

@mondain
mondain merged commit 51d0f2b into mondain:main Jul 20, 2026
1 check passed
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.

2 participants