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

Unified Diff: webrtc/call/rtx_receive_stream.h

Issue 3005793002: Fix setting of recovered flag in RtxReceiveStream. (Closed)
Patch Set: Drop static. git cl format. Created 3 years, 4 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/call/rtx_receive_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/rtx_receive_stream.h
diff --git a/webrtc/call/rtx_receive_stream.h b/webrtc/call/rtx_receive_stream.h
index 2830dd31f50ec72e7c0a7a76217b3e39b6828332..418775c7780d3d349694e10b99063237d31e3d76 100644
--- a/webrtc/call/rtx_receive_stream.h
+++ b/webrtc/call/rtx_receive_stream.h
@@ -17,10 +17,12 @@
namespace webrtc {
+// This class is responsible for RTX decapsulation. The resulting media packets
+// are passed on to a sink representing the associated media stream.
class RtxReceiveStream : public RtpPacketSinkInterface {
public:
RtxReceiveStream(RtpPacketSinkInterface* media_sink,
- std::map<int, int> rtx_payload_type_map,
+ std::map<int, int> associated_payload_types,
uint32_t media_ssrc);
~RtxReceiveStream() override;
// RtpPacketSinkInterface.
@@ -28,8 +30,8 @@ class RtxReceiveStream : public RtpPacketSinkInterface {
private:
RtpPacketSinkInterface* const media_sink_;
- // Mapping rtx_payload_type_map_[rtx] = associated.
- const std::map<int, int> rtx_payload_type_map_;
+ // Map from rtx payload type -> media payload type.
+ const std::map<int, int> associated_payload_types_;
// TODO(nisse): Ultimately, the media receive stream shouldn't care about the
// ssrc, and we should delete this.
const uint32_t media_ssrc_;
« no previous file with comments | « no previous file | webrtc/call/rtx_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698