Enum Class CodecPriorityPolicy

java.lang.Object
java.lang.Enum<CodecPriorityPolicy>
org.linphone.core.CodecPriorityPolicy
All Implemented Interfaces:
Serializable, Comparable<CodecPriorityPolicy>, Constable

public enum CodecPriorityPolicy extends Enum<CodecPriorityPolicy>
Codec priority policies.

This enum represents different policies for managing offered codec lists during
calls, as well as the offer-answer logic. Currently, policies can be applied
only for video codecs.
  • Enum Constant Details

    • Basic

      public static final CodecPriorityPolicy Basic
      In this mode, codecs have initial default ordering, that can be changed by the
      application The answerer of a call accepts codecs with the order given in the
      offer.

    • Auto

      public static final CodecPriorityPolicy Auto
      In this mode, the codec list is managed by the Core according to
      hardware capabilities in the goal of optimizing video quality and user
      experience.

      The answerer of call may re-order the offerer's list in its answer in order to
      give preference to certain codecs.
  • Field Details

    • mValue

      protected final int mValue
  • Method Details