MRCP Connection. More...
#include <apr_poll.h>
#include <apr_hash.h>
#include "apt_obj_list.h"
#include "mrcp_connection_types.h"
#include "mrcp_stream.h"
Go to the source code of this file.
Data Structures | |
struct | mrcp_connection_t |
Defines | |
#define | MRCP_STREAM_BUFFER_SIZE 1024 |
Functions | |
mrcp_connection_t * | mrcp_connection_create () |
void | mrcp_connection_destroy (mrcp_connection_t *connection) |
apt_bool_t | mrcp_connection_channel_add (mrcp_connection_t *connection, mrcp_control_channel_t *channel) |
mrcp_control_channel_t * | mrcp_connection_channel_find (const mrcp_connection_t *connection, const apt_str_t *identifier) |
apt_bool_t | mrcp_connection_channel_remove (mrcp_connection_t *connection, mrcp_control_channel_t *channel) |
apt_bool_t | mrcp_connection_disconnect_raise (mrcp_connection_t *connection, const mrcp_connection_event_vtable_t *vtable) |
MRCP Connection.
#define MRCP_STREAM_BUFFER_SIZE 1024 |
Size of the buffer used for MRCP rx/tx stream
apt_bool_t mrcp_connection_channel_add | ( | mrcp_connection_t * | connection, | |
mrcp_control_channel_t * | channel | |||
) |
Add Control Channel to MRCP connection.
mrcp_control_channel_t* mrcp_connection_channel_find | ( | const mrcp_connection_t * | connection, | |
const apt_str_t * | identifier | |||
) |
Find Control Channel by Channel Identifier.
apt_bool_t mrcp_connection_channel_remove | ( | mrcp_connection_t * | connection, | |
mrcp_control_channel_t * | channel | |||
) |
Remove Control Channel from MRCP connection.
mrcp_connection_t* mrcp_connection_create | ( | ) |
Create MRCP connection.
void mrcp_connection_destroy | ( | mrcp_connection_t * | connection | ) |
Destroy MRCP connection.
apt_bool_t mrcp_connection_disconnect_raise | ( | mrcp_connection_t * | connection, | |
const mrcp_connection_event_vtable_t * | vtable | |||
) |
Raise disconnect event for each channel from the specified connection.