Feature Request: Option to Submit a List of Bitrates to Corrupt on Target Segment
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