mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 10:52:46 +00:00
separated join from creation, room options & token
This commit is contained in:
1 parent
37984bd167
commit
6752c4a91d
13 files changed
+1127
-757
No files matched your search
+3
-3
@@ -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,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user