mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +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
80a609fcce
commit
aae0904c7d
@@ -792,6 +792,8 @@ static struct ast_bridge *bridge_create_common(const char *type, const char *nam
|
||||
capabilities &= ~AST_BRIDGE_CAPABILITY_NATIVE;
|
||||
} else if (!strcmp(requested_type, "video_sfu")) {
|
||||
video_mode = AST_BRIDGE_VIDEO_MODE_SFU;
|
||||
} else if (!strcmp(requested_type, "video_single")) {
|
||||
video_mode = AST_BRIDGE_VIDEO_MODE_SINGLE_SRC;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user