Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
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
15namespace roc {
16namespace address {
17
18//! Protocol ID.
20 //! Protocol is not set.
22
23 //! RTSP.
25
26 //! Bare RTP.
28
29 //! RTP source packet + FECFRAME Reed-Solomon footer (m=8).
31
32 //! FEC repair packet + FECFRAME Reed-Solomon header (m=8).
34
35 //! RTP source packet + FECFRAME LDPC footer.
37
38 //! FEC repair packet + FECFRAME LDPC header.
40
41 //! RTCP.
43};
44
45//! Get string name of the protocol.
46const char* proto_to_str(Protocol proto);
47
48} // namespace address
49} // namespace roc
50
51#endif // ROC_ADDRESS_PROTOCOL_H_
Protocol
Protocol ID.
Definition protocol.h:19
@ Proto_RTP_LDPC_Source
RTP source packet + FECFRAME LDPC footer.
Definition protocol.h:36
@ Proto_RTCP
RTCP.
Definition protocol.h:42
@ Proto_RS8M_Repair
FEC repair packet + FECFRAME Reed-Solomon header (m=8).
Definition protocol.h:33
@ Proto_RTP_RS8M_Source
RTP source packet + FECFRAME Reed-Solomon footer (m=8).
Definition protocol.h:30
@ Proto_RTP
Bare RTP.
Definition protocol.h:27
@ Proto_LDPC_Repair
FEC repair packet + FECFRAME LDPC header.
Definition protocol.h:39
@ Proto_RTSP
RTSP.
Definition protocol.h:24
@ Proto_None
Protocol is not set.
Definition protocol.h:21
const char * proto_to_str(Protocol proto)
Get string name of the protocol.
Root namespace.