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:
Sungtae Kim
2020-08-30 22:42:06 +02:00
committed by George Joseph
parent a353b76c75
commit af339d0adb
5 changed files with 17 additions and 11 deletions

View File

@@ -30,7 +30,7 @@
"parameters": [
{
"name": "type",
"description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media, video_sfu).",
"description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media, video_sfu, video_single).",
"paramType": "query",
"required": false,
"allowMultiple": false,
@@ -69,7 +69,7 @@
"parameters": [
{
"name": "type",
"description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media, video_sfu) to set.",
"description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media, video_sfu, video_single) to set.",
"paramType": "query",
"required": false,
"allowMultiple": false,
@@ -746,7 +746,7 @@
},
"video_mode": {
"type": "string",
"description": "The video mode the bridge is using. One of 'none', 'talker', or 'single'.",
"description": "The video mode the bridge is using. One of 'none', 'talker', 'sfu', or 'single'.",
"required": false
},
"video_source_id": {