Skip to content

Commit

Permalink
chore: addressed PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zapfire88 authored and bwallberg committed Feb 22, 2024
1 parent 79ca519 commit dd46fb9
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 dd46fb9

Please sign in to comment.