mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge SRS2
This commit is contained in:
commit
1054b0a90f
5 changed files with 110 additions and 1 deletions
|
@ -90,6 +90,7 @@ int SrsSecurity::allow_check(SrsConfDirective* rules, SrsRtmpConnType type, std:
|
|||
break;
|
||||
case SrsRtmpConnFMLEPublish:
|
||||
case SrsRtmpConnFlashPublish:
|
||||
case SrsRtmpConnHaivisionPublish:
|
||||
if (rule->arg0() != "publish") {
|
||||
break;
|
||||
}
|
||||
|
@ -135,6 +136,7 @@ int SrsSecurity::deny_check(SrsConfDirective* rules, SrsRtmpConnType type, std::
|
|||
break;
|
||||
case SrsRtmpConnFMLEPublish:
|
||||
case SrsRtmpConnFlashPublish:
|
||||
case SrsRtmpConnHaivisionPublish:
|
||||
if (rule->arg0() != "publish") {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue