Media utility functions.
More...
#include "config.h"
Go to the source code of this file.
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.
◆ otc_video_codec_type
Video codec type type definition.
◆ otc_video_codec_type
Video codec type enum.
Enumerator |
---|
OTC_VIDEO_CODEC_VP8 | Video codec type for VP8.
|
OTC_VIDEO_CODEC_H264 | Video codec type for H.264.
|
◆ otc_media_utils_codecs_delete()
Deletes an otc_media_utils_codecs instance.
- Parameters
-
- Returns
- Return value indicating either error or success.
◆ otc_media_utils_get_supported_codecs()
Updates a otc_media_utils_codecs struct with the media codecs that are available on the device.
- Parameters
-
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. |
- Returns
- Return value indicating either error or success.