Skip to content

Add IS-11 from sony/nmos-cpp#474, with constraint matching for H.265 - #5

Merged
pedro-alves-ferreira merged 4 commits into
bisect-pt:bisectfrom
danrobbo:feature/is11-from-474
Nov 27, 2026
Merged

pedro-alves-ferreira merged 4 commits into
bisect-pt:bisectfrom
danrobbo:feature/is11-from-474

Conversation

@danrobbo

Copy link
Copy Markdown

This pull request adds IS-11 Stream Compatibility Management to bisect, from sony#474, which is not merged upstream yet. It also adds IS-11 constraint matching for H.265, and two CI fixes from sony master so that the build-test workflow can pass.

Please merge with "Rebase and merge". Then the commits stay separate, and bisect stays a straight line on sony master. At the next rebase on sony master:

Commit 1: Add IS-11 Stream Compatibility Management from sony#474

  • A squash of Add IS-11 support sony/nmos-cpp#474 at eff7f3e: 150 commits and 14 merges of sony master. The commits are by Simon Lo (lo-simon), N-Nagorny, Jonathan Thorpe (jonathan-r-thorpe) and Gareth Sylvester-Bradley (garethsb).
  • On bisect at 0646435, the PR adds no other sony commits: 75 files, +4,528 / -35 lines.
  • The only conflict was in the example node, nmos-cpp-node/node_implementation.cpp. Add IS-11 support sony/nmos-cpp#474 moves validate_sdp_parameters to the impl namespace, for the IS-11 receiver validator. The H.265 case and the USB path of this fork are kept.

Commit 2: Add IS-11 constraint matching for H.265

Without this commit, the example node gives its H.265 Senders to the core SDP matcher of sony#474. That matcher throws "unsupported media type/encoding name" for an H.265 SDP, so IS-11 cannot check an H.265 Sender.

  • nmos::match_video_H265_sdp_parameters_constraint_sets checks an H.265 SDP against constraint sets. It uses the H.265 constraints of validate_video_H265_sdp_parameters: profile, level, bit rate, packet transmission mode and parameter sets transport mode.
  • nmos::experimental::video_H265_flow_parameter_constraints, video_H265_sender_parameter_constraints and match_video_H265_resource_parameters_constraint_set check the BCP-006-03 attributes of a Flow and a Sender, like the JPEG XS ones in Add IS-11 support sony/nmos-cpp#474.
    • A constraint on an optional attribute that the resource omits (profile, level, bit_rate) is not checked.
    • A Sender without packet_transmission_mode is non_interleaved_nal_units.
  • The example node uses them for its H.265 Senders.
  • New unit tests in video_h265_test.cpp: testMatchVideoH265SdpParametersConstraintSets and testMatchVideoH265ResourceParametersConstraintSet.

Commits 3 and 4: CI fixes from sony master

Cherry-picks of sony commits 196c813 and 4fbddce (sony#538), by Gareth Sylvester-Bradley. Without them, the build-test workflow now fails on any branch of this fork:

  • the testssl.sh archive URL returns 404, so the AMWA test suite step fails in each job;
  • on some Ubuntu 24.04 runners, the Avahi setup step fails ("avahi-daemon cannot browse locally published services").

Tests

Test Result
build-test workflow at a2586ae (this branch), run 46009276742 9 of 9 jobs pass (Ubuntu 22.04, Ubuntu 24.04, Windows 2022)
AMWA suites in that run IS-11-01 passes in each job. IS-05-01 and BCP-007-03-01 fail in each job, see below.
Local build: Ubuntu 24.04, GCC 13.3, Release, Conan, Avahi No warnings
Local unit tests (ctest, without the mDNS tests) 210 of 210 pass
IS-11-01 on the example node with one H.265 video Sender, commit 1 only test_02_02_05_01 fails: the Sender stays unconstrained, and the node logs "unsupported media type" 4 times
The same, commits 1 and 2 21 Pass, 29 Could Not Test, 0 Fail

The two AMWA suite failures do not come from this pull request:

The local IS-11-01 runs use the testing-IPMX branch of nmos-testing. The Could Not Test results are for audio, inputs and receivers, which the test node does not have. Commit 1 has the same content as the merge that we tested with the IPMX SDK, where the SDK unit tests and the IS-11-01 suite pass.

danrobbo and others added 4 commits November 27, 2026 13:18
Squash of sony#474 "Add IS-11 support" at eff7f3e, on bisect
at 0646435. The PR is not merged in sony/nmos-cpp yet.

The commits of the PR are by Simon Lo (lo-simon), N-Nagorny, Jonathan
Thorpe (jonathan-r-thorpe) and Gareth Sylvester-Bradley (garethsb).

The only conflict was in nmos-cpp-node/node_implementation.cpp. The PR
moves validate_sdp_parameters of the example node to the impl namespace,
for the IS-11 receiver validator. It keeps the H.265 case of this fork,
and parse_transport_file keeps the USB path of this fork.

When sony/nmos-cpp merges sony#474, drop this commit at the next rebase on
sony master, and take the upstream version.
The example node gave its H.265 Senders to the core SDP matcher of
IS-11, which throws "unsupported media type/encoding name" for an H.265
SDP, so IS-11 could not check them.

- match_video_H265_sdp_parameters_constraint_sets checks an H.265 SDP
  against constraint sets, with the H.265 constraints that
  validate_video_H265_sdp_parameters uses.
- experimental::video_H265_flow_parameter_constraints,
  video_H265_sender_parameter_constraints and
  match_video_H265_resource_parameters_constraint_set check the
  BCP-006-03 attributes of a Flow and a Sender, like the JPEG XS ones.
  A constraint on an optional attribute that the resource omits is not
  checked, and an omitted packet_transmission_mode is
  non_interleaved_nal_units.
- The example node uses them for its H.265 Senders.
testssl.sh has moved from github.com/drwetter/testssl.sh to
github.com/testssl/testssl.sh. The old archive URL now returns an HTML
page instead of the tarball, so the AMWA test jobs cannot unpack it.

(cherry picked from commit 196c813)
The ubuntu avahi setup step set allow-interfaces=eth0 in
avahi-daemon.conf. Some GitHub-hosted Ubuntu runners now name their
network interface enp39s0, so after the restart avahi-daemon joined no
interface and the publish/browse self-test failed.

Take the interface name from the default route instead.

Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
(cherry picked from commit 4fbddce)
@pedro-alves-ferreira
pedro-alves-ferreira merged commit ee3ed66 into bisect-pt:bisect Nov 27, 2026
@danrobbo
danrobbo deleted the feature/is11-from-474 branch November 27, 2026 16:29
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.

3 participants