mirror of
https://github.com/datarhei/core.git
synced 2025-09-27 12:22:28 +08:00
Use the SRT default config
This commit is contained in:
@@ -228,8 +228,6 @@ func New(config Config) (Server, error) {
|
|||||||
|
|
||||||
srtconfig := srt.DefaultConfig()
|
srtconfig := srt.DefaultConfig()
|
||||||
|
|
||||||
srtconfig.KMPreAnnounce = 200
|
|
||||||
srtconfig.KMRefreshRate = 10000
|
|
||||||
srtconfig.Passphrase = config.Passphrase
|
srtconfig.Passphrase = config.Passphrase
|
||||||
srtconfig.Logger = s.srtlogger
|
srtconfig.Logger = s.srtlogger
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user