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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h

Issue 1461623003: rtcp::Nack packet moved into own file and got Parse function (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 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/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h
similarity index 72%
copy from webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h
copy to webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h
index dddcdecba69d2b2268f475cb57685901ce7f8256..801aa085c44c855ea0fab3353899530df6fb3139 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h
@@ -9,8 +9,8 @@
*
*/
-#ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_PSFB_H_
-#define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_PSFB_H_
+#ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_RTPFB_H_
+#define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_RTPFB_H_
#include "webrtc/base/basictypes.h"
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h"
@@ -18,14 +18,14 @@
namespace webrtc {
namespace rtcp {
-// PSFB: Payload-specific feedback message.
-// RFC 4585, Section 6.3.
-class Psfb : public RtcpPacket {
+// RTPFB: Transport layer feedback message.
+// RFC4585, Section 6.2
+class Rtpfb : public RtcpPacket {
public:
- static const uint8_t kPacketType = 206;
+ static const uint8_t kPacketType = 205;
- Psfb() : sender_ssrc_(0), media_ssrc_(0) {}
- virtual ~Psfb() {}
+ Rtpfb() : sender_ssrc_(0), media_ssrc_(0) {}
+ virtual ~Rtpfb() {}
void From(uint32_t ssrc) { sender_ssrc_ = ssrc; }
void To(uint32_t ssrc) { media_ssrc_ = ssrc; }
@@ -45,4 +45,4 @@ class Psfb : public RtcpPacket {
} // namespace rtcp
} // namespace webrtc
-#endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_PSFB_H_
+#endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_RTPFB_H_
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_packet/nack_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698