mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
supprt inject flv
This commit is contained in:
parent
4970664e37
commit
22968c85df
10 changed files with 313 additions and 184 deletions
|
@ -1113,6 +1113,11 @@ SrsAmf0Any* SrsAmf0StrictArray::at(int index)
|
|||
return properties.at(index);
|
||||
}
|
||||
|
||||
void SrsAmf0StrictArray::append(SrsAmf0Any* any)
|
||||
{
|
||||
properties.push_back(any);
|
||||
}
|
||||
|
||||
int SrsAmf0Size::utf8(string value)
|
||||
{
|
||||
return 2 + value.length();
|
||||
|
|
|
@ -260,6 +260,7 @@ public:
|
|||
virtual int count();
|
||||
// @remark: max index is count().
|
||||
virtual SrsAmf0Any* at(int index);
|
||||
virtual void append(SrsAmf0Any* any);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue