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

"stun and dtls done"

This commit is contained in:
xiaozhihong 2020-03-06 23:01:48 +08:00
parent 30d8b2209f
commit 9d5495c0c2
19 changed files with 1220 additions and 160 deletions

View file

@ -31,6 +31,7 @@ class ISrsHttpMessage;
class SrsHttpParser;
class SrsHttpHandler;
class SrsServer;
class SrsRtcServer;
#include <srs_app_st.hpp>
#include <srs_app_conn.hpp>
@ -168,8 +169,9 @@ class SrsGoApiSdp : public ISrsHttpHandler
{
private:
SrsServer* server;
SrsRtcServer* rtc_server;
public:
SrsGoApiSdp(SrsServer* svr);
SrsGoApiSdp(SrsServer* svr, SrsRtcServer* rtc_svr);
virtual ~SrsGoApiSdp();
public:
virtual srs_error_t serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r);