1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support flv parser, add amf0 to librtmp. 0.9.110

This commit is contained in:
winlin 2014-05-22 15:08:25 +08:00
parent 69eb935505
commit bd24fe7d75
7 changed files with 268 additions and 36 deletions

View file

@ -102,6 +102,7 @@ public:
* user must ensure the type is a string, or assert failed.
*/
virtual std::string to_str();
virtual const char* to_str_raw();
/**
* get the boolean of any when is_boolean() indicates true.
* user must ensure the type is a boolean, or assert failed.
@ -172,6 +173,7 @@ public:
virtual int count();
// @remark: max index is count().
virtual std::string key_at(int index);
virtual const char* key_raw_at(int index);
// @remark: max index is count().
virtual SrsAmf0Any* value_at(int index);
@ -212,6 +214,7 @@ public:
virtual int count();
// @remark: max index is count().
virtual std::string key_at(int index);
virtual const char* key_raw_at(int index);
// @remark: max index is count().
virtual SrsAmf0Any* value_at(int index);