增加查询拉流列表接口

This commit is contained in:
yangjiechina
2024-10-29 19:57:52 +08:00
parent ec707c8dc1
commit 6841c4725f
11 changed files with 108 additions and 31 deletions

View File

@@ -37,7 +37,7 @@ func PreparePublishSource(source Source, hook bool) (*http.Response, utils.HookS
urls := GetStreamPlayUrls(source.GetID())
indent, _ := json.MarshalIndent(urls, "", "\t")
log.Sugar.Infof("%s准备推流 source:%s 拉流地址:\r\n%s", source.GetType().ToString(), source.GetID(), indent)
log.Sugar.Infof("%s准备推流 source:%s 拉流地址:\r\n%s", source.GetType().String(), source.GetID(), indent)
return response, utils.HookStateOK
}