[*] 日常优化
This commit is contained in:
@@ -2802,8 +2802,8 @@ class Taoyao extends RemoteClient {
|
|||||||
*/
|
*/
|
||||||
roomBroadcast(message) {
|
roomBroadcast(message) {
|
||||||
this.push(protocol.buildMessage("room::broadcast", {
|
this.push(protocol.buildMessage("room::broadcast", {
|
||||||
|
...message,
|
||||||
roomId : this.roomId,
|
roomId : this.roomId,
|
||||||
...message
|
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,9 +26,13 @@ import lombok.extern.slf4j.Slf4j;
|
|||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"roomId" : "房间ID",
|
"roomId" : "房间ID",
|
||||||
"transportId" : "通道ID"
|
"transportId" : "通道ID",
|
||||||
"dtlsParameters": "DTLS参数"
|
"dtlsParameters": "DTLS参数"
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
"roomId" : "房间标识",
|
||||||
|
"transportId" : "传输通道标识"
|
||||||
|
}
|
||||||
"""
|
"""
|
||||||
},
|
},
|
||||||
flow = "终端=>信令服务->媒体服务"
|
flow = "终端=>信令服务->媒体服务"
|
||||||
|
|||||||
Reference in New Issue
Block a user