OpenTok C SDK
|
Media utility functions. More...
#include "config.h"
Go to the source code of this file.
Data Structures | |
struct | otc_media_utils_codecs |
Typedefs | |
typedef enum otc_video_codec_type | otc_video_codec_type |
Enumerations | |
enum | otc_video_codec_type { OTC_VIDEO_CODEC_VP8 = 1, OTC_VIDEO_CODEC_H264 = 2, OTC_VIDEO_CODEC_VP9 = 3 } |
Functions | |
otc_status | otc_media_utils_get_supported_codecs (otc_media_utils_codecs **supported_codecs) |
otc_status | otc_media_utils_codecs_delete (otc_media_utils_codecs *supported_codecs) |
Media utility functions.
This file includes an otc_media_utils_get_supported_codecs(otc_media_utils_codecs** supported_codecs) function, which you can use to find the video codecs supported on the device.
typedef enum otc_video_codec_type otc_video_codec_type |
Video codec type type definition.
enum otc_video_codec_type |
otc_status otc_media_utils_codecs_delete | ( | otc_media_utils_codecs * | supported_codecs | ) |
Deletes an otc_media_utils_codecs instance.
supported_codecs | The otc_media_utils_codecs instance to be deleted. |
otc_status otc_media_utils_get_supported_codecs | ( | otc_media_utils_codecs ** | supported_codecs | ) |
Updates a otc_media_utils_codecs struct with the media codecs that are available on the device.
supported_codecs | Output parameter for a structure representing the media codecs available on the device. The developer is responsible for releasing the memory allocated after using it. |