mrcp_client.h File Reference
MRCP Client.
More...
#include "mrcp_client_types.h"
#include "mpf_rtp_descriptor.h"
#include "apt_task.h"
Go to the source code of this file.
Functions |
mrcp_client_t * | mrcp_client_create (apt_dir_layout_t *dir_layout) |
void | mrcp_client_async_start_set (mrcp_client_t *client, mrcp_client_handler_f handler) |
apt_bool_t | mrcp_client_start (mrcp_client_t *client) |
apt_bool_t | mrcp_client_shutdown (mrcp_client_t *client) |
apt_bool_t | mrcp_client_destroy (mrcp_client_t *client) |
apt_bool_t | mrcp_client_resource_factory_register (mrcp_client_t *client, mrcp_resource_factory_t *resource_factory) |
apt_bool_t | mrcp_client_codec_manager_register (mrcp_client_t *client, mpf_codec_manager_t *codec_manager) |
const mpf_codec_manager_t * | mrcp_client_codec_manager_get (const mrcp_client_t *client) |
apt_bool_t | mrcp_client_media_engine_register (mrcp_client_t *client, mpf_engine_t *media_engine) |
apt_bool_t | mrcp_client_rtp_factory_register (mrcp_client_t *client, mpf_termination_factory_t *rtp_termination_factory, const char *name) |
apt_bool_t | mrcp_client_rtp_settings_register (mrcp_client_t *client, mpf_rtp_settings_t *rtp_settings, const char *name) |
apt_bool_t | mrcp_client_signaling_agent_register (mrcp_client_t *client, mrcp_sig_agent_t *signaling_agent) |
apt_bool_t | mrcp_client_signaling_settings_register (mrcp_client_t *client, mrcp_sig_settings_t *signaling_settings, const char *name) |
apt_bool_t | mrcp_client_connection_agent_register (mrcp_client_t *client, mrcp_connection_agent_t *connection_agent) |
mrcp_profile_t * | mrcp_client_profile_create (mrcp_resource_factory_t *resource_factory, mrcp_sig_agent_t *signaling_agent, mrcp_connection_agent_t *connection_agent, mpf_engine_t *media_engine, mpf_termination_factory_t *rtp_factory, mpf_rtp_settings_t *rtp_settings, mrcp_sig_settings_t *signaling_settings, apr_pool_t *pool) |
apt_bool_t | mrcp_client_profile_register (mrcp_client_t *client, mrcp_profile_t *profile, const char *name) |
apt_bool_t | mrcp_client_application_register (mrcp_client_t *client, mrcp_application_t *application, const char *name) |
apr_pool_t * | mrcp_client_memory_pool_get (const mrcp_client_t *client) |
mpf_engine_t * | mrcp_client_media_engine_get (const mrcp_client_t *client, const char *name) |
mpf_termination_factory_t * | mrcp_client_rtp_factory_get (const mrcp_client_t *client, const char *name) |
mpf_rtp_settings_t * | mrcp_client_rtp_settings_get (const mrcp_client_t *client, const char *name) |
mrcp_sig_agent_t * | mrcp_client_signaling_agent_get (const mrcp_client_t *client, const char *name) |
mrcp_sig_settings_t * | mrcp_client_signaling_settings_get (const mrcp_client_t *client, const char *name) |
mrcp_connection_agent_t * | mrcp_client_connection_agent_get (const mrcp_client_t *client, const char *name) |
mrcp_profile_t * | mrcp_client_profile_get (const mrcp_client_t *client, const char *name) |
apt_dir_layout_t * | mrcp_client_dir_layout_get (const mrcp_client_t *client) |
Variables |
APT_BEGIN_EXTERN_C typedef void(* | mrcp_client_handler_f )(apt_bool_t status) |
Detailed Description
MRCP Client.
Function Documentation
Register MRCP application.
- Parameters:
-
| client | the MRCP client to set application for |
| application | the application to set |
| name | the name of the application |
Set asynchronous start mode.
- Parameters:
-
| client | the MRCP client to set mode for |
| handler | the event handler to signal start completion |
Get registered codec manager.
- Parameters:
-
| client | the MRCP client to get codec manager from |
Register codec manager.
- Parameters:
-
| client | the MRCP client to set codec manager for |
| codec_manager | the codec manager to set |
Get connection agent by name.
- Parameters:
-
| client | the MRCP client to get from |
| name | the name to lookup |
Register MRCP connection agent (MRCPv2 only).
- Parameters:
-
| client | the MRCP client to set connection agent for |
| connection_agent | the connection agent to set |
Create MRCP client instance.
- Returns:
- the created client instance
Destroy MRCP client.
- Parameters:
-
| client | the MRCP client to destroy |
Get directory layout.
- Parameters:
-
| client | the MRCP client to get from |
Get media engine by name.
- Parameters:
-
| client | the MRCP client to get media engine from |
| name | the name of the media engine to lookup |
Register media engine.
- Parameters:
-
| client | the MRCP client to set media engine for |
| media_engine | the media engine to set |
apr_pool_t* mrcp_client_memory_pool_get |
( |
const mrcp_client_t * |
client |
) |
|
Get memory pool.
- Parameters:
-
| client | the MRCP client to get memory pool from |
Get profile by name.
- Parameters:
-
| client | the MRCP client to get from |
| name | the name to lookup |
Register MRCP profile.
- Parameters:
-
| client | the MRCP client to set profile for |
| profile | the profile to set |
| name | the name of the profile |
Register MRCP resource factory.
- Parameters:
-
| client | the MRCP client to set resource factory for |
| resource_factory | the resource factory to set |
Get RTP termination factory by name.
- Parameters:
-
| client | the MRCP client to get from |
| name | the name to lookup |
Register RTP termination factory.
- Parameters:
-
| client | the MRCP client to set termination factory for |
| rtp_termination_factory | the termination factory |
| name | the name of the factory |
Get RTP settings by name
- Parameters:
-
| client | the MRCP client to get from |
| name | the name to lookup |
Register RTP settings.
- Parameters:
-
| client | the MRCP client to set RTP settings for |
| rtp_settings | the settings to set |
| name | the name of the settings |
Shutdown message processing loop.
- Parameters:
-
| client | the MRCP client to shutdown |
Get signaling agent by name.
- Parameters:
-
| client | the MRCP client to get from |
| name | the name to lookup |
Register MRCP signaling agent.
- Parameters:
-
| client | the MRCP client to set signaling agent for |
| signaling_agent | the signaling agent to set |
Get signaling settings by name.
- Parameters:
-
| client | the MRCP client to get from |
| name | the name to lookup |
Register MRCP signaling settings.
- Parameters:
-
| client | the MRCP client to set signaling settings for |
| signaling_settings | the signaling settings to set |
| name | the name of the agent |
Start message processing loop.
- Parameters:
-
| client | the MRCP client to start |
- Returns:
- the created client instance
Variable Documentation
Event handler used in case of asynchronous start