1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_CAST_CAST_DEFINES_H_
6 #define MEDIA_CAST_CAST_DEFINES_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/time/time.h"
15 const int64 kDontShowTimeoutMs
= 33;
16 const float kDefaultCongestionControlBackOff
= 0.875f
;
17 const uint8 kStartFrameId
= 255;
18 const uint32 kVideoFrequency
= 90000;
19 const int64 kSkippedFramesCheckPeriodkMs
= 10000;
21 // Number of skipped frames threshold in fps (as configured) per period above.
22 const int kSkippedFramesThreshold
= 3;
23 const size_t kIpPacketSize
= 1500;
24 const int kStartRttMs
= 20;
25 const int64 kCastMessageUpdateIntervalMs
= 33;
26 const int64 kNackRepeatIntervalMs
= 30;
28 enum DefaultSettings
{
31 kDefaultMaxFrameRate
= 30,
32 kDefaultNumberOfVideoBuffers
= 1,
33 kDefaultRtcpIntervalMs
= 500,
34 kDefaultRtpHistoryMs
= 1000,
35 kDefaultRtpMaxDelayMs
= 100,
41 #endif // MEDIA_CAST_CAST_DEFINES_H_