UniMRCP  1.7.0
mrcp_unirtsp_client_agent.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 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 
17 #ifndef MRCP_UNIRTSP_CLIENT_AGENT_H
18 #define MRCP_UNIRTSP_CLIENT_AGENT_H
19 
20 /**
21  * @file mrcp_unirtsp_client_agent.h
22  * @brief Implementation of MRCP Signaling Interface using UniRTSP
23  */
24 
25 #include <apr_network_io.h>
26 #include "apt_string.h"
27 #include "mrcp_sig_agent.h"
28 
30 
31 /** Declaration of UniRTSP agent config */
33 
34 /** Configuration of UniRTSP agent */
36  /** SDP origin */
37  char *origin;
38  /** Number of max RTSP connections */
40  /** Request timeout */
41  apr_size_t request_timeout;
42 };
43 
44 /**
45  * Create UniRTSP signaling agent.
46  */
47 MRCP_DECLARE(mrcp_sig_agent_t*) mrcp_unirtsp_client_agent_create(const char *id, rtsp_client_config_t *config, apr_pool_t *pool);
48 
49 /**
50  * Allocate UniRTSP config.
51  */
53 
54 
56 
57 #endif /* MRCP_UNIRTSP_CLIENT_AGENT_H */
#define MRCP_DECLARE(type)
Definition: mrcp.h:40
mrcp_sig_agent_t * mrcp_unirtsp_client_agent_create(const char *id, rtsp_client_config_t *config, apr_pool_t *pool)
Abstract MRCP Signaling Agent.
#define APT_END_EXTERN_C
Definition: apt.h:38
Definition: mrcp_unirtsp_client_agent.h:35
char * origin
Definition: mrcp_unirtsp_client_agent.h:37
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
apr_size_t request_timeout
Definition: mrcp_unirtsp_client_agent.h:41
Definition: mrcp_sig_agent.h:52
rtsp_client_config_t * mrcp_unirtsp_client_config_alloc(apr_pool_t *pool)
String Representation.
apr_size_t max_connection_count
Definition: mrcp_unirtsp_client_agent.h:39