修复内置鉴权,音频轨道因IDR锁环并发问题,增加Internal配置,mp4重放能力

This commit is contained in:
langhuihui
2023-04-29 21:57:40 +08:00
parent 2eea5c3706
commit da92a2238f
12 changed files with 50 additions and 35 deletions

View File

@@ -62,6 +62,7 @@ type Subscribe struct {
Key string // 订阅鉴权key
SecretArgName string `default:"secret"` // 订阅鉴权参数名
ExpireArgName string `default:"expire"` // 订阅鉴权失效时间参数名
Internal bool `default:"false"` // 是否内部订阅
}
func (c *Subscribe) GetSubscribeConfig() *Subscribe {