-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
architectureenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
A live stream can stop (for whatever reason) either from the Protocol / Input layer, or from the Control layer. This bi-directional cancellation is currently a mess, and there's some hacky code in place to make it work.
Reasons for Cancellation
- Control
- Service / Orchestrator failure (unexpected or expected)
- Control shutdown
- Protocol / Input
- Specific disconnect request
- Network io error
Options
It seems like context may be appropriate for this, however I don't have a ton of experience using it.
Alternatively, depending on the Control architecture, we could use callbacks -- though that's not very "go" like.
Metadata
Metadata
Assignees
Labels
architectureenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers