2
0

opus.conf.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <!-- will enforce mono even if the remote party wants stereo. must be used in conjunction with param "max-audio-channels" set to 1 in switch.conf.xml. -->
  30. <param name="mono" value="0"/>
  31. </settings>
  32. </configuration>