MRCP Engine Realization Interface (typically should be implemented in plugins). More...
#include "mrcp_engine_types.h"
#include "mpf_stream.h"
Go to the source code of this file.
MRCP Engine Realization Interface (typically should be implemented in plugins).
mpf_termination_t* mrcp_engine_audio_termination_create | ( | void * | obj, | |
const mpf_audio_stream_vtable_t * | stream_vtable, | |||
mpf_stream_capabilities_t * | capabilities, | |||
apr_pool_t * | pool | |||
) |
Create audio termination
mrcp_engine_channel_t* mrcp_engine_channel_create | ( | mrcp_engine_t * | engine, | |
const mrcp_engine_channel_method_vtable_t * | method_vtable, | |||
void * | method_obj, | |||
mpf_termination_t * | termination, | |||
apr_pool_t * | pool | |||
) |
Create engine channel
const mrcp_engine_config_t* mrcp_engine_config_get | ( | const mrcp_engine_t * | engine | ) |
Get engine config
APT_BEGIN_EXTERN_C mrcp_engine_t* mrcp_engine_create | ( | mrcp_resource_id | resource_id, | |
void * | obj, | |||
const mrcp_engine_method_vtable_t * | vtable, | |||
apr_pool_t * | pool | |||
) |
Create engine
const char* mrcp_engine_param_get | ( | const mrcp_engine_t * | engine, | |
const char * | name | |||
) |
Get engine param by name
mrcp_engine_channel_t* mrcp_engine_sink_channel_create | ( | mrcp_engine_t * | engine, | |
const mrcp_engine_channel_method_vtable_t * | channel_vtable, | |||
const mpf_audio_stream_vtable_t * | stream_vtable, | |||
void * | method_obj, | |||
mpf_codec_descriptor_t * | codec_descriptor, | |||
apr_pool_t * | pool | |||
) |
Create engine channel and sink media termination
const mpf_codec_descriptor_t* mrcp_engine_sink_stream_codec_get | ( | const mrcp_engine_channel_t * | channel | ) |
Get codec descriptor of the audio sink stream
mrcp_engine_channel_t* mrcp_engine_source_channel_create | ( | mrcp_engine_t * | engine, | |
const mrcp_engine_channel_method_vtable_t * | channel_vtable, | |||
const mpf_audio_stream_vtable_t * | stream_vtable, | |||
void * | method_obj, | |||
mpf_codec_descriptor_t * | codec_descriptor, | |||
apr_pool_t * | pool | |||
) |
Create engine channel and source media termination
const mpf_codec_descriptor_t* mrcp_engine_source_stream_codec_get | ( | const mrcp_engine_channel_t * | channel | ) |
Get codec descriptor of the audio source stream