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
@ Proto_RTP_LDPC_Source
RTP source packet + FECFRAME LDPC footer.
Definition: port.h:42
@ Proto_None
Protocol is not set.
Definition: port.h:30
@ Proto_RSm8_Repair
FEC repair packet + FECFRAME Reed-Solomon header (m=8).
Definition: port.h:39
@ Proto_LDPC_Repair
FEC repair packet + FECFRAME LDPC header.
Definition: port.h:45
@ Proto_RTP_RSm8_Source
RTP source packet + FECFRAME Reed-Solomon footer (m=8).
Definition: port.h:36
@ Proto_RTP
Bare RTP.
Definition: port.h:33
PortType
Port type.
Definition: port.h:19
@ Port_AudioRepair
Audio repair packets.
Definition: port.h:24
@ Port_AudioSource
Audio source packets.
Definition: port.h:21
Root namespace.