Repository navigation
Add IS-11 from sony/nmos-cpp#474, with constraint matching for H.265 - #5
Merged
pedro-alves-ferreira merged 4 commits intoNov 27, 2026
Merged
Conversation
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 thebuild-testworkflow can pass.Please merge with "Rebase and merge". Then the commits stay separate, and
bisectstays a straight line on sony master. At the next rebase on sony master:Commit 1: Add IS-11 Stream Compatibility Management from sony#474
bisectat 0646435, the PR adds no other sony commits: 75 files, +4,528 / -35 lines.nmos-cpp-node/node_implementation.cpp. Add IS-11 support sony/nmos-cpp#474 movesvalidate_sdp_parametersto theimplnamespace, 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_setschecks an H.265 SDP against constraint sets. It uses the H.265 constraints ofvalidate_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_constraintsandmatch_video_H265_resource_parameters_constraint_setcheck 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.profile,level,bit_rate) is not checked.packet_transmission_modeisnon_interleaved_nal_units.video_h265_test.cpp:testMatchVideoH265SdpParametersConstraintSetsandtestMatchVideoH265ResourceParametersConstraintSet.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-testworkflow now fails on any branch of this fork:Tests
build-testworkflow at a2586ae (this branch), run 46009276742ctest, without the mDNS tests)test_02_02_05_01fails: the Sender staysunconstrained, and the node logs "unsupported media type" 4 timesThe two AMWA suite failures do not come from this pull request:
bisectrun (run 37633655602).test_41fails on the example ST 2022-6 Sender, whose SDP hasTP=2110TPN. The CI installs SDPoker from its master branch, and Check the ST 2022-8 parameters of ST 2022-6 streams AMWA-TV/sdpoker#91 (2026-11-24) added the check that ST 2022-8 needs2110TPNLor2110TPW. Signal Type NL for the example ST 2022-6 Senders sony/nmos-cpp#554 (open) changes the example node for it. This pull request does not change the ST 2022-6 SDP.The local IS-11-01 runs use the
testing-IPMXbranch 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.