mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Enable FEC validation mode on debug builds
This commit is contained in:
parent
719f690e56
commit
f911d974c9
@ -2,9 +2,12 @@
|
|||||||
#include "RtpFecQueue.h"
|
#include "RtpFecQueue.h"
|
||||||
#include "rs.h"
|
#include "rs.h"
|
||||||
|
|
||||||
// Uncomment to enable FEC validation mode with a synthetic drop
|
#ifdef LC_DEBUG
|
||||||
// and recovered packet checks vs the original input.
|
// This enables FEC validation mode with a synthetic drop
|
||||||
//#define FEC_VALIDATION_MODE
|
// and recovered packet checks vs the original input. It
|
||||||
|
// is on by default for debug builds.
|
||||||
|
#define FEC_VALIDATION_MODE
|
||||||
|
#endif
|
||||||
|
|
||||||
void RtpfInitializeQueue(PRTP_FEC_QUEUE queue) {
|
void RtpfInitializeQueue(PRTP_FEC_QUEUE queue) {
|
||||||
reed_solomon_init();
|
reed_solomon_init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user