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
Showing
- CHANGES 31 additions, 0 deletionsCHANGES
- doc/appdocsxml.xslt 20 additions, 0 deletionsdoc/appdocsxml.xslt
- include/asterisk/bridge.h 9 additions, 0 deletionsinclude/asterisk/bridge.h
- include/asterisk/stasis_bridges.h 4 additions, 0 deletionsinclude/asterisk/stasis_bridges.h
- main/bridge.c 16 additions, 6 deletionsmain/bridge.c
- main/manager_bridges.c 49 additions, 3 deletionsmain/manager_bridges.c
- main/stasis_bridges.c 26 additions, 3 deletionsmain/stasis_bridges.c
- res/ari/ari_model_validators.c 121 additions, 0 deletionsres/ari/ari_model_validators.c
- res/ari/ari_model_validators.h 27 additions, 0 deletionsres/ari/ari_model_validators.h
- res/ari/resource_bridges.c 66 additions, 0 deletionsres/ari/resource_bridges.c
- res/ari/resource_bridges.h 28 additions, 0 deletionsres/ari/resource_bridges.h
- res/res_ari_bridges.c 144 additions, 2 deletionsres/res_ari_bridges.c
- res/stasis/app.c 7 additions, 0 deletionsres/stasis/app.c
- rest-api/api-docs/bridges.json 82 additions, 0 deletionsrest-api/api-docs/bridges.json
- rest-api/api-docs/events.json 15 additions, 0 deletionsrest-api/api-docs/events.json
Loading
Please register or sign in to comment