separated join from creation, room options & token

This commit is contained in:
David Zhao committed 2020-10-07 23:54:44 -07:00
1 parent 37984bd167
commit 6752c4a91d
13 files changed
+1127 -757

No files matched your search

+3 -3
View File
@@ -6,7 +6,7 @@ import (
"github.com/pion/stun"
"github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/livekit-server/proto"
"github.com/livekit/livekit-server/proto/livekit"
)
const (
@@ -16,7 +16,7 @@ const (
var NodeSet = wire.NewSet(NewLocalNode)
type Node struct {
proto.Node
livekit.Node
}
type NodeStats struct {
@@ -33,7 +33,7 @@ func NewLocalNode(conf *config.Config) (*Node, error) {
return nil, err
}
n := &Node{
Node: proto.Node{
Node: livekit.Node{
Id: id.String(),
RtcPort: conf.RTCPort,
},