[*] 日常优化

This commit is contained in:
acgist
2023-09-22 07:47:56 +08:00
parent 107a9e301d
commit 295693cba5
3 changed files with 29 additions and 24 deletions

View File

@@ -1697,19 +1697,6 @@ class Taoyao extends RemoteClient {
}));
}
/**
* 查询消费者状态信令
*
* @param {*} consumerId 消费者ID
*/
async mediaConsumerStatus(consumerId) {
const me = this;
return await me.request(protocol.buildMessage('media::consumer::status', {
roomId: me.roomId,
consumerId
}));
}
/**
* 消费媒体信令
*
@@ -1816,6 +1803,18 @@ class Taoyao extends RemoteClient {
}
}
/**
* 查询消费者状态信令
*
* @param {*} consumerId 消费者ID
*/
async mediaConsumerStatus(consumerId) {
return await this.request(protocol.buildMessage("media::consumer::status", {
consumerId,
roomId: this.roomId,
}));
}
/**
* 消费数据信令
*