If we have not seen any OOS audio data lately, we can assume that seeing the next FEC block means the previous block has completed transmission. If we don't have it all by then, just assume it was lost and move on. This reduces the perception of audio loss by reducing the change that we cause the audio device to underrun.
Moonlight Streaming Core Library
Moonlight-common-c contains the core GameStream client code shared between Moonlight clients, including Moonlight PC, Moonlight Android, Moonlight iOS, and Moonlight Chrome.
If you are implementing your own Moonlight game streaming client that can use a C library, you probably want the code here.
Note to Developers
Moonlight-common-c requires the specific version of ENet that is bundled as a submodule. This version has changes required for IPv6 compatibility and retransmission reliability, among other things. These are breaking API/ABI changes which make Moonlight-common-c incompatible with other versions of the ENet library. Attempting to runtime link to another libenet library will cause your client to crash when connecting to recent versions of GeForce Experience.