Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add videosource endpoints from Asterisk 14.2 #113

Open
chadxz opened this issue Apr 19, 2019 · 2 comments
Open

add videosource endpoints from Asterisk 14.2 #113

chadxz opened this issue Apr 19, 2019 · 2 comments
Labels
enhancement help wanted semver-minor Contains backward-compatible features

Comments

@chadxz
Copy link
Owner

chadxz commented Apr 19, 2019

The bridges resource now exposes two new operations:

  • POST /bridges/{bridgeId}/videoSource/{channelId}: Set a video source in a
    multi-party mixing bridge
  • DELETE /bridges/{bridgeId}/videoSource: Remove the set video source,
    reverting to talk detection for the video source

https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Bridges+REST+API#Asterisk16BridgesRESTAPI-setVideoSource
https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Bridges+REST+API#Asterisk16BridgesRESTAPI-clearVideoSource

@chadxz
Copy link
Owner Author

chadxz commented Apr 19, 2019

Also add the following fields to Bridge type:

video_mode: string (optional) - The video mode the bridge is using. One of 'none', 'talker', or 'single'.
video_source_id: string (optional) - The ID of the channel that is the source of video in this bridge, if one exists.

@chadxz
Copy link
Owner Author

chadxz commented Apr 19, 2019

Also add BridgeVideoSourceChanged type

A new event, BridgeVideoSourceChanged, has been added for bridges.
Applications subscribed to a bridge will receive this event when the source
of video changes in a mixing bridge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted semver-minor Contains backward-compatible features
Projects
None yet
Development

No branches or pull requests

1 participant