Various optimalisations to improve performance. More coming soon.

This commit is contained in:
Thulinma 2012-09-16 01:17:08 +02:00
parent 24a3bcd8db
commit 4140b04608
7 changed files with 243 additions and 50 deletions

View file

@ -10,6 +10,7 @@
#include <set>
#include <stdio.h> //for FILE
#include "json.h"
#include "socket.h"
@ -113,6 +114,7 @@ namespace DTSC{
bool hasVideo();
bool hasAudio();
bool parsePacket(std::string & buffer);
bool parsePacket(Socket::Buffer & buffer);
std::string & outPacket(unsigned int num);
std::string & outHeader();
Ring * getRing();