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

Unified Diff: media/cast/net/rtp/rtp_receiver_defines.h

Issue 1377273003: cast: cleanup rtp header and parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 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 | « media/cast/net/rtp/rtp_parser_unittest.cc ('k') | media/cast/net/rtp/rtp_receiver_defines.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtp/rtp_receiver_defines.h
diff --git a/media/cast/net/rtp/rtp_receiver_defines.h b/media/cast/net/rtp/rtp_receiver_defines.h
deleted file mode 100644
index 23a1849403504fb458371bccf39b849a147af3a1..0000000000000000000000000000000000000000
--- a/media/cast/net/rtp/rtp_receiver_defines.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_
-#define MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_
-
-#include "base/basictypes.h"
-#include "media/cast/cast_config.h"
-#include "media/cast/net/rtcp/rtcp_defines.h"
-
-namespace media {
-namespace cast {
-
-struct RtpCastHeader {
- RtpCastHeader();
-
- // Elements from RTP packet header.
- bool marker;
- uint8 payload_type;
- uint16 sequence_number;
- uint32 rtp_timestamp;
- uint32 sender_ssrc;
-
- // Elements from Cast header (at beginning of RTP payload).
- bool is_key_frame;
- uint32 frame_id;
- uint16 packet_id;
- uint16 max_packet_id;
- uint32 reference_frame_id;
-
- uint16 new_playout_delay_ms;
-};
-
-class RtpPayloadFeedback {
- public:
- virtual void CastFeedback(const RtcpCastMessage& cast_feedback) = 0;
-
- protected:
- virtual ~RtpPayloadFeedback();
-};
-
-} // namespace cast
-} // namespace media
-
-#endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_
« no previous file with comments | « media/cast/net/rtp/rtp_parser_unittest.cc ('k') | media/cast/net/rtp/rtp_receiver_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698