aboutsummaryrefslogtreecommitdiff
path: root/cast/streaming/compound_rtcp_builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cast/streaming/compound_rtcp_builder.cc')
-rw-r--r--cast/streaming/compound_rtcp_builder.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/cast/streaming/compound_rtcp_builder.cc b/cast/streaming/compound_rtcp_builder.cc
index 2593e95a..37625d05 100644
--- a/cast/streaming/compound_rtcp_builder.cc
+++ b/cast/streaming/compound_rtcp_builder.cc
@@ -14,11 +14,8 @@
#include "util/logging.h"
#include "util/std_util.h"
-using openscreen::AreElementsSortedAndUnique;
-using openscreen::Clock;
-
+namespace openscreen {
namespace cast {
-namespace streaming {
CompoundRtcpBuilder::CompoundRtcpBuilder(RtcpSession* session)
: session_(session) {
@@ -293,7 +290,7 @@ void CompoundRtcpBuilder::AppendCastFeedbackAckFields(
// Compute how many additional octets are needed.
constexpr int kIncrement = sizeof(uint32_t);
const int num_additional =
- openscreen::DividePositivesRoundingUp(
+ DividePositivesRoundingUp(
(octet_index + 1) - num_ack_bitvector_octets, kIncrement) *
kIncrement;
@@ -328,5 +325,5 @@ void CompoundRtcpBuilder::AppendCastFeedbackAckFields(
acks_for_next_packet_.clear();
}
-} // namespace streaming
} // namespace cast
+} // namespace openscreen