UniMRCP  1.7.0
Data Structures | Macros | Functions
mrcp_connection.h File Reference

MRCP Connection. More...

#include <apr_poll.h>
#include <apr_hash.h>
#include <apr_ring.h>
#include "mrcp_connection_types.h"
#include "mrcp_stream.h"
Include dependency graph for mrcp_connection.h:

Go to the source code of this file.

Data Structures

struct  mrcp_connection_t
 

Macros

#define MRCP_STREAM_BUFFER_SIZE   1024
 

Functions

mrcp_connection_tmrcp_connection_create (void)
 
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_tmrcp_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)
 

Detailed Description

MRCP Connection.

Macro Definition Documentation

◆ MRCP_STREAM_BUFFER_SIZE

#define MRCP_STREAM_BUFFER_SIZE   1024

Size of the buffer used for MRCP rx/tx stream

Function Documentation

◆ mrcp_connection_channel_add()

apt_bool_t mrcp_connection_channel_add ( mrcp_connection_t connection,
mrcp_control_channel_t channel 
)

Add Control Channel to MRCP connection.

◆ mrcp_connection_channel_find()

mrcp_control_channel_t* mrcp_connection_channel_find ( const mrcp_connection_t connection,
const apt_str_t identifier 
)

Find Control Channel by Channel Identifier.

◆ mrcp_connection_channel_remove()

apt_bool_t mrcp_connection_channel_remove ( mrcp_connection_t connection,
mrcp_control_channel_t channel 
)

Remove Control Channel from MRCP connection.

◆ mrcp_connection_create()

mrcp_connection_t* mrcp_connection_create ( void  )

Create MRCP connection.

◆ mrcp_connection_destroy()

void mrcp_connection_destroy ( mrcp_connection_t connection)

Destroy MRCP connection.

◆ mrcp_connection_disconnect_raise()

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.