feat: add hdl pull、h265、av1

This commit is contained in:
langhuihui
2024-04-11 20:23:23 +08:00
parent 6079337429
commit 51c85d10f7
22 changed files with 1223 additions and 121 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import (
)
type PublishConfig interface {
GetPublishConfig() Publish
GetPublishConfig() *Publish
}
type SubscribeConfig interface {
@@ -39,7 +39,7 @@ type Publish struct {
RingSize string `default:"256-1024" desc:"缓冲范围"` // 初始缓冲区大小
}
func (c Publish) GetPublishConfig() Publish {
func (c *Publish) GetPublishConfig() *Publish {
return c
}