-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial changes to support substreams (#29)
* Create substream_constraints.json * Update constraint_set.json - to include the new substreams property * Update Examples.md - to add MUX example using substreams * Update APIs/schemas/substream_constraints.json to an "open enum" Co-authored-by: Gareth Sylvester-Bradley <31761158+garethsb@users.noreply.github.com> * Update Examples.md in line with the latest schema update for "format" * Update Receiver Capabilities.md To add substreams section * Change "MUX" to "mux" --------- Co-authored-by: Gareth Sylvester-Bradley <31761158+garethsb@users.noreply.github.com>
- Loading branch information
1 parent
4bf057c
commit 48e2f7b
Showing
4 changed files
with
120 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "Describes substream constraints", | ||
"title": "Constraint Set", | ||
"type": "object", | ||
"minProperties": 1, | ||
"properties": { | ||
"description": { | ||
"description": "Substream group description", | ||
"type": "string" | ||
}, | ||
"format": { | ||
"description": "Substream format", | ||
"type": "string", | ||
"anyOf": [ | ||
{ | ||
"enum": [ | ||
"urn:x-nmos:format:video", | ||
"urn:x-nmos:format:audio", | ||
"urn:x-nmos:format:data" | ||
] | ||
}, | ||
{ | ||
"pattern": "^urn:x-nmos:format:(?!mux$)" | ||
} | ||
] | ||
}, | ||
"count": { | ||
"$ref": "param_constraint_number.json" | ||
}, | ||
"constraint_sets": { | ||
"description": "Substream constraint sets", | ||
"type": "array", | ||
"items": { | ||
"$ref": "constraint_set.json" | ||
} | ||
} | ||
} | ||
} |
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