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

Unified Diff: media/cast/net/rtp/rtp_packet_builder.cc

Issue 1377273003: cast: cleanup rtp header and parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: media/cast/net/rtp/rtp_packet_builder.cc
diff --git a/media/cast/net/rtp/rtp_packet_builder.cc b/media/cast/net/rtp/rtp_packet_builder.cc
index 2f279f4e96b8dbd1c76a17b9a3ca39c52768c416..a84b691bb22c97eb746fad5e9cad77747726aead 100644
--- a/media/cast/net/rtp/rtp_packet_builder.cc
+++ b/media/cast/net/rtp/rtp_packet_builder.cc
@@ -10,10 +10,6 @@
namespace media {
namespace cast {
-const uint32 kCastRtpHeaderLength = 7;
-const uint32 kGenericRtpHeaderLength = 12;
-static const uint8 kRtpMarkerBitMask = 0x80;
-
RtpPacketBuilder::RtpPacketBuilder()
: is_key_(false),
frame_id_(0),

Powered by Google App Engine
This is Rietveld 408576698