-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IS-11 support #271
Open
N-Nagorny
wants to merge
116
commits into
sony:master
Choose a base branch
from
N-Nagorny:is-11
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
IS-11 support #271
Changes from 1 commit
Commits
Show all changes
116 commits
Select commit
Hold shift + click to select a range
d5e46c1
Add Flow Compatibility Management API base route
N-Nagorny 487818e
Add IS-11 resource makers and implement all GET operations
N-Nagorny 79d2024
Implement PUT and DELETE for /inputs/{inputId}/edid/base
N-Nagorny 634967d
flowcompatibility_api.cpp: refactor repeated code
N-Nagorny 6d2a212
Add IS-11 and BCP-004-01 JSON Schemas
N-Nagorny ca8c804
Implement PUT and DELETE for /senders/{senderId}/constraints/active, …
N-Nagorny 4b8f590
Implement States of Sender and Receiver
N-Nagorny fff7420
Fix bst::optional nullopt values
N-Nagorny 3de8159
Allow making Outputs without EDID
N-Nagorny 142f765
Remove "senders"/"receivers" arrays from Input/Output properties
N-Nagorny 7ba0287
Add Sender Capabilities to flowcompatibility_active_constraints_put_h…
N-Nagorny b11402e
IS-11: update schemas, apply the new spec name to the sources
N-Nagorny ae50dd1
flowcompatibility -> streamcompatibility
N-Nagorny d230c3a
Node: replace EDID examples with dummies, add minor fixes
N-Nagorny 2bcaba0
Sync Sender/Receiver states with IS-11 spec
N-Nagorny 16941f7
Prevent IS-11 restrictions violation
N-Nagorny f2b8918
Fix is_subconstraint(), add unit tests
N-Nagorny 6604027
Get rid of list of parameter constraints used for checking if a Const…
N-Nagorny 583969d
Align bst::optional usage in IS-11 with the rest of code
N-Nagorny b3cf776
Replace string literals with platform-independent version
N-Nagorny 3755db2
Convert EDID binary stored as utility::string_t to std::vector<uint8_t>
N-Nagorny 986820e
Sync IS-11 Status with the spec
N-Nagorny c8f111b
Make Sender validator of streamcompatibility_behaviour_thread customi…
N-Nagorny 278a802
streamcompatibility_behaviour: make namespaces full
N-Nagorny 4836364
is_subconstraint(): fix the rational case
N-Nagorny b48f40f
Add match_constraint() for arbitrary JSON value
N-Nagorny 8141286
is_subconstraint(): fix comparing of rationals
N-Nagorny c5d2000
Add constraints matcher for Senders
N-Nagorny 2bac1b6
Add validate_receiver() callback, expand validate_sender()'s return v…
N-Nagorny e94eddf
Remove senderReceiverSubrouteType
N-Nagorny 0812d6f
Minor fixes
N-Nagorny 8eabb3f
Align make_node_implementation_streamcompatibility_...() naming
N-Nagorny 7df92e9
Fix is_constraint_subset()
N-Nagorny 376d616
Decouple IS-11 and IS-05
N-Nagorny 5c8ab03
Apply suggestions from code review
N-Nagorny 0dcdd31
Remove trailing commas
N-Nagorny a538f15
Move default connection_resource_patch_validator to nmos/connection_s…
N-Nagorny 8801298
Replace validate_sender_resources with make_streamcompatibility_sende…
N-Nagorny b62883e
Fix inverted logic in subconstraint and constraint subset definitions
N-Nagorny e83e7d9
Get rid of structured bindings
N-Nagorny 8084118
constraint_{min,max}imum: field<double> -> field_as_value
N-Nagorny e0756a2
Rename validate_sender to validate_sender_resources
N-Nagorny 7d799c5
Add a Stream Compatibility validation test
N-Nagorny 8ba4b46
Merge remote-tracking branch 'origin/master' into is-11
garethsb 0444c02
Compare integer min/max as int64_t
garethsb 6574cd7
Merge branch 'master' into is-11
N-Nagorny 402fa7d
Revert changes in sdp_utils.{cpp,h}
N-Nagorny f5216f3
Add make_streamcompatibility_sdp_constraint_sets_matcher
N-Nagorny cd890ad
Fix /{senders,receivers}/{resourceId}/{inputs,outputs}
N-Nagorny 6f46f53
Fix PUTting an empty array to Active Constraints
N-Nagorny 8fc7591
Add default streamcompatibility_sender_validator to node_implementation
N-Nagorny 8680a8f
Move empty Active Constraints fix
N-Nagorny d24eb37
Add "edid_support" to Node config
N-Nagorny 2e08ff5
Different supported parameter constraints and Sedner Caps for video a…
N-Nagorny f5106ca
Add handling of Active Constraints which Constraint Sets contain less…
N-Nagorny fb0e20e
Fix build
N-Nagorny c5f2834
Merge remote-tracking branch 'origin/master' into is-11
N-Nagorny 15a27a9
Add room for custom "debug" in 422 response
N-Nagorny c07645b
Fix Windows build
N-Nagorny fdaac5c
Merge remote-tracking branch 'origin/master' into is-11
garethsb e31e434
Add make_streamcompatibility_receiver_validator
N-Nagorny 48b3c2c
Fix Sender validator for video/jxsv
N-Nagorny 29bc35b
Fix receivers validation
N-Nagorny 16af3ee
Fill Sender Caps from impl::fields
N-Nagorny 9a4d99f
Restore the elegance of make_node_implementation
N-Nagorny 8e22199
Merge Base EDID PUT and Base EDID DELETE handlers into a single one
N-Nagorny 0195a9e
Remove has_value()
N-Nagorny 389bcd2
streamcompatibility_active_constraints_put_handler: take streamcompat…
N-Nagorny 1d1f878
Add get_constraint_set_intersection for streamcompatibility_active_co…
N-Nagorny 56d9555
Store intersection of Sender Caps and Active Constraints in streamcom…
N-Nagorny abd69b1
Fix print-outs
N-Nagorny 9bc3c91
constraints.cpp tweaks
N-Nagorny fd69423
streamcompatibility_active_constraints_put_handler -> streamcompatibi…
N-Nagorny 6b75505
Separate 422 and empty intersection
N-Nagorny e0b29e1
Run IS-11 test suite as part of CI
N-Nagorny 9e9ac54
Quickfix
N-Nagorny 1631623
Temporarily ignore auto_connection_21
N-Nagorny dff5591
Revert "Temporarily ignore auto_connection_21"
N-Nagorny 3d71441
CI: switch IS-11 branch
N-Nagorny e5efb1d
Move video_jxsv_sender_resources_matcher to video_jxsv.{h,cpp}
N-Nagorny ecf6aaf
Fix streamcompatibility_sender_validator typedef
N-Nagorny e1f707c
Remove "merge" from get_constraint_set_intersection
N-Nagorny c0c479f
Replace make_streamcompatibility_receiver_validator's transport_file_…
N-Nagorny 4edcf0c
Simplify make_node_implementation_streamcompatibility_active_constrai…
N-Nagorny 4a37cd8
constraint_value_less: detail -> details
N-Nagorny bd128a3
Restore filtering out "meta" in get_constraint_set_intersection
N-Nagorny ca0b38a
Fix '"enum" matches "min"/"max"' case
N-Nagorny c17013f
Add settings for IS-11 implementation control
N-Nagorny 04f1fc9
CI: print test results for failed suites
N-Nagorny bda591e
Fix streamcompatibility_index issue
N-Nagorny dbfc11d
Add "device_id" to IS-11 Input/Output
N-Nagorny 60fa835
Add "base_edid_changeable" to Input
N-Nagorny 3c01117
"base_edid_changeable" -> "base_edid_support"
N-Nagorny 17f9721
Add "default_signal"
N-Nagorny 28241d0
Update JSON Schemas
N-Nagorny b24f84d
Add "adjust_to_caps"
N-Nagorny b98dab7
Update JSON Schemas
N-Nagorny 2e033b5
Remove support of obsolete "base_edid", "effective_edid" and "edid" J…
N-Nagorny 146beed
Add "master_enable" check before Receiver's stream compliance check
N-Nagorny 74e20cc
Wrap adjust_to_caps checks with U macro
N-Nagorny 8f3301c
Erase "debug" in Status of S/R if it's empty in the last update
N-Nagorny c778adc
CI: temporarily switch to nmos-testing fork
N-Nagorny 4c446ba
Fix edid_href
N-Nagorny 0d8f8e4
CI: change the branch
N-Nagorny 20b8a7d
Remove BCP-004-01 schemas since they were copied to IS-11
N-Nagorny 290c745
Switch nmos-testing to AMWA-TV:is-11
N-Nagorny a21a413
Merge branch 'master' into is-11
N-Nagorny effaa6f
Add IS-11 docs
N-Nagorny 726f18f
Temporarily disable IS-11 tests
N-Nagorny 373ffa9
Merge branch 'master' into is-11
N-Nagorny a522324
Remove spaces
lo-simon fbb4470
Add IS-10 support
lo-simon d33fdfa
Merge pull request #1 from lo-simon/add-is10-support-to-is11
N-Nagorny 3fa4720
Apply suggestions from code review
N-Nagorny 7bce8b5
IS-11 branch: v1.0-dev -> v1.0.x
N-Nagorny 7d47286
Update IS-11 docs
N-Nagorny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add handling of Active Constraints which Constraint Sets contain less…
… parameter constraints than Constraint Sets of Sender Caps
- Loading branch information
commit f5106cad4c90f5dcf10fd80802981398c7a60e28
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might be easier to read if the comments were on two lines before the
if
?Does this condition mean that at least one of the proposed active constraint sets is narrower than one of the sender caps constraint sets, or one of them is wider... If both of those things are acceptable, isn't any non-empty intersection also acceptable? Maybe I've got confused again...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I'm also not sure I understand what the
merge
parameter does...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel confused each time I return to
constraints.{cpp,h}
, not sure this logic is 100% correct. Here we take Constraint Set A from Active Constraints and Constraint Set B from Sender Caps.If B is narrower (allows less) than A (the 2nd half of the
if
), then we can accept such A because B cannot physically break wider constraints.If B is wider (allows more) than A (the 1st half of the
if
), then we support everything that A requires, let's accept such A.merge
here is needed to accept Constraint Sets that have less parameter constraints that Constraint Sets in Sender Caps. For instance, the user requests restrictions only onframe_rate
and such a Constraint Set cannot be a subset of very restricted Sender Caps, so we need to merge this incoming parameter constraint into the existing Constraint Set and then check.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why the merge is necessary. Let's have a chat to discuss!