[*] 部分功能

This commit is contained in:
acgist
2024-05-07 08:16:38 +08:00
parent c7c305c67c
commit f9dec2c79f
18 changed files with 802 additions and 59 deletions

View File

@@ -106,7 +106,7 @@ namespace acgist {
*/
std::future<std::string> OnProduceData(mediasoupclient::SendTransport* transport, const nlohmann::json& sctpStreamParameters, const std::string& label, const std::string& protocol, const nlohmann::json& appData) override {
const std::string cTransportId = transport->GetId();
LOG_I("生产数据:%s - %s - %s -%s", this->room->roomId.data(), cTransportId.data(), label.data(), protocol.data());
LOG_I("生产数据:%s - %s - %s - %s", this->room->roomId.data(), cTransportId.data(), label.data(), protocol.data());
std::promise <std::string> promise;
return promise.get_future();
}