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

merge srs2

This commit is contained in:
winlin 2015-10-28 11:51:32 +08:00
commit e9e202dbf1
3 changed files with 33 additions and 0 deletions

View file

@ -414,6 +414,10 @@ public:
* @remark user should never free the returned value, copy it if needed.
*/
virtual SrsAmf0Any* ensure_property_number(std::string name);
/**
* remove the property specified by name.
*/
virtual void remove(std::string name);
};
/**
@ -820,6 +824,7 @@ namespace _srs_internal
virtual SrsAmf0Any* get_property(std::string name);
virtual SrsAmf0Any* ensure_property_string(std::string name);
virtual SrsAmf0Any* ensure_property_number(std::string name);
virtual void remove(std::string name);
public:
virtual void copy(SrsUnSortedHashtable* src);
};