提交 6b4c91c6 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Fix terrible regression in PipeTransport

上级 68234e4b
......@@ -29,8 +29,8 @@ class PipeTransport extends Transport_1.Transport {
// - .sctpState
// - .rtx
// - .srtpParameters
// - cryptoSuite
// - keyBase64
// - .cryptoSuite
// - .keyBase64
/**
* @private
* @emits sctpstatechange - (sctpState: SctpState)
......
......@@ -219,6 +219,8 @@ namespace RTC
MS_THROW_TYPE_ERROR("missing port");
}
port = jsonPortIt->get<uint16_t>();
auto jsonSrtpParametersIt = request->data.find("srtpParameters");
if (!HasSrtp() && jsonSrtpParametersIt != request->data.end())
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论