Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
port.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 Roc 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_pipeline/port.h
10 //! @brief Port constants.
11 
12 #ifndef ROC_PIPELINE_PORT_H_
13 #define ROC_PIPELINE_PORT_H_
14 
15 namespace roc {
16 namespace pipeline {
17 
18 //! Port type.
19 enum PortType {
20  //! Audio source packets.
22 
23  //! Audio repair packets.
25 };
26 
27 //! Port protocol.
29  //! Protocol is not set.
31 
32  //! Bare RTP.
34 
35  //! RTP source packet + FECFRAME Reed-Solomon footer (m=8).
37 
38  //! FEC repair packet + FECFRAME Reed-Solomon header (m=8).
40 
41  //! RTP source packet + FECFRAME LDPC footer.
43 
44  //! FEC repair packet + FECFRAME LDPC header.
46 };
47 
48 } // namespace pipeline
49 } // namespace roc
50 
51 #endif // ROC_PIPELINE_PORT_H_
PortProtocol
Port protocol.
Definition: port.h:28
Root namespace.
Bare RTP.
Definition: port.h:33
Audio source packets.
Definition: port.h:21
Protocol is not set.
Definition: port.h:30
FEC repair packet + FECFRAME Reed-Solomon header (m=8).
Definition: port.h:39
RTP source packet + FECFRAME Reed-Solomon footer (m=8).
Definition: port.h:36
Audio repair packets.
Definition: port.h:24
RTP source packet + FECFRAME LDPC footer.
Definition: port.h:42
FEC repair packet + FECFRAME LDPC header.
Definition: port.h:45
PortType
Port type.
Definition: port.h:19