OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
13 | 13 |
14 #include <stddef.h> | 14 #include <stddef.h> |
15 #include <list> | 15 #include <list> |
16 | 16 |
17 #include "webrtc/modules/interface/module_common_types.h" | 17 #include "webrtc/modules/include/module_common_types.h" |
18 #include "webrtc/system_wrappers/include/clock.h" | 18 #include "webrtc/system_wrappers/include/clock.h" |
19 #include "webrtc/typedefs.h" | 19 #include "webrtc/typedefs.h" |
20 | 20 |
21 #define RTCP_CNAME_SIZE 256 // RFC 3550 page 44, including null termination | 21 #define RTCP_CNAME_SIZE 256 // RFC 3550 page 44, including null termination |
22 #define IP_PACKET_SIZE 1500 // we assume ethernet | 22 #define IP_PACKET_SIZE 1500 // we assume ethernet |
23 #define MAX_NUMBER_OF_PARALLEL_TELEPHONE_EVENTS 10 | 23 #define MAX_NUMBER_OF_PARALLEL_TELEPHONE_EVENTS 10 |
24 #define TIMEOUT_SEI_MESSAGES_MS 30000 // in milliseconds | 24 #define TIMEOUT_SEI_MESSAGES_MS 30000 // in milliseconds |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 namespace rtcp { | 27 namespace rtcp { |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 | 430 |
431 class TransportSequenceNumberAllocator { | 431 class TransportSequenceNumberAllocator { |
432 public: | 432 public: |
433 TransportSequenceNumberAllocator() {} | 433 TransportSequenceNumberAllocator() {} |
434 virtual ~TransportSequenceNumberAllocator() {} | 434 virtual ~TransportSequenceNumberAllocator() {} |
435 | 435 |
436 virtual uint16_t AllocateSequenceNumber() = 0; | 436 virtual uint16_t AllocateSequenceNumber() = 0; |
437 }; | 437 }; |
438 | 438 |
439 } // namespace webrtc | 439 } // namespace webrtc |
440 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ | 440 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |