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

Unified Diff: webrtc/call/call.cc

Issue 2427733002: Revert of Add path for recovered packets from internal::Call to RtpStreamReceiver. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | webrtc/modules/rtp_rtcp/include/flexfec_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/call.cc
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc
index e8a087f1a3b2c44c89a039a97eaee0b15de206d1..dd08d770ee850c0ff17d10bd732a97a7cc3a5495 100644
--- a/webrtc/call/call.cc
+++ b/webrtc/call/call.cc
@@ -18,7 +18,6 @@
#include "webrtc/audio/audio_send_stream.h"
#include "webrtc/audio/audio_state.h"
#include "webrtc/audio/scoped_voe_interface.h"
-#include "webrtc/base/basictypes.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/logging.h"
@@ -33,7 +32,6 @@
#include "webrtc/modules/bitrate_controller/include/bitrate_controller.h"
#include "webrtc/modules/congestion_controller/include/congestion_controller.h"
#include "webrtc/modules/pacing/paced_sender.h"
-#include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
#include "webrtc/modules/rtp_rtcp/source/byte_io.h"
#include "webrtc/modules/utility/include/process_thread.h"
@@ -59,7 +57,6 @@
class Call : public webrtc::Call,
public PacketReceiver,
- public RecoveredPacketReceiver,
public CongestionController::Observer,
public BitrateAllocator::LimitObserver {
public:
@@ -93,9 +90,6 @@
const uint8_t* packet,
size_t length,
const PacketTime& packet_time) override;
-
- // Implements RecoveredPacketReceiver.
- bool OnRecoveredPacket(const uint8_t* packet, size_t length) override;
void SetBitrateConfig(
const webrtc::Call::Config::BitrateConfig& bitrate_config) override;
@@ -954,16 +948,5 @@
return DeliverRtp(media_type, packet, length, packet_time);
}
-// TODO(brandtr): Update this member function when we support protecting
-// audio packets with FlexFEC.
-bool Call::OnRecoveredPacket(const uint8_t* packet, size_t length) {
- uint32_t ssrc = ByteReader<uint32_t>::ReadBigEndian(&packet[8]);
- ReadLockScoped read_lock(*receive_crit_);
- auto it = video_receive_ssrcs_.find(ssrc);
- if (it == video_receive_ssrcs_.end())
- return false;
- return it->second->OnRecoveredPacket(packet, length);
-}
-
} // namespace internal
} // namespace webrtc
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/flexfec_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698