UniMRCP
1.3.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
modules
mrcp-unirtsp
include
mrcp_unirtsp_server_agent.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-2014 Arsen Chaloyan
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
* $Id: mrcp_unirtsp_server_agent.h 2252 2014-11-21 02:45:15Z achaloyan@gmail.com $
17
*/
18
19
#ifndef MRCP_UNIRTSP_SERVER_AGENT_H
20
#define MRCP_UNIRTSP_SERVER_AGENT_H
21
22
/**
23
* @file mrcp_unirtsp_server_agent.h
24
* @brief Implementation of MRCP Signaling Interface using UniRTSP
25
*/
26
27
#include <apr_network_io.h>
28
#include "
mrcp_sig_agent.h
"
29
30
APT_BEGIN_EXTERN_C
31
32
/** UniRTSP config declaration */
33
typedef
struct
rtsp_server_config_t
rtsp_server_config_t
;
34
35
/** UniRTSP config */
36
struct
rtsp_server_config_t
{
37
/** Local IP address to bind to */
38
char
*
local_ip
;
39
/** Local port to bind to */
40
apr_port_t
local_port
;
41
42
/** Resource location */
43
char
*
resource_location
;
44
/** SDP origin */
45
char
*
origin
;
46
47
/** Map of the MRCP resource names */
48
apr_table_t *
resource_map
;
49
50
/** Number of max RTSP connections */
51
apr_size_t
max_connection_count
;
52
53
/** Force destination IP address. Should be used only in case
54
SDP contains incorrect connection address (local IP address behind NAT) */
55
apt_bool_t
force_destination
;
56
};
57
58
/**
59
* Create UniRTSP signaling agent.
60
*/
61
MRCP_DECLARE
(
mrcp_sig_agent_t
*)
mrcp_unirtsp_server_agent_create
(const
char
*
id
,
rtsp_server_config_t
*config, apr_pool_t *pool);
62
63
/**
64
* Allocate UniRTSP config.
65
*/
66
MRCP_DECLARE
(
rtsp_server_config_t
*)
mrcp_unirtsp_server_config_alloc
(apr_pool_t *pool);
67
68
APT_END_EXTERN_C
69
70
#endif
/* MRCP_UNIRTSP_SERVER_AGENT_H */
Generated on Mon Feb 2 2015 19:41:39 for UniMRCP by
1.8.3.1