From 734732edf6e4c41ea4502304dcc5e85e248aada6 Mon Sep 17 00:00:00 2001 From: "hclam@chromium.org" Date: Tue, 15 Jul 2014 01:04:25 +0000 Subject: Cast: Reshuffle files under media/cast This is a large refactoring to move files around where it makes sense. media/cast/transport/rtp_sender => media/cast/net/rtp media/cast/transport/rtp_sender/packet_storage => media/cast/net/rtp media/cast/transport/rtp_sender/packetizer => media/cast/net/rtp media/cast/transport/transport => media/cast/net media/cast/base => media/cast/common media/cast/transport/utility => media/cast/common media/cast/video_sender => media/cast/sender media/cast/video_sender/codecs/vp8 => media/cast/sender media/cast/audio_sender => media/cast/sender media/cast/congestion_control => media/cast/sender media/cast/transport => media/cast/net media/cast/framer => media/cast/net/rtp media/cast/rtp_receiver => media/cast/net/rtp media/cast/rtcp => media/cast/net/rtcp Remove "transport" namespace BUG=393042 Review URL: https://codereview.chromium.org/388663003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283120 0039d316-1c4b-4281-b951-d872f2087c98 --- media/cast/cast_defines.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'media/cast/cast_defines.h') diff --git a/media/cast/cast_defines.h b/media/cast/cast_defines.h index 64b20c9..07be3b3 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(recorded_delta.InMilliseconds() * 90); -} - } // namespace cast } // namespace media -- cgit v1.1