UniMRCP  1.7.0
Functions
mrcp_engine_impl.h File Reference

MRCP Engine Realization Interface (typically should be implemented in plugins) More...

#include "mrcp_engine_types.h"
#include "mpf_stream.h"
Include dependency graph for mrcp_engine_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

APT_BEGIN_EXTERN_C mrcp_engine_tmrcp_engine_create (mrcp_resource_id resource_id, void *obj, const mrcp_engine_method_vtable_t *vtable, apr_pool_t *pool)
 
const mrcp_engine_config_tmrcp_engine_config_get (const mrcp_engine_t *engine)
 
const char * mrcp_engine_param_get (const mrcp_engine_t *engine, const char *name)
 
mrcp_engine_channel_tmrcp_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)
 
mpf_termination_tmrcp_engine_audio_termination_create (void *obj, const mpf_audio_stream_vtable_t *stream_vtable, mpf_stream_capabilities_t *capabilities, apr_pool_t *pool)
 
mrcp_engine_channel_tmrcp_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)
 
mrcp_engine_channel_tmrcp_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)
 
const mpf_codec_descriptor_tmrcp_engine_source_stream_codec_get (const mrcp_engine_channel_t *channel)
 
const mpf_codec_descriptor_tmrcp_engine_sink_stream_codec_get (const mrcp_engine_channel_t *channel)
 

Detailed Description

MRCP Engine Realization Interface (typically should be implemented in plugins)

Function Documentation

◆ mrcp_engine_audio_termination_create()

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_create()

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

◆ mrcp_engine_config_get()

const mrcp_engine_config_t* mrcp_engine_config_get ( const mrcp_engine_t engine)

Get engine config

◆ mrcp_engine_create()

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

◆ mrcp_engine_param_get()

const char* mrcp_engine_param_get ( const mrcp_engine_t engine,
const char *  name 
)

Get engine param by name

◆ mrcp_engine_sink_channel_create()

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

Deprecated:
See also
mrcp_engine_channel_create() and mrcp_engine_audio_termination_create()

◆ mrcp_engine_sink_stream_codec_get()

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_source_channel_create()

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

Deprecated:
See also
mrcp_engine_channel_create() and mrcp_engine_audio_termination_create()

◆ mrcp_engine_source_stream_codec_get()

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