OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/cast/net/rtcp/rtcp_builder.h" | 5 #include "media/cast/net/rtcp/rtcp_builder.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "media/cast/net/cast_transport_defines.h" | |
14 #include "media/cast/net/rtcp/rtcp_defines.h" | |
15 #include "media/cast/net/rtcp/rtcp_utility.h" | 13 #include "media/cast/net/rtcp/rtcp_utility.h" |
16 | 14 |
17 namespace media { | 15 namespace media { |
18 namespace cast { | 16 namespace cast { |
19 namespace { | 17 namespace { |
20 | 18 |
21 // Max delta is 4095 milliseconds because we need to be able to encode it in | 19 // Max delta is 4095 milliseconds because we need to be able to encode it in |
22 // 12 bits. | 20 // 12 bits. |
23 const int64 kMaxWireFormatTimeDeltaMs = INT64_C(0xfff); | 21 const int64 kMaxWireFormatTimeDeltaMs = INT64_C(0xfff); |
24 | 22 |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 receiver_log_message->push_front(frame_log); | 480 receiver_log_message->push_front(frame_log); |
483 } | 481 } |
484 | 482 |
485 VLOG(3) << "number of frames: " << number_of_frames; | 483 VLOG(3) << "number of frames: " << number_of_frames; |
486 VLOG(3) << "total messages to send: " << *total_number_of_messages_to_send; | 484 VLOG(3) << "total messages to send: " << *total_number_of_messages_to_send; |
487 return number_of_frames > 0; | 485 return number_of_frames > 0; |
488 } | 486 } |
489 | 487 |
490 } // namespace cast | 488 } // namespace cast |
491 } // namespace media | 489 } // namespace media |
OLD | NEW |