Prioritize H264 over VP8 in OpenVidu PRO

Hi, how can we prioritize using H264 codec over VP8 in OpenVidu PRO configuration?
I believe previously you could re-arrange two key values in SdpEndpoint.conf on the server?

There is not configuration parameter to prioritize one code over the another.

If changing values in SdpEndpoint.conf works for you, you can create a custom KMS docker image and configure it in .env file.

I just post here to update to people who find this post after 2020. Force codec is supported from version 2.17.0 using this parameters in /opt/openvidu:

  • OPENVIDU_STREAMS_FORCED_VIDEO_CODEC
  • OPENVIDU_STREAMS_ALLOW_TRANSCODING

By default it is OPENVIDU_STREAMS_FORCED_VIDEO_CODEC=VP8 and OPENVIDU_STREAMS_ALLOW_TRANSCODING=false

1 Like