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 data.
24  //! RTCP compound packets does not contain any pre-parsed data.
25  //! Use rtcp::Traverser and rtcp::Builder to work with packet.
27 
28  //! Construct zero RTP 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
RTCP()
Construct zero RTP packet.
core::Slice< uint8_t > data
Packet data. RTCP compound packets does not contain any pre-parsed data. Use rtcp::Traverser and rtcp...
Definition: rtcp.h:26