Asterisk - The Open Source Telephony Project
GIT-master-f36a736
res
stasis
stasis_bridge.h
Go to the documentation of this file.
1
/*
2
* Asterisk -- An open source telephony toolkit.
3
*
4
* Copyright (C) 2014, Digium, Inc.
5
*
6
* Richard Mudgett <rmudgett@digium.com>
7
*
8
* See http://www.asterisk.org for more information about
9
* the Asterisk project. Please do not directly contact
10
* any of the maintainers of this project for assistance;
11
* the project provides a web site, mailing lists and IRC
12
* channels for your use.
13
*
14
* This program is free software, distributed under the terms of
15
* the GNU General Public License Version 2. See the LICENSE file
16
* at the top of the source tree.
17
*/
18
19
/*!
20
* \file
21
* \brief Internal API for the Stasis bridge subclass.
22
*
23
* \author Richard Mudgett <rmudgett@digium.com>
24
*
25
* See Also:
26
* \arg \ref AstCREDITS
27
*/
28
29
#ifndef _ASTERISK_STASIS_BRIDGE_H
30
#define _ASTERISK_STASIS_BRIDGE_H
31
32
#if defined(__cplusplus) || defined(c_plusplus)
33
extern
"C"
{
34
#endif
35
36
/* ------------------------------------------------------------------- */
37
38
/*! Normal capabilities of mixing bridges */
39
#define STASIS_BRIDGE_MIXING_CAPABILITIES \
40
(AST_BRIDGE_CAPABILITY_NATIVE \
41
| AST_BRIDGE_CAPABILITY_1TO1MIX \
42
| AST_BRIDGE_CAPABILITY_MULTIMIX)
43
44
/*!
45
* \internal
46
* \brief Create a new Stasis bridge.
47
* \since 12.5.0
48
*
49
* \param capabilities The capabilities that we require to be used on the bridge
50
* \param flags Flags that will alter the behavior of the bridge
51
* \param name Name given to the bridge by Stasis (optional)
52
* \param id Unique ID given to the bridge by Stasis (optional)
53
* \param video_mode Video mode of the bridge
54
*
55
* \retval a pointer to a new bridge on success
56
* \retval NULL on failure
57
*/
58
struct
ast_bridge
*
bridge_stasis_new
(uint32_t capabilities,
unsigned
int
flags,
const
char
*
name
,
const
char
*
id
,
enum
ast_bridge_video_mode_type
video_mode,
unsigned
int
send_sdp_label);
59
60
/*!
61
* \internal
62
* \brief Initialize the Stasis bridge subclass.
63
* \since 12.5.0
64
*/
65
void
bridge_stasis_init
(
void
);
66
67
/* ------------------------------------------------------------------- */
68
69
#if defined(__cplusplus) || defined(c_plusplus)
70
}
71
#endif
72
73
#endif
/* _ASTERISK_STASIS_BRIDGE_H */
ast_bridge_video_mode_type
ast_bridge_video_mode_type
Video source modes.
Definition:
bridge.h:98
name
static const char name[]
Definition:
format_mp3.c:68
bridge_stasis_new
struct ast_bridge * bridge_stasis_new(uint32_t capabilities, unsigned int flags, const char *name, const char *id, enum ast_bridge_video_mode_type video_mode, unsigned int send_sdp_label)
Definition:
stasis_bridge.c:298
bridge_stasis_init
void bridge_stasis_init(void)
Definition:
stasis_bridge.c:329
ast_bridge
Structure that contains information about a bridge.
Definition:
bridge.h:349
Generated on Wed Dec 25 2024 20:04:22 for Asterisk - The Open Source Telephony Project by
1.9.4