OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" | 11 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" |
12 | 12 |
13 #include "webrtc/base/checks.h" | |
14 #include "webrtc/base/logging.h" | |
15 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" | 13 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" |
16 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 14 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
| 15 #include "webrtc/rtc_base/checks.h" |
| 16 #include "webrtc/rtc_base/logging.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 // Absolute send time in RTP streams. | 19 // Absolute send time in RTP streams. |
20 // | 20 // |
21 // The absolute send time is signaled to the receiver in-band using the | 21 // The absolute send time is signaled to the receiver in-band using the |
22 // general mechanism for RTP header extensions [RFC5285]. The payload | 22 // general mechanism for RTP header extensions [RFC5285]. The payload |
23 // of this extension (the transmitted value) is a 24-bit unsigned integer | 23 // of this extension (the transmitted value) is a 24-bit unsigned integer |
24 // containing the sender's current time in seconds as a fixed point number | 24 // containing the sender's current time in seconds as a fixed point number |
25 // with 18 bits fractional part. | 25 // with 18 bits fractional part. |
26 // | 26 // |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 373 |
374 size_t RepairedRtpStreamId::ValueSize(const std::string& rsid) { | 374 size_t RepairedRtpStreamId::ValueSize(const std::string& rsid) { |
375 return RtpStreamId::ValueSize(rsid); | 375 return RtpStreamId::ValueSize(rsid); |
376 } | 376 } |
377 | 377 |
378 bool RepairedRtpStreamId::Write(uint8_t* data, const std::string& rsid) { | 378 bool RepairedRtpStreamId::Write(uint8_t* data, const std::string& rsid) { |
379 return RtpStreamId::Write(data, rsid); | 379 return RtpStreamId::Write(data, rsid); |
380 } | 380 } |
381 | 381 |
382 } // namespace webrtc | 382 } // namespace webrtc |
OLD | NEW |