...
Parameter name | Description | Example |
---|---|---|
name | Profile name | -profile1 |
profile | Profile parameters | { |
cdn_group_origin_to_transcoder_relation=
true
Profile parameters should contain audio
or video
sections.
...
Code Block | ||
---|---|---|
| ||
cdn_group_origin_to_transcoder_relation=true |
Then This setting should be enabled on Transcoders and Edges.
Then primarily Transcoder in the same group with Origin will be chosen promarily to transcode the a stream, and stream translatiion distribution will look as follows:
In this case, the stream is transcoded one time for all location groups, but as many streams will be broadcast to each group as requested by Edges for playback. This inscreases intergroup channels load.
Starting from version 5.2.418, in case Transcoder from the same group as Origin is unavailable, Transcoder from the group Edge is in will be chosen, or any other available Transcoder if Transcoder from the group of the Edge is also unavailable. So, Edge will be able to get transcoded stream even when there are no available transcoders in the groups of the Origin and the Edge.
The priority of CDN groups when choosing available Transcoder for transcoding of a new steam will be as follows:
- First group specified on Origin (other groups the Origin is in are not taken into account - priority goes to the group Edge is in)
- Groups specified on Edge (if Transcoder from the first group is unavailable , then priority goes to the second etc.)
- Other groups (equal priority)
However, if the requested stream is already being transcoded on another Transcoder - not the priority Transcoder for this Edge, - then the Edge will get the stream from that Transcoder, which is currently performing transcoding.
Getting stream routes information with REST API
...