1
0

FLVMetadata.h 373 B

123456789101112131415161718192021222324
  1. #ifndef NULLSOFT_FLVMETADATA_H
  2. #define NULLSOFT_FLVMETADATA_H
  3. #include "AMFObject.h"
  4. #include <vector>
  5. class FLVMetadata
  6. {
  7. public:
  8. FLVMetadata();
  9. ~FLVMetadata();
  10. bool Read(uint8_t *data, size_t size);
  11. struct Tag
  12. {
  13. Tag();
  14. ~Tag();
  15. AMFString name;
  16. AMFMixedArray *parameters; // needs to be pointer so we can refcount
  17. };
  18. std::vector<Tag*> tags;
  19. };
  20. #endif