Skip to content

ST 2110 improvements - #57

Merged
peterbrightwell merged 5 commits into
AMWA-TV:masterfrom
knneth:master
Jul 29, 2026
Merged

ST 2110 improvements#57
peterbrightwell merged 5 commits into
AMWA-TV:masterfrom
knneth:master

Conversation

@knneth

@knneth knneth commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Improves MAXUDP validation, adds width/height validation for ST 2110-22, and a few minor code changes.

@jonathan-r-thorpe

jonathan-r-thorpe commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Hi @knneth. I've recently pushed some functional tests to the master branch. Would you be happy to rebase or merge to master to add those tests to your PR so we can be confident the PR doesn't introduce any regressions?

Better than that, would you be happy to add an example SDP file to the test/fixtures/valid directory; this will then be included in the functional tests.

Even better than that, would you add a negative example in the test/fixtures/invalid and update the invalidCases array in functional.test.js to specify the file and expected error.

Many thanks 👍

knneth added 5 commits July 23, 2026 04:15
strean should be stream.

Signed-off-by: Kenneth Klette Jonassen <kenneth@bridgetech.tv>
Reviewed-by: Kai Hagseth <kai.hagseth@bridgetech.tv>
The width and height parameters are mandatory per ST 2110-22:2022
Section 7.2. Their presence was already checked, but not their values.

Signed-off-by: Kenneth Klette Jonassen <kenneth@bridgetech.tv>
Reviewed-by: Kai Hagseth <kai.hagseth@bridgetech.tv>
Prepare for upcoming commit to introduce a new ST 2110-10 test by
deduplicating the existing arrays of tests for ST 2110-10.

Signed-off-by: Kenneth Klette Jonassen <kenneth@bridgetech.tv>
The MAXUDP parameter is specified in ST 2110-10 and common for several
RTP payloads, not just ST 2110-20. Update the reference used for the
MAXUDP test and enable it for all ST 2110 SDPs.

Furthermore, the UDP size limits defined in ST 2110-10 are upper
bounds rather than specific permitted values of MAXUDP. Change it to
a range check.

No specific lower bound is mentioned in ST 2110-10, but the shortest
possible UDP datagram that may contain an RTP header is 20 bytes, so
this is implied to be the lowest common lower bound of any current or
future RTP payload type.

Signed-off-by: Kenneth Klette Jonassen <kenneth@bridgetech.tv>
Reviewed-by: Kai Hagseth <kai.hagseth@bridgetech.tv>
Signed-off-by: Kenneth Klette Jonassen <kenneth@bridgetech.tv>

@jonathan-r-thorpe jonathan-r-thorpe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@peterbrightwell
peterbrightwell merged commit eae0881 into AMWA-TV:master Jul 29, 2026
3 checks 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.

4 participants