summaryrefslogtreecommitdiffstats
path: root/media/cast/cast_defines.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-15 01:04:25 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-15 01:04:25 +0000
commit734732edf6e4c41ea4502304dcc5e85e248aada6 (patch)
tree856a96eee67187b028d0bfae54884b97e9292945 /media/cast/cast_defines.h
parent20ccd13869224f5c78e18f143ddf2a86c1740aa3 (diff)
downloadchromium_src-734732edf6e4c41ea4502304dcc5e85e248aada6.zip
chromium_src-734732edf6e4c41ea4502304dcc5e85e248aada6.tar.gz
chromium_src-734732edf6e4c41ea4502304dcc5e85e248aada6.tar.bz2
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
Diffstat (limited to 'media/cast/cast_defines.h')
-rw-r--r--media/cast/cast_defines.h10
1 files changed, 1 insertions, 9 deletions
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<uint32>(recorded_delta.InMilliseconds() * 90);
-}
-
} // namespace cast
} // namespace media