opus.conf.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233
  1. <configuration name="opus.conf">
  2. <settings>
  3. <param name="use-vbr" value="1"/>
  4. <!--<param name="use-dtx" value="1"/>-->
  5. <param name="complexity" value="10"/>
  6. <!-- Set the initial packet loss percentage 0-100 -->
  7. <!--<param name="packet-loss-percent" value="10"/>-->
  8. <!-- Support asymmetric sample rates -->
  9. <!--<param name="asymmetric-sample-rates" value="1"/>-->
  10. <!-- Enable bitrate negotiation -->
  11. <!--<param name="bitrate-negotiation" value="1"/>-->
  12. <!-- Keep FEC Enabled -->
  13. <param name="keep-fec-enabled" value="1"/>
  14. <!--<param name="use-jb-lookahead" value="true"/> -->
  15. <!--
  16. maxaveragebitrate: the maximum average codec bitrate (values: 6000 to 510000 in bps) 0 is not considered
  17. maxplaybackrate: the maximum codec internal frequency (values: 8000, 12000, 16000, 24000, 48000 in Hz) 0 is not considered
  18. This will set the local encoder and instruct the remote encoder trough specific "fmtp" attibute in the SDP.
  19. Example: if you receive "maxaveragebitrate=20000" from SDP and you have set "maxaveragebitrate=24000" in this configuration
  20. the lowest will prevail in this case "20000" is set on the encoder and the corresponding fmtp attribute will be set
  21. to instruct the remote encoder to do the same.
  22. -->
  23. <param name="maxaveragebitrate" value="0"/>
  24. <param name="maxplaybackrate" value="0"/>
  25. <!-- Max capture rate, 8000, 12000, 16000, 24000 and 48000 are valid options -->
  26. <!--<param name="sprop-maxcapturerate" value="0"/>-->
  27. <!-- Enable automatic bitrate variation during the call based on RTCP feedback -->
  28. <!--<param name="adjust-bitrate" value="1"/>-->
  29. </settings>
  30. </configuration>