Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter name

Description

Example

name

Profile name

-profile1

profile

Profile parameters

{
"audio": {
"type": "audio"
"bitrate": 0,
"channels": 0,
"codec": "opus",
"rate": 48000,
},
"video": {
"type": "video",
"bitrate": 0,
"codec": "h264",
"codecImpl": "FF",
"fps": 30,
"gop": 90,
"height": 360,
"quality": 0,
"width": 640
}

cdn_group_origin_to_transcoder_relation=true

Profile parameters should contain audio or video sections.

...

Code Block
themeRDark
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:

Image RemovedImage Added

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:

  1. First group specified on Origin (other groups the Origin is in are not taken into account - priority goes to the group Edge is in)
  2. Groups specified on Edge (if Transcoder from the first group is unavailable , then priority goes to the second etc.)
  3. 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.

Image Added

Getting stream routes information with REST API

...