[*] 日常优化
This commit is contained in:
@@ -2244,27 +2244,6 @@ class Taoyao extends RemoteClient {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 房间广播信令
|
||||
*
|
||||
* @param {*} message 信令消息
|
||||
*/
|
||||
defaultRoomBroadcast(message) {
|
||||
console.debug("房间广播", message);
|
||||
}
|
||||
|
||||
/**
|
||||
* 房间广播信令
|
||||
*
|
||||
* @param {*} message 信令消息
|
||||
*/
|
||||
roomBroadcast(message) {
|
||||
this.push(protocol.buildMessage("room::broadcast", {
|
||||
roomId : this.roomId,
|
||||
...message
|
||||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* 媒体回调
|
||||
*
|
||||
@@ -2808,6 +2787,27 @@ class Taoyao extends RemoteClient {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 房间广播信令
|
||||
*
|
||||
* @param {*} message 信令消息
|
||||
*/
|
||||
roomBroadcast(message) {
|
||||
this.push(protocol.buildMessage("room::broadcast", {
|
||||
roomId : this.roomId,
|
||||
...message
|
||||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* 房间广播信令
|
||||
*
|
||||
* @param {*} message 信令消息
|
||||
*/
|
||||
defaultRoomBroadcast(message) {
|
||||
console.debug("房间广播", message);
|
||||
}
|
||||
|
||||
/**
|
||||
* 房间终端ID集合信令
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user