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

Unified Diff: webrtc/call/flexfec_receive_stream.cc

Issue 2471073003: Make FlexfecReceiver a concrete class. (Closed)
Patch Set: Update fuzzer. Created 4 years, 1 month 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
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/flexfec_receive_stream.cc
diff --git a/webrtc/call/flexfec_receive_stream.cc b/webrtc/call/flexfec_receive_stream.cc
index e3b3345f365252966ac97f07c70694a5a544cb4d..fb078f4e7bce1801a476c1ba3ce79084a2557b10 100644
--- a/webrtc/call/flexfec_receive_stream.cc
+++ b/webrtc/call/flexfec_receive_stream.cc
@@ -42,9 +42,9 @@ std::unique_ptr<FlexfecReceiver> MaybeUpdateConfigAndCreateFlexfecReceiver(
<< config->protected_media_ssrcs[0] << ".";
config->protected_media_ssrcs.resize(1);
}
- return FlexfecReceiver::Create(config->flexfec_ssrc,
- config->protected_media_ssrcs[0],
- recovered_packet_callback);
+ return std::unique_ptr<FlexfecReceiver>(new FlexfecReceiver(
+ config->flexfec_ssrc, config->protected_media_ssrcs[0],
+ recovered_packet_callback));
}
} // namespace
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698