1
0
Fork 0
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:
winlin 2015-08-28 15:11:11 +08:00
parent e0219bd7aa
commit 04bea781ca
7 changed files with 226 additions and 214 deletions

View file

@ -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