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_client_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_client_agent.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17
*/
18
19
#ifndef MRCP_UNIRTSP_CLIENT_AGENT_H
20
#define MRCP_UNIRTSP_CLIENT_AGENT_H
21
22
/**
23
* @file mrcp_unirtsp_client_agent.h
24
* @brief Implementation of MRCP Signaling Interface using UniRTSP
25
*/
26
27
#include <apr_network_io.h>
28
#include "
apt_string.h
"
29
#include "
mrcp_sig_agent.h
"
30
31
APT_BEGIN_EXTERN_C
32
33
/** Declaration of UniRTSP agent config */
34
typedef
struct
rtsp_client_config_t
rtsp_client_config_t
;
35
36
/** Configuration of UniRTSP agent */
37
struct
rtsp_client_config_t
{
38
/** SDP origin */
39
char
*
origin
;
40
/** Number of max RTSP connections */
41
apr_size_t
max_connection_count
;
42
/** Request timeout */
43
apr_size_t
request_timeout
;
44
};
45
46
/**
47
* Create UniRTSP signaling agent.
48
*/
49
MRCP_DECLARE
(
mrcp_sig_agent_t
*)
mrcp_unirtsp_client_agent_create
(const
char
*
id
,
rtsp_client_config_t
*config, apr_pool_t *pool);
50
51
/**
52
* Allocate UniRTSP config.
53
*/
54
MRCP_DECLARE
(
rtsp_client_config_t
*)
mrcp_unirtsp_client_config_alloc
(apr_pool_t *pool);
55
56
57
APT_END_EXTERN_C
58
59
#endif
/* MRCP_UNIRTSP_CLIENT_AGENT_H */
Generated on Mon Feb 2 2015 19:41:39 for UniMRCP by
1.8.3.1