feat: add sendoptions config to avoid send options

This commit is contained in:
langhuihui
2023-10-25 10:22:29 +08:00
parent 9ac21a130e
commit 3e4dcdf649
2 changed files with 9 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ type RTSPConfig struct {
UDPAddr string `default:":8000"`
RTCPAddr string `default:":8001"`
WriteBufferCount int `default:"2048"`
SendOptions bool `default:"true"`
sync.Map
server *gortsplib.Server
}