mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 19:32:41 +00:00
update protocol for protojson (#4510)
This commit is contained in:
1 parent
3de6f517e5
commit
8fbc5adfce
6 files changed
+17
-8
No files matched your search
@@ -22,18 +22,18 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
"google.golang.org/protobuf/encoding/protojson"
|
||||
"google.golang.org/protobuf/proto"
|
||||
|
||||
"github.com/livekit/protocol/livekit"
|
||||
"github.com/livekit/protocol/logger"
|
||||
"github.com/livekit/protocol/utils/protojson"
|
||||
|
||||
"github.com/livekit/livekit-server/pkg/rtc/types"
|
||||
)
|
||||
|
||||
const (
|
||||
pingFrequency = 10 * time.Second
|
||||
pingTimeout = 2 * time.Second
|
||||
pingFrequency = 10 * time.Second
|
||||
pingTimeout = 2 * time.Second
|
||||
closeWriteTimeout = 5 * time.Second
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user