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.
21
Port_AudioSource
,
22
23
//! Audio repair packets.
24
Port_AudioRepair
25
};
26
27
//! Port protocol.
28
enum
PortProtocol
{
29
//! Protocol is not set.
30
Proto_None
,
31
32
//! Bare RTP.
33
Proto_RTP
,
34
35
//! RTP source packet + FECFRAME Reed-Solomon footer (m=8).
36
Proto_RTP_RSm8_Source
,
37
38
//! FEC repair packet + FECFRAME Reed-Solomon header (m=8).
39
Proto_RSm8_Repair
,
40
41
//! RTP source packet + FECFRAME LDPC footer.
42
Proto_RTP_LDPC_Source
,
43
44
//! FEC repair packet + FECFRAME LDPC header.
45
Proto_LDPC_Repair
46
};
47
48
}
// namespace pipeline
49
}
// namespace roc
50
51
#endif
// ROC_PIPELINE_PORT_H_
roc::pipeline::PortProtocol
PortProtocol
Port protocol.
Definition:
port.h:28
roc::pipeline::Proto_RTP_LDPC_Source
@ Proto_RTP_LDPC_Source
RTP source packet + FECFRAME LDPC footer.
Definition:
port.h:42
roc::pipeline::Proto_None
@ Proto_None
Protocol is not set.
Definition:
port.h:30
roc::pipeline::Proto_RSm8_Repair
@ Proto_RSm8_Repair
FEC repair packet + FECFRAME Reed-Solomon header (m=8).
Definition:
port.h:39
roc::pipeline::Proto_LDPC_Repair
@ Proto_LDPC_Repair
FEC repair packet + FECFRAME LDPC header.
Definition:
port.h:45
roc::pipeline::Proto_RTP_RSm8_Source
@ Proto_RTP_RSm8_Source
RTP source packet + FECFRAME Reed-Solomon footer (m=8).
Definition:
port.h:36
roc::pipeline::Proto_RTP
@ Proto_RTP
Bare RTP.
Definition:
port.h:33
roc::pipeline::PortType
PortType
Port type.
Definition:
port.h:19
roc::pipeline::Port_AudioRepair
@ Port_AudioRepair
Audio repair packets.
Definition:
port.h:24
roc::pipeline::Port_AudioSource
@ Port_AudioSource
Audio source packets.
Definition:
port.h:21
roc
Root namespace.
roc_pipeline
port.h
Generated by
1.9.1