-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support multiple bitrate values in stream proxy filter (#68)
* feat: support multiple bitrate values in stream proxy filter Updated the stream proxy filter to parse both individual bitrate values and arrays of bitrate values for filtering. - Modified the input type `br` in the filter function to accept: - `number`: Individual bitrate values. - `number[]`: Arrays of bitrate values. - `"*"`: A wildcard to match any bitrate. This enhancement allows more flexible filtering based on bitrate specifications. * chore: ran Prettier & Lint to format code * Changed method of checking array Instead of converting it, we now just check if it's an array and then uses .includes()
- Loading branch information
Showing
2 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters