[Asterisk-code-review] res/ari/resource bridges: Add the ability to manipulate the ... (asterisk[14])

Matt Jordan asteriskteam at digium.com
Mon Nov 14 16:00:04 CST 2016


Matt Jordan has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/4428 )

Change subject: res/ari/resource_bridges: Add the ability to manipulate the video source
......................................................................

res/ari/resource_bridges: Add the ability to manipulate the video source

In multi-party bridges, Asterisk currently supports two video modes:
 * Follow the talker, in which the speaker with the most energy is shown
   to all participants but the speaker, and the speaker sees the
   previous video source
 * Explicitly set video sources, in which all participants see a locked
   video source

Prior to this patch, ARI had no ability to manipulate the video source.
This isn't important for two-party bridges, in which Asterisk merely
relays the video between the participants. However, in a multi-party
bridge, it can be advantageous to allow an external application to
manipulate the video source.

This patch provides two new routes to accomplish this:
(1) setVideoSource: POST /bridges/{bridgeId}/videoSource/{channelId}
    Sets a video source to an explicit channel
(2) clearVideoSource: DELETE /bridges/{bridgeId}/videoSource
    Removes any explicit video source, and sets the video mode to talk
    detection

ASTERISK-26595 #close

Change-Id: I98e455d5bffc08ea5e8d6b84ccaf063c714e6621
---
M CHANGES
M doc/appdocsxml.xslt
M include/asterisk/bridge.h
M include/asterisk/stasis_bridges.h
M main/bridge.c
M main/manager_bridges.c
M main/stasis_bridges.c
M res/ari/ari_model_validators.c
M res/ari/ari_model_validators.h
M res/ari/resource_bridges.c
M res/ari/resource_bridges.h
M res/res_ari_bridges.c
M res/stasis/app.c
M rest-api/api-docs/bridges.json
M rest-api/api-docs/events.json
15 files changed, 645 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/4428/2
-- 
To view, visit https://gerrit.asterisk.org/4428
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I98e455d5bffc08ea5e8d6b84ccaf063c714e6621
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-Owner: Matt Jordan <mjordan at digium.com>



More information about the asterisk-code-review mailing list