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

Remove redundant call to rtpSender->Send().

上级 452d116a
...@@ -41,7 +41,7 @@ These codecs have the same fields as the room codecs, with some variations: ...@@ -41,7 +41,7 @@ These codecs have the same fields as the room codecs, with some variations:
* `payloadType` is mandatory. * `payloadType` is mandatory.
* `rtcpFeedback` is optional. * `rtcpFeedback` is optional.
After that, C++ `Room::onPeerCapabilities(capabilities)` is called. This method removes peer's codecs not supported by the room and RTP header extensions and FEC mechanisms not supported by mediasoup. After that, C++ `Room::onPeerCapabilities(capabilities)` is called. This method removes peer's codecs not supported by the room, removes the unsupported RTCP feedback mechanisms from the supported codecs, and removes RTP header extensions and FEC mechanisms not supported by mediasoup.
*TODO:* We must remove RTP header extensions and FEC mechanisms not supported by mediasoup (and currently we support none of them). *TODO:* We must remove RTP header extensions and FEC mechanisms not supported by mediasoup (and currently we support none of them).
......
...@@ -509,9 +509,6 @@ namespace RTC ...@@ -509,9 +509,6 @@ namespace RTC
// Attach the RtpSender to peer. // Attach the RtpSender to peer.
peer->AddRtpSender(rtpSender, receiver_peer->peerName, rtpReceiver->GetParameters()); peer->AddRtpSender(rtpSender, receiver_peer->peerName, rtpReceiver->GetParameters());
// Provide the RtpSender with the parameters of the RtpReceiver.
rtpSender->Send(rtpReceiver->GetParameters());
} }
} }
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论