Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
ws-rst
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
qlintonger xeno
ws-rst
Commits
1bc4703d
Commit
1bc4703d
authored
Feb 14, 2025
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接关闭成功,准备对接agora_call的有关内容,这里还好。记得要操作redis以及本地的string+1.5
parent
fbc2382e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/handles/redis.rs
+2
-2
No files found.
src/handles/redis.rs
View file @
1bc4703d
...
@@ -40,8 +40,8 @@ pub async fn insert_this_connection(
...
@@ -40,8 +40,8 @@ pub async fn insert_this_connection(
.get_connection
()
.get_connection
()
.expect
(
"Failed to get Redis connection"
);
.expect
(
"Failed to get Redis connection"
);
let
device_id
=
params
.get
(
"deviceID"
)
.cloned
()
.unwrap_or
_default
(
);
let
device_id
=
params
.get
(
"deviceID"
)
.cloned
()
.unwrap_or
(
""
.to_string
()
);
let
from_name
=
params
.get
(
"fromName"
)
.cloned
()
.unwrap_or
_default
(
);
let
from_name
=
params
.get
(
"fromName"
)
.cloned
()
.unwrap_or
(
""
.to_string
()
);
// 按照结构体OnlineUserMessage的格式构造用户信息字符串,用逗号拼接即可
// 按照结构体OnlineUserMessage的格式构造用户信息字符串,用逗号拼接即可
// callState,channelID,deviceID,fromID,hasCamera,hasMike,isHost,userCallGroup,fromName
// callState,channelID,deviceID,fromID,hasCamera,hasMike,isHost,userCallGroup,fromName
...
...
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