mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-24 22:47:06 +02:00
slight changes, moved around a few things
This commit is contained in:
parent
0e9fbf7ba2
commit
e4a554830d
16 changed files with 154 additions and 138 deletions
|
@ -8,10 +8,10 @@ import (
|
|||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"n.eko.moe/neko/internal/config"
|
||||
"n.eko.moe/neko/internal/gst"
|
||||
"n.eko.moe/neko/internal/hid"
|
||||
"n.eko.moe/neko/internal/types"
|
||||
"n.eko.moe/neko/internal/types/config"
|
||||
)
|
||||
|
||||
func New(sessions types.SessionManager, config *config.WebRTC) *WebRTCManager {
|
||||
|
@ -22,7 +22,7 @@ func New(sessions types.SessionManager, config *config.WebRTC) *WebRTCManager {
|
|||
},
|
||||
}
|
||||
|
||||
setings.SetEphemeralUDPPortRange(59000, 59100)
|
||||
setings.SetEphemeralUDPPortRange(config.EphemeralStart, config.EphemeralEnd)
|
||||
|
||||
return &WebRTCManager{
|
||||
logger: logger,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue