Various small fixes to SRT sockets and SRT socket statistics

This commit is contained in:
Thulinma 2022-12-01 10:13:46 +01:00
parent 0af85de22d
commit cac86fff57
8 changed files with 89 additions and 25 deletions

View file

@ -112,9 +112,12 @@ namespace TS{
class Assembler{
public:
Assembler();
bool assemble(Stream & TSStrm, const char * ptr, size_t len, bool parse = false, uint64_t bytePos = 0);
void clear();
void setLive(bool live = true);
private:
bool isLive;
Util::ResizeablePointer leftData;
TS::Packet tsBuf;
};