1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-11-30 04:39:03 +01:00
libtgvoip/video/VideoFEC.h
2020-01-22 12:51:17 +01:00

26 lines
416 B
C++

//
// Created by Grishka on 24/03/2019.
//
#ifndef LIBTGVOIP_VIDEOFEC_H
#define LIBTGVOIP_VIDEOFEC_H
#include "../tools/Buffers.h"
#include <vector>
namespace tgvoip{
namespace video{
class ParityFEC{
public:
static Buffer Encode(std::vector<Buffer>& packets);
static Buffer Decode(std::vector<Buffer>& dataPackets, Buffer& fecPacket);
};
class CM256FEC{
};
}
}
#endif //LIBTGVOIP_VIDEOFEC_H