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:49:32 -0500 |
commit | 7a831969855c3117fa086a9ece9165e04cd1b2d4 (patch) | |
tree | 3fffd1836dccf9d064a3947c272a09f212afc4c6 /res/res_stasis.c | |
parent | cb30963d222cb1e12af9bbf8dfed58001c9fcaf4 (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
Diffstat (limited to 'res/res_stasis.c')
-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 1183f67b8..b7599ec04 100644 --- a/res/res_stasis.c +++ b/res/res_stasis.c @@ -798,6 +798,7 @@ struct ast_bridge *stasis_app_bridge_create(const char *type, const char *name, 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; |