支持配置是否开去推流鉴权

This commit is contained in:
648540858
2022-11-08 20:29:27 +08:00
parent 73c7dab47f
commit cc4c4ac144
3 changed files with 50 additions and 36 deletions

View File

@@ -35,6 +35,8 @@ public class UserSetting {
private Boolean streamOnDemand = Boolean.TRUE;
private Boolean pushAuthority = Boolean.TRUE;
private String serverId = "000000";
private String thirdPartyGBIdReg = "[\\s\\S]*";
@@ -156,4 +158,12 @@ public class UserSetting {
public void setStreamOnDemand(Boolean streamOnDemand) {
this.streamOnDemand = streamOnDemand;
}
public Boolean getPushAuthority() {
return pushAuthority;
}
public void setPushAuthority(Boolean pushAuthority) {
this.pushAuthority = pushAuthority;
}
}