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

Option to close path on no demand like runOnDemand in v1.2.0 and earlier #2699

Open
mrlt8 opened this issue Nov 14, 2023 · 0 comments
Open
Labels
enhancement New feature or request general

Comments

@mrlt8
Copy link
Contributor

mrlt8 commented Nov 14, 2023

Describe the feature

Option to ClosePathOnNoDemand or CloseOnNoDemand. Potentially with a configurable timer CloseOnNoDemandAfter.

In v1.2.0 and earlier, MTX would close a path if runOnDemand was set and there weren't any clients reading, regardless of whether the runOnDemand command started the stream or not. However, this functionality was changed in v1.2.1 and runOnUnDemand will not trigger or close the path if publishing to a path before any clients are reading essentially keeping the path alive until a client starts and stops reading.

@aler9 aler9 added enhancement New feature or request general labels Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request general
Projects
None yet
Development

No branches or pull requests

2 participants