Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
media_type.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 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_sdp/media_type.h
10
//! @brief SDP media description type.
11
12
#ifndef ROC_SDP_MEDIA_TYPE_H_
13
#define ROC_SDP_MEDIA_TYPE_H_
14
15
namespace
roc
{
16
namespace
sdp {
17
18
//! Media type.
19
enum
MediaType
{
20
//! Media type is not set.
21
MediaType_None
,
22
23
//! audio.
24
MediaType_Audio
,
25
26
//! video.
27
MediaType_Video
,
28
29
//! text.
30
MediaType_Text
,
31
32
//! application.
33
MediaType_Application
34
};
35
36
}
// namespace sdp
37
}
// namespace roc
38
39
#endif
// ROC_SDP_MEDIA_TYPE_H_
roc::sdp::MediaType
MediaType
Media type.
Definition:
media_type.h:19
roc::sdp::MediaType_Application
@ MediaType_Application
application.
Definition:
media_type.h:33
roc::sdp::MediaType_None
@ MediaType_None
Media type is not set.
Definition:
media_type.h:21
roc::sdp::MediaType_Audio
@ MediaType_Audio
audio.
Definition:
media_type.h:24
roc::sdp::MediaType_Text
@ MediaType_Text
text.
Definition:
media_type.h:30
roc::sdp::MediaType_Video
@ MediaType_Video
video.
Definition:
media_type.h:27
roc
Root namespace.
roc_sdp
media_type.h
Generated by
1.9.1