Skip to content
Snippets Groups Projects
  • Matt Jordan's avatar
    a72ef381
    res/ari/resource_bridges: Add the ability to manipulate the video source · a72ef381
    Matt Jordan authored
    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
    a72ef381
    History
    res/ari/resource_bridges: Add the ability to manipulate the video source
    Matt Jordan authored
    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