Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
protocol.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 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_address/protocol.h
10
//! @brief Protocol ID.
11
12
#ifndef ROC_ADDRESS_PROTOCOL_H_
13
#define ROC_ADDRESS_PROTOCOL_H_
14
15
namespace
roc
{
16
namespace
address {
17
18
//! Protocol ID.
19
enum
Protocol
{
20
//! Protocol is not set.
21
Proto_None
,
22
23
//! RTSP.
24
Proto_RTSP
,
25
26
//! Bare RTP.
27
Proto_RTP
,
28
29
//! RTP source packet + FECFRAME Reed-Solomon footer (m=8).
30
Proto_RTP_RS8M_Source
,
31
32
//! FEC repair packet + FECFRAME Reed-Solomon header (m=8).
33
Proto_RS8M_Repair
,
34
35
//! RTP source packet + FECFRAME LDPC footer.
36
Proto_RTP_LDPC_Source
,
37
38
//! FEC repair packet + FECFRAME LDPC header.
39
Proto_LDPC_Repair
,
40
41
//! RTCP.
42
Proto_RTCP
43
};
44
45
//! Get string name of the protocol.
46
const
char
*
proto_to_str
(
Protocol
proto);
47
48
}
// namespace address
49
}
// namespace roc
50
51
#endif
// ROC_ADDRESS_PROTOCOL_H_
roc::address::Protocol
Protocol
Protocol ID.
Definition:
protocol.h:19
roc::address::Proto_RTP_LDPC_Source
@ Proto_RTP_LDPC_Source
RTP source packet + FECFRAME LDPC footer.
Definition:
protocol.h:36
roc::address::Proto_RTCP
@ Proto_RTCP
RTCP.
Definition:
protocol.h:42
roc::address::Proto_RS8M_Repair
@ Proto_RS8M_Repair
FEC repair packet + FECFRAME Reed-Solomon header (m=8).
Definition:
protocol.h:33
roc::address::Proto_RTP_RS8M_Source
@ Proto_RTP_RS8M_Source
RTP source packet + FECFRAME Reed-Solomon footer (m=8).
Definition:
protocol.h:30
roc::address::Proto_RTP
@ Proto_RTP
Bare RTP.
Definition:
protocol.h:27
roc::address::Proto_LDPC_Repair
@ Proto_LDPC_Repair
FEC repair packet + FECFRAME LDPC header.
Definition:
protocol.h:39
roc::address::Proto_RTSP
@ Proto_RTSP
RTSP.
Definition:
protocol.h:24
roc::address::Proto_None
@ Proto_None
Protocol is not set.
Definition:
protocol.h:21
roc::address::proto_to_str
const char * proto_to_str(Protocol proto)
Get string name of the protocol.
roc
Root namespace.
roc_address
protocol.h
Generated by
1.9.1