Analysers unification

This commit is contained in:
Ramoe 2016-07-18 15:42:32 +02:00 committed by Thulinma
parent 19198e3abd
commit 051a8c826b
24 changed files with 2588 additions and 35 deletions

View file

@ -0,0 +1,35 @@
#include <mist/flv_tag.h> //FLV support
#include <mist/config.h>
#include "analyser.h"
#include <string>
#include <fstream>
#include <iostream>
#include <mist/amf.h>
#include <mist/rtmpchunks.h>
#include <mist/config.h>
#include <mist/socket.h>
class rtmpAnalyser : public analysers
{
FLV::Tag flvData;
long long filter;
std::string inbuffer;
RTMPStream::Chunk next;
FLV::Tag F; //FLV holder
unsigned int read_in ;
Socket::Buffer strbuf;
AMF::Object amfdata;
AMF::Object3 amf3data;
int Detail;
public:
rtmpAnalyser(Util::Config config);
bool packetReady();
void PreProcessing();
//int Analyse();
int doAnalyse();
// void doValidate();
};