Index: media/cast/transport/cast_transport_defines.h |
diff --git a/media/cast/transport/cast_transport_defines.h b/media/cast/transport/cast_transport_defines.h |
index 72089fc74902f91490c66809d7d29ae7be3c5e60..532c14c10073bc28eea98b792eff1043d5b6f17d 100644 |
--- a/media/cast/transport/cast_transport_defines.h |
+++ b/media/cast/transport/cast_transport_defines.h |
@@ -55,7 +55,7 @@ inline std::string GetAesNonce(uint32 frame_id, const std::string& iv_mask) { |
// Rtcp defines. |
-enum RtcpPacketTypes { |
+enum RtcpPacketFields { |
kPacketTypeLow = 194, // SMPTE time-code mapping. |
kPacketTypeInterArrivalJitterReport = 195, |
kPacketTypeSenderReport = 200, |
@@ -69,6 +69,23 @@ enum RtcpPacketTypes { |
kPacketTypeHigh = 210, // Port Mapping. |
}; |
+enum RtcpPacketField { |
+ kRtcpSr = 0x0002, |
+ kRtcpRr = 0x0004, |
+ kRtcpBye = 0x0008, |
+ kRtcpPli = 0x0010, |
+ kRtcpNack = 0x0020, |
+ kRtcpFir = 0x0040, |
+ kRtcpSrReq = 0x0200, |
+ kRtcpDlrr = 0x0400, |
+ kRtcpRrtr = 0x0800, |
+ kRtcpRpsi = 0x8000, |
+ kRtcpRemb = 0x10000, |
+ kRtcpCast = 0x20000, |
+ kRtcpSenderLog = 0x40000, |
+ kRtcpReceiverLog = 0x80000, |
+ }; |
+ |
// Each uint16 represents one packet id within a cast frame. |
typedef std::set<uint16> PacketIdSet; |
// Each uint8 represents one cast frame. |