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

PlainRtpTransport: don't pass the result of c_str() to a function that takes…

PlainRtpTransport: don't pass the result of c_str() to a function that takes std::string as argument
上级 319bffdc
...@@ -38,7 +38,7 @@ namespace RTC ...@@ -38,7 +38,7 @@ namespace RTC
// This may throw. // This may throw.
try try
{ {
SetRemoteParameters(options.remoteIP.c_str(), options.remotePort); SetRemoteParameters(options.remoteIP, options.remotePort);
} }
catch (const MediaSoupError& error) catch (const MediaSoupError& error)
{ {
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论