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

Peer.cpp: clarify how setCapabilities() behaves.

上级 6641adb9
......@@ -192,6 +192,8 @@ namespace RTC
// NOTE: We accept the request *after* calling onPeerCapabilities(). This
// guarantees that the Peer will receive a 'newrtpsender' event for all its
// associated RtpSenders *before* the setCapabilities() Promise resolves.
// In other words, at the time setCapabilities() resolves, the Peer already
// has set all its current RtpSenders.
request->Accept(data);
break;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论