Attempt to make RTMP properly compatible with all codecs

This commit is contained in:
Thulinma 2011-08-14 18:07:03 +02:00
parent d57d4c496a
commit feaf33e13e
3 changed files with 43 additions and 5 deletions

View file

@ -22,6 +22,7 @@ namespace FLV {
int len; ///< Actual length of tag.
bool isKeyframe; ///< True if current tag is a video keyframe.
char * data; ///< Pointer to tag buffer.
bool needsInitData(); ///< True if this media type requires init data.
bool isInitData(); ///< True if current tag is init data for this media type.
std::string tagType(); ///< Returns a std::string describing the tag in detail.
unsigned int tagTime(); ///< Returns the 32-bit timestamp of this tag.