SendData API & publishData permission (#88)
* SendData Server API * SendData Server-API adjustments based on suggestions * Update proto version * enforce publishData permission * go mod tidy * fix go.mod * go mod tidy Co-authored-by: ChesterMing <89124853+ChesterMing@users.noreply.github.com>
This commit is contained in:
co-authored by
ChesterMing
parent
2ab37d8fcc
commit
bcf6e15e07
@@ -144,8 +144,6 @@ func NewConfig(confString string, c *cli.Context) (*Config, error) {
|
||||
},
|
||||
TURN: TURNConfig{
|
||||
Enabled: false,
|
||||
TLSPort: 5349,
|
||||
UDPPort: 3478,
|
||||
},
|
||||
Keys: map[string]string{},
|
||||
}
|
||||
@@ -170,6 +168,7 @@ func NewConfig(confString string, c *cli.Context) (*Config, error) {
|
||||
|
||||
// set defaults for ports if none are set
|
||||
if conf.RTC.UDPPort == 0 && conf.RTC.ICEPortRangeStart == 0 {
|
||||
// to make it easier to run in dev mode/docker, default to single port
|
||||
if conf.Development {
|
||||
conf.RTC.UDPPort = 7882
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user