mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #3174: WebRTC: Support Unity to publish or play stream. v4.0.264
This commit is contained in:
parent
8ac8ae1c2e
commit
aea2bfbaf9
7 changed files with 31 additions and 13 deletions
|
@ -27,7 +27,9 @@ public:
|
|||
virtual srs_error_t serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r);
|
||||
private:
|
||||
virtual srs_error_t do_serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r, SrsJsonObject* res);
|
||||
public:
|
||||
virtual srs_error_t serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r, SrsRtcUserConfig* ruc);
|
||||
private:
|
||||
srs_error_t check_remote_sdp(const SrsSdp& remote_sdp);
|
||||
private:
|
||||
virtual srs_error_t http_hooks_on_play(SrsRequest* req);
|
||||
|
@ -56,8 +58,8 @@ private:
|
|||
class SrsGoApiRtcWhip : public ISrsHttpHandler
|
||||
{
|
||||
private:
|
||||
SrsRtcServer* server_;
|
||||
SrsGoApiRtcPublish* publish_;
|
||||
SrsGoApiRtcPlay* play_;
|
||||
public:
|
||||
SrsGoApiRtcWhip(SrsRtcServer* server);
|
||||
virtual ~SrsGoApiRtcWhip();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue