Finally fixed long standing RTMP sync issue. Also added support for getting/setting FLV tag offsets.

This commit is contained in:
Thulinma 2013-11-14 12:24:11 +01:00
parent 01d008a56c
commit b78e9bc562
3 changed files with 29 additions and 10 deletions

View file

@ -35,8 +35,10 @@ namespace FLV {
const char * getAudioCodec(); ///< Returns a c-string with the audio codec name.
const char * getVideoCodec(); ///< Returns a c-string with the video codec name.
std::string tagType(); ///< Returns a std::string describing the tag in detail.
unsigned int tagTime(); ///< Returns the 32-bit timestamp of this tag.
void tagTime(unsigned int T); ///< Sets the 32-bit timestamp of this tag.
unsigned int tagTime();
void tagTime(unsigned int T);
int offset();
void offset(int o);
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.