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
384cc267
Commit
384cc267
authored
Feb 20, 2025
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动挂断目前没问题了+1
parent
e210a1a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
src/handles/handle_agora_call.rs
+4
-1
No files found.
src/handles/handle_agora_call.rs
View file @
384cc267
...
...
@@ -416,7 +416,10 @@ pub async fn handle_agora_call(
// 最后广播用户更新
notify_all_clients_to_update_online_users
()
.await
;
});
println!
(
"step - 7 开启定时挂断线程refuse {}"
,
refuse_thread_users
.len
());
println!
(
"step - 7 开启定时挂断线程refuse {}"
,
refuse_thread_users
.len
()
);
// 开启定时器线程任务,如果所有用户20s内没有接听,则挂断,发送所有CmdRefuse数据并重置
for
user_id
in
refuse_thread_users
{
let
current_user_status_data
=
{
ONLINE_USERS
.get
(
&
user_id
)
};
...
...
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