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

Unified Diff: webrtc/video/vie_encoder.cc

Issue 2742383004: Delete support for receiving RTCP RPSI and SLI messages. (Closed)
Patch Set: Rebased. Created 3 years, 9 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
« no previous file with comments | « webrtc/video/vie_encoder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/vie_encoder.cc
diff --git a/webrtc/video/vie_encoder.cc b/webrtc/video/vie_encoder.cc
index 19e8df18440835a4055511996b5eb1a60f923bfc..728d37b64195658051874846d6293d6034205baf 100644
--- a/webrtc/video/vie_encoder.cc
+++ b/webrtc/video/vie_encoder.cc
@@ -279,10 +279,6 @@ ViEEncoder::ViEEncoder(uint32_t number_of_cores,
nack_enabled_(false),
last_observed_bitrate_bps_(0),
encoder_paused_and_dropped_frame_(false),
- has_received_sli_(false),
- picture_id_sli_(0),
- has_received_rpsi_(false),
- picture_id_rpsi_(0),
clock_(Clock::GetRealTimeClock()),
scale_counter_(kScaleReasonSize, 0),
degradation_preference_(DegradationPreference::kMaintainResolution),
@@ -664,28 +660,6 @@ void ViEEncoder::SendStatistics(uint32_t bit_rate, uint32_t frame_rate) {
stats_proxy_->OnEncoderStatsUpdate(frame_rate, bit_rate);
}
-// TODO(nisse): Delete.
-void ViEEncoder::OnReceivedSLI(uint8_t picture_id) {
- if (!encoder_queue_.IsCurrent()) {
- encoder_queue_.PostTask([this, picture_id] { OnReceivedSLI(picture_id); });
- return;
- }
- RTC_DCHECK_RUN_ON(&encoder_queue_);
- picture_id_sli_ = picture_id;
- has_received_sli_ = true;
-}
-
-// TODO(nisse): Delete.
-void ViEEncoder::OnReceivedRPSI(uint64_t picture_id) {
- if (!encoder_queue_.IsCurrent()) {
- encoder_queue_.PostTask([this, picture_id] { OnReceivedRPSI(picture_id); });
- return;
- }
- RTC_DCHECK_RUN_ON(&encoder_queue_);
- picture_id_rpsi_ = picture_id;
- has_received_rpsi_ = true;
-}
-
void ViEEncoder::OnReceivedIntraFrameRequest(size_t stream_index) {
if (!encoder_queue_.IsCurrent()) {
encoder_queue_.PostTask(
« no previous file with comments | « webrtc/video/vie_encoder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698