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:
parent
69eb935505
commit
bd24fe7d75
7 changed files with 268 additions and 36 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue