mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 13:49:18 +00:00
res_stasis.c: Added video_single option for bridge creation
Currently, it was not possible to create bridge with video_mode single. This made hard to put the bridge in a vidoe_single mode. So, added video_single option for Bridge creation using the ARI. This allows create a bridge with video_mode single. ASTERISK-29055 Change-Id: I43e720e5c83fc75fafe10fe22808ae7f055da2ae
This commit is contained in:
committed by
Friendly Automation
parent
7eaae4e7b6
commit
a0d41a27d4
@@ -313,6 +313,8 @@ struct ast_bridge *bridge_stasis_new(uint32_t capabilities, unsigned int flags,
|
||||
* this should rarely be changed but should become configurable in the future.
|
||||
*/
|
||||
ast_bridge_set_video_update_discard(bridge, 5);
|
||||
} else if (video_mode == AST_BRIDGE_VIDEO_MODE_SINGLE_SRC) {
|
||||
ast_bridge_set_single_src_video_mode(bridge, NULL);
|
||||
} else {
|
||||
ast_bridge_set_talker_src_video_mode(bridge);
|
||||
}
|
||||
|
Reference in New Issue
Block a user