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

Input routing API for Input Setup Wizard #21014

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

patrickmann
Copy link
Contributor

@patrickmann patrickmann commented Nov 21, 2024

/nocl part of new feature
#relates to #20568

Description

Adds a new endpoint to PipelineResource: PUT system/pipelines/pipeline/routing
The request body consists of

{
"stream_id": string,
"input_id": "string,
"remove_from_default": boolean
}

A new routing rule is added to stage 0 of the routing pipeline gl_input_routing_pipeline.

  • If the pipeline doesn't exist, it is created.
  • If the rule already exists, we use the existing one
  • If the rule is already included in the pipeline, we do nothing
  • User may add more rules and/or stages - we ignore these (when adding routing rules)

@patrickmann patrickmann marked this pull request as ready for review November 21, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant