Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Toggle main menu visibility
Loading...
Searching...
No Matches
interface.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/interface.h
10
//! @brief Interface ID.
11
12
#ifndef ROC_ADDRESS_INTERFACE_H_
13
#define ROC_ADDRESS_INTERFACE_H_
14
15
namespace
roc
{
16
namespace
address
{
17
18
//! Interface ID.
19
enum
Interface
{
20
//! Invalid interface.
21
Iface_Invalid
,
22
23
//! Interface that consolidated all types of streams (e.g. RTSP).
24
Iface_Consolidated
,
25
26
//! Source packets of audio stream (e.g. RTP or RTP + RS8M).
27
Iface_AudioSource
,
28
29
//! Repair packets of audio stream (e.g. RS8M).
30
Iface_AudioRepair
,
31
32
//! Control packets of audio stream (e.g. RTCP).
33
Iface_AudioControl
,
34
35
//! Number of interfaces.
36
Iface_Max
37
};
38
39
//! Get string name of the interface.
40
const
char
*
interface_to_str
(
Interface
);
41
42
}
// namespace address
43
}
// namespace roc
44
45
#endif
// ROC_ADDRESS_INTERFACE_H_
roc::address
URIs and addresses.
roc::address::Interface
Interface
Interface ID.
Definition
interface.h:19
roc::address::Iface_AudioSource
@ Iface_AudioSource
Source packets of audio stream (e.g. RTP or RTP + RS8M).
Definition
interface.h:27
roc::address::Iface_AudioControl
@ Iface_AudioControl
Control packets of audio stream (e.g. RTCP).
Definition
interface.h:33
roc::address::Iface_Consolidated
@ Iface_Consolidated
Interface that consolidated all types of streams (e.g. RTSP).
Definition
interface.h:24
roc::address::Iface_AudioRepair
@ Iface_AudioRepair
Repair packets of audio stream (e.g. RS8M).
Definition
interface.h:30
roc::address::Iface_Max
@ Iface_Max
Number of interfaces.
Definition
interface.h:36
roc::address::Iface_Invalid
@ Iface_Invalid
Invalid interface.
Definition
interface.h:21
roc::address::interface_to_str
const char * interface_to_str(Interface)
Get string name of the interface.
roc
Root namespace.
roc_address
interface.h
Generated by
1.17.0