diff options
Diffstat (limited to 'cast/streaming/compound_rtcp_parser.cc')
-rw-r--r-- | cast/streaming/compound_rtcp_parser.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cast/streaming/compound_rtcp_parser.cc b/cast/streaming/compound_rtcp_parser.cc index b1ea4b67..260989b0 100644 --- a/cast/streaming/compound_rtcp_parser.cc +++ b/cast/streaming/compound_rtcp_parser.cc @@ -11,10 +11,8 @@ #include "util/logging.h" #include "util/std_util.h" -using openscreen::Clock; - +namespace openscreen { namespace cast { -namespace streaming { namespace { @@ -185,7 +183,7 @@ bool CompoundRtcpParser::Parse(absl::Span<const uint8_t> buffer, client_->OnReceiverCheckpoint(checkpoint_frame_id, target_playout_delay); } if (!received_frames.empty()) { - OSP_DCHECK(openscreen::AreElementsSortedAndUnique(received_frames)); + OSP_DCHECK(AreElementsSortedAndUnique(received_frames)); client_->OnReceiverHasFrames(std::move(received_frames)); } CanonicalizePacketNackVector(&packet_nacks); @@ -338,7 +336,7 @@ bool CompoundRtcpParser::ParseExtendedReports( return false; // Length field must always be 2 words. } *receiver_reference_time = session_->ntp_converter().ToLocalTime( - openscreen::ReadBigEndian<uint64_t>(in.data())); + ReadBigEndian<uint64_t>(in.data())); } else { // Ignore any other type of extended report. } @@ -377,5 +375,5 @@ void CompoundRtcpParser::Client::OnReceiverHasFrames( void CompoundRtcpParser::Client::OnReceiverIsMissingPackets( std::vector<PacketNack> nacks) {} -} // namespace streaming } // namespace cast +} // namespace openscreen |