Skip to content

Commit

Permalink
chore: addressed PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zapfire88 committed Feb 22, 2024
1 parent 80ce887 commit 404509c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/manifests/handlers/dash/segment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export default async function dashSegmentHandler(
const urlSearchParams = new URLSearchParams(event.queryStringParameters);
const pathStem = path.basename(event.path).replace('.mp4', '');
// Get the number part after "segment_"
// eslint-disable-next-line prefer-const
const [, reqSegmentIndexOrTimeStr, bitrateStr, ...representationIdStrList] =
pathStem.split('_');
const representationIdStr = representationIdStrList.join('_');
Expand Down

0 comments on commit 404509c

Please sign in to comment.