Versions Compared

Key

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

...

Stream will be transcoded on Edge under the following conditions:

1. If server video codec priority is higher than profile video codec priority. For example, if the following profile is used

Code Block
languageyml
themeRDark
 -opus-vp8:
  audio:
    codec : opus
    rate : 48000
    channels : 2
  video:
    width : 320
    height : 240
    gop : 60
    fps : 30
    codec : vp8
    codecImpl : FF

and the following codec priority is set in server properties

Code Block
themeRDark
codecs=opus,...,h264,vp8,flv,mpv

then VP8 stream will be transcoded to H264 because this codec has a higher priority.

2in the following cases:

1. If there is no audio codec or sample rate from profile in subscriberssubscriber's SDP, audio track will be transcoded to one of formats supported by subscriber.

2. If constrains are set for the subscriber: e.g., if video height or bitrate are specified. Therefore, when transcoding by profile, desired constrains should be specified in the profile and not set for subscribers.

Profile applied for a subscriber should correspond to the technology used by the subscriber for playing the stream. For example, for a subscriber using WSPlayer, apply profile with codecs ulaw and mpv, and for RTMP - mpeg4-generic and h264.

Picture aspect ratio preserving while stream transcoding by profile

...