mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Security: Support IP whitelist for HTTP-FLV, HLS, WebRTC, and SRT. v5.0.202 v6.0.104 (#3902)
Security is the built-in IP whitelist feature of SRS, which allows and denies certain IP and IP range users. Previously, it only supported RTMP, but this PR now supports HTTP-FLV, HLS, WebRTC, SRT, and other protocols. See https://ossrs.io/lts/en-us/docs/v6/doc/security as example. --------- Co-authored-by: john <hondaxiao@tencent.com>
This commit is contained in:
parent
1b34fc4d4e
commit
6d56c407c6
12 changed files with 62 additions and 10 deletions
|
@ -8,7 +8,7 @@
|
|||
#define SRS_APP_HTTP_STREAM_HPP
|
||||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
#include <srs_app_security.hpp>
|
||||
#include <srs_app_http_conn.hpp>
|
||||
|
||||
class SrsAacTransmuxer;
|
||||
|
@ -180,6 +180,7 @@ private:
|
|||
SrsRequest* req;
|
||||
SrsLiveSource* source;
|
||||
SrsBufferCache* cache;
|
||||
SrsSecurity* security_;
|
||||
public:
|
||||
SrsLiveStream(SrsLiveSource* s, SrsRequest* r, SrsBufferCache* c);
|
||||
virtual ~SrsLiveStream();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue