Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-userProxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-userProxy
Commits
7d2b9878
Commit
7d2b9878
authored
Jul 25, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
麦位变化确认
parent
32754c1f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
coder.go
common/coder.go
+1
-0
main.go
main.go
+2
-0
No files found.
common/coder.go
View file @
7d2b9878
...
@@ -72,6 +72,7 @@ const (
...
@@ -72,6 +72,7 @@ const (
MsgTypeEnterRoom
=
152
// 用户进房
MsgTypeEnterRoom
=
152
// 用户进房
MsgTypeLeaveRoom
=
153
// 用户离房
MsgTypeLeaveRoom
=
153
// 用户离房
MsgTypeRoomHeartbeat
=
154
// 房间心跳
MsgTypeRoomHeartbeat
=
154
// 房间心跳
MsgTypeGroupMicChangeRsp
=
156
// 麦位变化确认
)
)
const
(
const
(
...
...
main.go
View file @
7d2b9878
...
@@ -253,6 +253,8 @@ func serverWebsocket(w http.ResponseWriter, r *http.Request) {
...
@@ -253,6 +253,8 @@ func serverWebsocket(w http.ResponseWriter, r *http.Request) {
if
err
:=
processRoomHeartbeat
(
logger
,
ci
.
Uid
,
pbData
);
err
!=
nil
{
if
err
:=
processRoomHeartbeat
(
logger
,
ci
.
Uid
,
pbData
);
err
!=
nil
{
logger
.
Errorf
(
"processRoomHeartbeat fail:%v"
,
err
)
logger
.
Errorf
(
"processRoomHeartbeat fail:%v"
,
err
)
}
}
}
else
if
msgType
==
common
.
MsgTypeGroupMicChangeRsp
{
logger
.
Infof
(
"common.MsgTypeGroupMicChangeRsp arrive"
)
}
else
{
}
else
{
logger
.
Warnf
(
"Unknown message type %d"
,
msgType
)
logger
.
Warnf
(
"Unknown message type %d"
,
msgType
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment