Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
rtcp.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2022 Roc Streaming authors
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
8 
9 //! @file roc_packet/rtcp.h
10 //! @brief RTCP compound packet.
11 
12 #ifndef ROC_PACKET_RTCP_H_
13 #define ROC_PACKET_RTCP_H_
14 
15 #include "roc_core/slice.h"
16 #include "roc_core/stddefs.h"
17 
18 namespace roc {
19 namespace packet {
20 
21 //! RTCP compound packet.
22 struct RTCP {
23  //! Packet payload containing RTCP compound packet.
24  //! RTCP does not contain any pre-parsed fields.
25  //! Use rtcp::Traverser and rtcp::Builder to work with payload.
27 
28  //! Construct zero RTCP packet.
29  RTCP();
30 };
31 
32 } // namespace packet
33 } // namespace roc
34 
35 #endif // ROC_PACKET_RTCP_H_
Root namespace.
Slice.
Commonly used types and functions.
RTCP compound packet.
Definition: rtcp.h:22
core::Slice< uint8_t > payload
Packet payload containing RTCP compound packet. RTCP does not contain any pre-parsed fields....
Definition: rtcp.h:26
RTCP()
Construct zero RTCP packet.