mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use amf0 encode for json encode.
This commit is contained in:
parent
e0219bd7aa
commit
04bea781ca
7 changed files with 226 additions and 214 deletions
|
@ -41,6 +41,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
class SrsKbps;
|
||||
class SrsStream;
|
||||
class SrsAmf0Object;
|
||||
|
||||
// client open socket and connect to server.
|
||||
extern int srs_socket_connect(std::string server, int port, int64_t timeout, st_netfd_t* pstfd);
|
||||
|
@ -669,7 +670,7 @@ extern int srs_get_local_port(int fd);
|
|||
extern std::string srs_get_peer_ip(int fd);
|
||||
|
||||
// dump summaries for /api/v1/summaries.
|
||||
extern void srs_api_dump_summaries(std::stringstream& ss);
|
||||
extern void srs_api_dump_summaries(SrsAmf0Object* obj);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue