diff options
Diffstat (limited to 'cast/streaming/compound_rtcp_builder.h')
-rw-r--r-- | cast/streaming/compound_rtcp_builder.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cast/streaming/compound_rtcp_builder.h b/cast/streaming/compound_rtcp_builder.h index a2d8e26e..59ceda48 100644 --- a/cast/streaming/compound_rtcp_builder.h +++ b/cast/streaming/compound_rtcp_builder.h @@ -16,8 +16,8 @@ #include "cast/streaming/rtcp_common.h" #include "cast/streaming/rtp_defines.h" +namespace openscreen { namespace cast { -namespace streaming { class RtcpSession; @@ -97,7 +97,7 @@ class CompoundRtcpBuilder { // should be monotonically increasing so the consuming side (the Sender) can // determine the chronological ordering of RTCP packets. The Sender might also // use this to estimate round-trip times over the network. - absl::Span<uint8_t> BuildPacket(openscreen::Clock::time_point send_time, + absl::Span<uint8_t> BuildPacket(Clock::time_point send_time, absl::Span<uint8_t> buffer); // The required buffer size to be provided to BuildPacket(). This accounts for @@ -110,9 +110,8 @@ class CompoundRtcpBuilder { // Helper methods called by BuildPacket() to append one RTCP packet to the // |buffer| that will ultimately contain a "compound RTCP packet." void AppendReceiverReportPacket(absl::Span<uint8_t>* buffer); - void AppendReceiverReferenceTimeReportPacket( - openscreen::Clock::time_point send_time, - absl::Span<uint8_t>* buffer); + void AppendReceiverReferenceTimeReportPacket(Clock::time_point send_time, + absl::Span<uint8_t>* buffer); void AppendPictureLossIndicatorPacket(absl::Span<uint8_t>* buffer); void AppendCastFeedbackPacket(absl::Span<uint8_t>* buffer); int AppendCastFeedbackLossFields(absl::Span<uint8_t>* buffer); @@ -133,7 +132,7 @@ class CompoundRtcpBuilder { uint8_t feedback_count_ = 0; }; -} // namespace streaming } // namespace cast +} // namespace openscreen #endif // CAST_STREAMING_COMPOUND_RTCP_BUILDER_H_ |