[*] 日常优化
This commit is contained in:
@@ -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,
|
||||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建媒体发送通道
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user