Nagram/TMessagesProj/jni/libtgvoip2/video/VideoFEC.h
2020-03-30 15:00:09 +03:00

26 lines
410 B
C++

//
// Created by Grishka on 24/03/2019.
//
#ifndef LIBTGVOIP_VIDEOFEC_H
#define LIBTGVOIP_VIDEOFEC_H
#include "../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