Skip to content

Commit

Permalink
fix: removed console.log and fixed wrong example url in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zapfire88 committed Feb 1, 2024
1 parent 428c892 commit 595dadc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Currently, the Chaos Stream Proxy supports 4 types of corruptions for HLS and MP

To specify the configurations for a particular corruption, you will need to add a stringified JSON object as a query parameter to the proxied URL.
Each corruption has a unique configuration JSON object template. Each object can be used to target one specific segment for corruption.
e.i. `https://<chaos-proxy>/api/v2/manifests/hls/proxy-master.m3u8?url=<some_url>?some_corruption=[{i:0},{i:1},{i:2}, ... ,{i:N}]`
e.i. `https://<chaos-proxy>/api/v2/manifests/hls/proxy-master.m3u8?url=<some_url>&some_corruption=[{i:0},{i:1},{i:2}, ... ,{i:N}]`

Across all corruptions, there are 3 ways to target a segment in a playlist for corruption.

Expand Down
1 change: 0 additions & 1 deletion src/manifests/utils/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export const corruptorConfigUtils = function (
rsq < 0 && playlistSize > 0
? mseqOffset + playlistSize + rsq + 1
: Number(param.rsq) + mseqOffset;
console.log('sq: ' + param.sq + ' | rsq: ' + Number(param.rsq));
delete param.rsq;
}
return param;
Expand Down

0 comments on commit 595dadc

Please sign in to comment.