diff options
author | Matt Jordan <mjordan@digium.com> | 2016-11-04 15:40:58 -0500 |
---|---|---|
committer | Matt Jordan <mjordan@digium.com> | 2016-11-04 15:51:03 -0500 |
commit | 7a449b6819e8a0cdb63f7b587591d56573464fae (patch) | |
tree | f51d2fc84c3b3755ba1c65f65ca843b51be2e5ac | |
parent | bf01ff53f8d93d637981720331405e56f0b3b118 (diff) |
res_stasis: Set a video source mode on Stasis created bridges
When a bridge is created via ARI (through res_stasis), no video source
mode is set by default. As a result, any endpoint sending video media
won't ever see any video reflected back to it.
This patch defaults a bridge to a 'follow the talker' video mode.
Further work can be done to add routes that allow for the video mode to
be controlled through the /bridges resource.
Change-Id: I7e9d530a5d7a97a4524a9ee4e468e1a6b3443866
-rw-r--r-- | res/res_stasis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_stasis.c b/res/res_stasis.c index f3d940e2d..54f65150e 100644 --- a/res/res_stasis.c +++ b/res/res_stasis.c @@ -800,6 +800,7 @@ static struct ast_bridge *bridge_create_common(const char *type, const char *nam bridge = bridge_stasis_new(capabilities, flags, name, id); if (bridge) { + ast_bridge_set_talker_src_video_mode(bridge); if (!ao2_link(app_bridges, bridge)) { ast_bridge_destroy(bridge, 0); bridge = NULL; |