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

Unified Diff: webrtc/call/flexfec_receive_stream.h

Issue 2553863003: Parse FlexFEC RTP headers in Call and add integration with BWE. (Closed)
Patch Set: Work in progress. Created 4 years 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/call/flexfec_receive_stream.h
diff --git a/webrtc/call/flexfec_receive_stream.h b/webrtc/call/flexfec_receive_stream.h
index 384a94d1d58091e386b39344ae54888a236e5f92..e5e1883bd89c3772965c7a6d11a60cf578347b2a 100644
--- a/webrtc/call/flexfec_receive_stream.h
+++ b/webrtc/call/flexfec_receive_stream.h
@@ -21,15 +21,21 @@
namespace webrtc {
+class RemoteBitrateEstimator;
+class RtpPacketReceived;
+
namespace internal {
class FlexfecReceiveStream : public webrtc::FlexfecReceiveStream {
public:
FlexfecReceiveStream(const Config& config,
- RecoveredPacketReceiver* recovered_packet_callback);
+ RecoveredPacketReceiver* recovered_packet_receiver,
+ RemoteBitrateEstimator* remote_bitrate_estimator);
~FlexfecReceiveStream();
- bool AddAndProcessReceivedPacket(const uint8_t* packet, size_t length);
+ const Config& config() { return config_; }
+
+ bool AddAndProcessReceivedPacket(RtpPacketReceived packet);
danilchap 2016/12/06 15:04:30 to pass by value forward declaration is not enough
brandtr 2016/12/12 13:51:07 It did compile though? Moved the include to the h
// Implements webrtc::FlexfecReceiveStream.
void Start() override;

Powered by Google App Engine
This is Rietveld 408576698