36 const char * getAudioCodec();
37 const char * getVideoCodec();
38 std::string tagType();
39 unsigned int tagTime();
40 void tagTime(
unsigned int T);
45 Tag & operator=(
const Tag & O);
53 bool DTSCMetaInit(
DTSC::Meta & M, std::set<long unsigned int> & selTracks);
55 bool MemLoader(
char * D,
unsigned int S,
unsigned int & P);
56 bool FileLoader(FILE * f);
57 unsigned int getTrackID();
59 unsigned int getDataLen();
65 bool checkBufferSize();
67 bool MemReadUntil(
char * buffer,
unsigned int count,
unsigned int & sofar,
char * D,
unsigned int S,
unsigned int & P);
68 bool FileReadUntil(
char * buffer,
unsigned int count,
unsigned int & sofar, FILE * f);
70 void Meta_Put(
JSON::Value & meta, std::string cat, std::string elem, std::string val);
71 void Meta_Put(
JSON::Value & meta, std::string cat, std::string elem, uint64_t val);
72 bool Meta_Has(
JSON::Value & meta, std::string cat, std::string elem);
Class for storage of track data.
Definition: dtsc.h:285
bool Parse_Error
This variable is set to true if a problem is encountered while parsing the FLV.
Definition: flv_tag.h:21
This class is used to hold, work with and get information about a single FLV tag. ...
Definition: flv_tag.h:29
A JSON::Value is either a string or an integer, but may also be an object, array or null...
Definition: json.h:21
bool done
Body reading done?
Definition: flv_tag.h:62
std::string Error_Str
This variable is set if a problem is encountered while parsing the FLV.
Definition: flv_tag.h:22
bool check_header(char *header)
Checks a FLV Header for validness.
Definition: flv_tag.cpp:28
int buf
Maximum length of buffer space.
Definition: flv_tag.h:61
bool isKeyframe
True if current tag is a video keyframe.
Definition: flv_tag.h:32
char * data
Pointer to tag buffer.
Definition: flv_tag.h:33
bool is_header(char *header)
Checks the first 3 bytes for the string "FLV".
Definition: flv_tag.cpp:45
Recursive class that holds AMF0 objects.
Definition: amf.h:55
int len
Actual length of tag.
Definition: flv_tag.h:31
This namespace holds all FLV-parsing related functionality.
Definition: flv_tag.h:18
Holds a single RTMP chunk, either send or receive direction.
Definition: rtmpchunks.h:33
char Header[13]
Holds the last FLV header parsed.
Definition: flv_tag.h:20
unsigned int sofar
How many bytes are read sofar?
Definition: flv_tag.h:63
Contains all functions and classes needed for RTMP connections.
Definition: flv_tag.h:13
DTSC::Packets can currently be three types: DTSC_HEAD packets are the "DTSC" header string...
Definition: dtsc.h:100