mirror of
https://github.com/danog/libtgvoip.git
synced 2024-11-27 04:34:42 +01:00
26 lines
416 B
C++
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
|