[*] 日常优化

This commit is contained in:
acgist
2023-09-07 14:34:54 +08:00
parent 9d12a8ca2d
commit 475bb71300
2 changed files with 19 additions and 13 deletions

View File

@@ -1943,19 +1943,6 @@ class Taoyao extends RemoteClient {
}
}
/**
* 查询通道状态信令
*
* @param {*} transportId 通道ID
*/
async mediaTransportStatus(transportId) {
const me = this;
return await me.request(protocol.buildMessage('media::transport::status', {
roomId: me.roomId,
transportId
}));
}
/**
* 查询生产者状态信令
*
@@ -2532,6 +2519,18 @@ class Taoyao extends RemoteClient {
}
}
/**
* 查询通道状态信令
*
* @param {*} transportId 通道ID
*/
async mediaTransportStatus(transportId) {
return await this.request(protocol.buildMessage('media::transport::status', {
transportId,
roomId: this.roomId,
}));
}
/**
* 创建媒体发送通道
*/