Skip to content

Commit 67e7ffe

Browse files
committed
test(aws): mirror HLS player requests
1 parent 69013a0 commit 67e7ffe

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

scripts/smoke-aws-public.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,19 +259,15 @@ try {
259259
const initReference = renditionBody.match(/^#EXT-X-MAP:URI="([^"]+)"/m)?.[1];
260260
if (!initReference) throw new Error("signed CloudFront rendition playlist omitted its init file");
261261
const initUrl = assetArtifactUrl(initReference, renditionUrl, "HLS init URL");
262-
await signedArtifact(initUrl, cookies, "signed CloudFront HLS init file", {
263-
range: "bytes=0-65535",
264-
});
262+
await signedArtifact(initUrl, cookies, "signed CloudFront HLS init file");
265263

266264
const segmentReference = manifestReference(
267265
renditionBody,
268266
"signed CloudFront rendition playlist",
269267
(line) => line.endsWith(".m4s") || line.endsWith(".ts"),
270268
);
271269
const segmentUrl = assetArtifactUrl(segmentReference, renditionUrl, "HLS segment URL");
272-
await signedArtifact(segmentUrl, cookies, "signed CloudFront HLS media segment", {
273-
range: "bytes=0-65535",
274-
});
270+
await signedArtifact(segmentUrl, cookies, "signed CloudFront HLS media segment");
275271

276272
const artifactUrls = [openerUrl, manifestUrl, renditionUrl, initUrl, segmentUrl];
277273

0 commit comments

Comments
 (0)