Commit 1bc4703d by qlintonger xeno

对接关闭成功,准备对接agora_call的有关内容,这里还好。记得要操作redis以及本地的string+1.5

parent fbc2382e
......@@ -40,8 +40,8 @@ pub async fn insert_this_connection(
.get_connection()
.expect("Failed to get Redis connection");
let device_id = params.get("deviceID").cloned().unwrap_or_default();
let from_name = params.get("fromName").cloned().unwrap_or_default();
let device_id = params.get("deviceID").cloned().unwrap_or("".to_string());
let from_name = params.get("fromName").cloned().unwrap_or("".to_string());
// 按照结构体OnlineUserMessage的格式构造用户信息字符串,用逗号拼接即可
// callState,channelID,deviceID,fromID,hasCamera,hasMike,isHost,userCallGroup,fromName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment