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

Unified Diff: media/cast/cast_defines.h

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 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/cast_config.cc ('k') | media/cast/cast_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_defines.h
diff --git a/media/cast/cast_defines.h b/media/cast/cast_defines.h
index 64b20c96da6df5e9135da2600d5138c968c3d6f5..07be3b3f9ef25d3d2ebcefc80bf0fd5b00457c18 100644
--- a/media/cast/cast_defines.h
+++ b/media/cast/cast_defines.h
@@ -14,7 +14,7 @@
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/time/time.h"
-#include "media/cast/transport/cast_transport_config.h"
+#include "media/cast/net/cast_transport_config.h"
namespace media {
namespace cast {
@@ -29,7 +29,6 @@ const uint32 kStartFrameId = UINT32_C(0xffffffff);
// frames.
const int kMaxUnackedFrames = 255;
-const size_t kMaxIpPacketSize = 1500;
const int kStartRttMs = 20;
const int64 kCastMessageUpdateIntervalMs = 33;
const int64 kNackRepeatIntervalMs = 30;
@@ -193,13 +192,6 @@ inline base::TimeDelta RtpDeltaToTimeDelta(int64 rtp_delta, int rtp_timebase) {
return rtp_delta * base::TimeDelta::FromSeconds(1) / rtp_timebase;
}
-inline uint32 GetVideoRtpTimestamp(const base::TimeTicks& time_ticks) {
- base::TimeTicks zero_time;
- base::TimeDelta recorded_delta = time_ticks - zero_time;
- // Timestamp is in 90 KHz for video.
- return static_cast<uint32>(recorded_delta.InMilliseconds() * 90);
-}
-
} // namespace cast
} // namespace media
« no previous file with comments | « media/cast/cast_config.cc ('k') | media/cast/cast_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698