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

Feature Request: Option to Submit a List of Bitrates to Corrupt on Target Segment #59

Closed
Nfrederiksen opened this issue Feb 16, 2024 · 0 comments · Fixed by #68
Closed
Assignees
Labels
enhancement New feature or request

Comments

@Nfrederiksen
Copy link
Contributor

Currently, when configuring corruption on a bitrate level in Chaos Stream Proxy, each bitrate requires a separate configuration item. For example:

https://<chaos-proxy>/api/v2/manifests/hls/proxy-master.m3u8?url=https://maitv-vod.lab.eyevinn.technology/VINN.mp4/master.m3u8&delay=[{i:5,ms:1500}]&statusCode=[{i:5,code:400,br:1212000}, {i:5,code:400,br:3131000}]

It makes sense to require multiple corruption items when you want to target multiple segments. But if I want to target the same segment, creating multiple items only to change the br value seems a bit tedious.
I would like to request an improvement that allows specifying multiple bitrates within a single configuration item if you want it to apply to the same target segment. This would enhance the user experience and simplify the configuration process. The desired format would be:

https://<chaos-proxy>/api/v2/manifests/hls/proxy-master.m3u8?url=https://maitv-vod.lab.eyevinn.technology/VINN.mp4/master.m3u8&delay=[{i:5,ms:1500}]&statusCode=[{i:5,code:400,br:[1212000,3131000]}]

By enabling the ability to provide a list of bitrates for a single configuration item, users can target multiple bitrates more efficiently and with cleaner configuration syntax. This enhancement would streamline the configuration process and improve the usability of Chaos Stream Proxy for users managing multiple bitrates simultaneously.

So the new type would be

    br?: number | number[] | "*", // apply only to specific bitrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants