Added RTMPChunk to FLV converter to FLV lib, improved RTMP debugger to allow for dumping RTMP streams to FLV, improved RTMP debugger to show and work with more details

This commit is contained in:
Thulinma 2011-08-21 00:35:01 +02:00
parent 3b7af0b95a
commit b240874ede
4 changed files with 100 additions and 5 deletions

View file

@ -4,6 +4,7 @@
#pragma once
#include "socket.h"
#include <string>
#include "rtmpchunks.h"
/// This namespace holds all FLV-parsing related functionality.
namespace FLV {
@ -30,7 +31,9 @@ namespace FLV {
Tag(); ///< Constructor for a new, empty, tag.
Tag(const Tag& O); ///< Copy constructor, copies the contents of an existing tag.
Tag & operator= (const Tag& O); ///< Assignment operator - works exactly like the copy constructor.
Tag(const RTMPStream::Chunk& O); ///<Copy constructor from a RTMP chunk.
//loader functions
bool ChunkLoader(const RTMPStream::Chunk& O);
bool MemLoader(char * D, unsigned int S, unsigned int & P);
bool SockLoader(int sock);
bool SockLoader(Socket::Connection sock);