OpenTok C SDK
Loading...
Searching...
No Matches
src
otkit
include
opentok
media_utils.h
Go to the documentation of this file.
1
9
#ifndef MEDIA_UTILS_H
10
#define MEDIA_UTILS_H
11
12
#include "
base.h
"
13
#include "config.h"
14
15
OTC_BEGIN_DECL
16
19
enum
otc_video_codec_type
{
20
OTC_VIDEO_CODEC_UNKNOWN
= 0,
21
OTC_VIDEO_CODEC_VP8
= 1,
22
OTC_VIDEO_CODEC_H264
= 2,
23
OTC_VIDEO_CODEC_VP9
= 3
24
};
25
28
typedef
enum
otc_video_codec_type
otc_video_codec_type
;
29
33
struct
otc_media_utils_codecs
{
34
size_t
number_encoder_video_codecs
;
36
otc_video_codec_type
*
37
encoder_video_codecs
;
39
size_t
number_decoder_video_codecs
;
41
otc_video_codec_type
*
42
decoder_video_codecs
;
44
};
45
50
typedef
struct
otc_media_utils_codecs
otc_media_utils_codecs
;
51
62
OTC_DECL(
otc_status
)
63
otc_media_utils_get_supported_codecs
(
otc_media_utils_codecs
** supported_codecs);
64
71
OTC_DECL(
otc_status
)
72
otc_media_utils_codecs_delete
(
otc_media_utils_codecs
* supported_codecs);
73
74
OTC_END_DECL
75
76
#endif
// MEDIA_UTILS_H
base.h
Base functions.
otc_status
int otc_status
Definition
base.h:262
otc_media_utils_get_supported_codecs
otc_status otc_media_utils_get_supported_codecs(otc_media_utils_codecs **supported_codecs)
otc_video_codec_type
otc_video_codec_type
Definition
media_utils.h:19
OTC_VIDEO_CODEC_VP9
@ OTC_VIDEO_CODEC_VP9
Definition
media_utils.h:23
OTC_VIDEO_CODEC_UNKNOWN
@ OTC_VIDEO_CODEC_UNKNOWN
Definition
media_utils.h:20
OTC_VIDEO_CODEC_H264
@ OTC_VIDEO_CODEC_H264
Definition
media_utils.h:22
OTC_VIDEO_CODEC_VP8
@ OTC_VIDEO_CODEC_VP8
Definition
media_utils.h:21
otc_media_utils_codecs_delete
otc_status otc_media_utils_codecs_delete(otc_media_utils_codecs *supported_codecs)
otc_media_utils_codecs
Definition
media_utils.h:33
otc_media_utils_codecs::decoder_video_codecs
otc_video_codec_type * decoder_video_codecs
Definition
media_utils.h:42
otc_media_utils_codecs::number_decoder_video_codecs
size_t number_decoder_video_codecs
Definition
media_utils.h:39
otc_media_utils_codecs::encoder_video_codecs
otc_video_codec_type * encoder_video_codecs
Definition
media_utils.h:37
otc_media_utils_codecs::number_encoder_video_codecs
size_t number_encoder_video_codecs
Definition
media_utils.h:34
Generated on
for OpenTok C SDK by
1.16.0