Skip to content

Commit

Permalink
Update Examples.md
Browse files Browse the repository at this point in the history
- to add MUX example using substreams
  • Loading branch information
cristian-recoseanu committed Oct 10, 2023
1 parent 4275a72 commit 6f3c3fc
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions docs/Examples.md
Original file line number Diff line number Diff line change
@@ -236,3 +236,59 @@ For example, Type N receivers can be expected to correctly receive a stream orig

[TR-05]: https://www.videoservicesforum.org/download/technical_recommendations/VSF_TR-05_2018-06-23.pdf
"VSF TR-05: Essential Formats and Descriptions for Interoperability of SMPTE ST 2110-20 Video Signals"

### Substreams

The following example shows a MUX MPEG 2 transport stream receiver exposing substream constraints.

```json
{
"id": "9dd002e2-76a0-4edc-88ef-7d4aff4b2d26",
"transport": "rtp",
"format": "mux",
"caps": {
"media_types": [
"video/MP2T"
],
"constraint_sets": [
{
"urn:x-nmos:substreams": [
{
"description": "hi-res",
"format": "video",
"count": {
"enum": [
1
]
},
"constraint_sets": [...]
},
{
"description": "proxy",
"format": "video",
"count": {
"minimum": 0,
"maximum": 1
},
"constraint_sets": [...]
},
{
"format": "audio",
"count": {
"enum": [
0,
2,
4
]
},
"constraint_sets": [...]
}
]
},
{
"urn:x-nmos:substreams": [...]
}
]
}
}
```

0 comments on commit 6f3c3fc

Please sign in to comment.