Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Unified Diff: webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h

Issue 2918333002: Reland of Only compare sequence numbers from the same SSRC in ForwardErrorCorrection. (Closed)
Patch Set: Let ForwardErrorCorrection be aware of its SSRCs. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h
diff --git a/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h b/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h
index e24570c1cd9176fa6fc49349724bd3145f17d7e3..37085726b11e2d48f081e7d36bef40ce4c9c72c0 100644
--- a/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h
+++ b/webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.h
@@ -23,7 +23,7 @@ namespace webrtc {
class UlpfecReceiverImpl : public UlpfecReceiver {
public:
- explicit UlpfecReceiverImpl(RecoveredPacketReceiver* callback);
+ explicit UlpfecReceiverImpl(uint32_t ssrc, RecoveredPacketReceiver* callback);
virtual ~UlpfecReceiverImpl();
int32_t AddReceivedRedPacket(const RTPHeader& rtp_header,
@@ -36,6 +36,8 @@ class UlpfecReceiverImpl : public UlpfecReceiver {
FecPacketCounter GetPacketCounter() const override;
private:
+ const uint32_t ssrc_;
+
rtc::CriticalSection crit_sect_;
RecoveredPacketReceiver* recovered_packet_callback_;
std::unique_ptr<ForwardErrorCorrection> fec_;

Powered by Google App Engine
This is Rietveld 408576698