Skip to content

Commit 6d2e248

Browse files
Various small fixes and deleted build.sh
Remove an used #ifdef in Receiver.h, and fix error messages in AlcPacket.cpp
1 parent 28c034e commit 6d2e248

3 files changed

Lines changed: 3 additions & 12 deletions

File tree

build.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

include/Receiver.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,5 @@ namespace LibFlute {
104104
completion_callback_t _completion_cb = nullptr;
105105

106106
bool _running = true;
107-
#ifdef SIMULATED_PKT_LOSS
108-
unsigned int packets_dropped = 0;
109-
#endif
110107
};
111108
};

src/AlcPacket.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ LibFlute::AlcPacket::AlcPacket(char* data, size_t len)
8888
_fec_oti.encoding_id = FecScheme::Raptor;
8989
break;
9090
default:
91-
throw "Only Compact No-Code FEC is supported";
91+
throw "Only the Compact No-Code and Raptor FEC schemes are supported";
9292
break;
9393
}
9494

@@ -134,8 +134,8 @@ LibFlute::AlcPacket::AlcPacket(char* data, size_t len)
134134
break;
135135
case FecScheme::Raptor:
136136
//TODO
137-
spdlog::warn("Raptor FEC support is still in progress");
138-
throw "Raptor FEC support is still in progress";
137+
spdlog::warn("Raptor FEC support in EXT_FTI header extension is still in progress");
138+
throw "Raptor FEC support in EXT_FTI header extension is still in progress";
139139
break;
140140
default:
141141
throw "Unsupported FEC scheme";

0 commit comments

Comments
 (0)