|
MistServer
2.5.3-Pro-19-gf5e75b1 ( Generic_64)
|
This namespace holds all FLV-parsing related functionality. More...
Data Structures | |
| class | Tag |
| This class is used to hold, work with and get information about a single FLV tag. More... | |
Functions | |
| bool | check_header (char *header) |
| Checks a FLV Header for validness. More... | |
| bool | is_header (char *header) |
| Checks the first 3 bytes for the string "FLV". More... | |
Variables | |
| std::string | Error_Str = "" |
| This variable is set if a problem is encountered while parsing the FLV. More... | |
| char | Header [13] = {'F', 'L', 'V', 0x01, 0x05, 0, 0, 0, 0x09, 0, 0, 0, 0} |
| Holds the last FLV header parsed. More... | |
| bool | Parse_Error = false |
| This variable is set to true if a problem is encountered while parsing the FLV. More... | |
This namespace holds all FLV-parsing related functionality.
| bool FLV::check_header | ( | char * | header | ) |
Checks a FLV Header for validness.
Returns true if the header is valid, false if the header is not. Not valid can mean:
Note that we see PreviousTagSize as part of the FLV header, not part of the tag header!
| bool FLV::is_header | ( | char * | header | ) |
Checks the first 3 bytes for the string "FLV".
Implementing a basic FLV header check, returning true if it is, false if not.
| std::string FLV::Error_Str = "" |
This variable is set if a problem is encountered while parsing the FLV.
| char FLV::Header = {'F', 'L', 'V', 0x01, 0x05, 0, 0, 0, 0x09, 0, 0, 0, 0} |
| bool FLV::Parse_Error = false |
This variable is set to true if a problem is encountered while parsing the FLV.
1.8.11