xiph / opus-tools

A set of tools to encode, inspect, and decode audio in the Opus format.
https://opus-codec.org/
Other
212 stars 78 forks source link

FEC not enabled #57

Closed boborjan2 closed 2 years ago

boborjan2 commented 3 years ago

Hi,

opusenc does not enable fec even if expect-loss is not zero. Only the expected loss is passed to libopus, inband_fec is not set. We used the following revisions. libopusenc-0.2.1 opus-1.3.1 opusfile-0.12 opus-tools-0.2

Regards, Viktor

mark4o commented 2 years ago

The expected packet loss is used for more than just to calculate the FEC bitrate when FEC is enabled. A higher expected packet loss will also reduce inter-frame dependencies. FEC must be enabled separately if desired.