mirror of
https://github.com/langhuihui/monibuca.git
synced 2026-04-23 03:17:16 +08:00
feat: add hdl pull、h265、av1
This commit is contained in:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user