Skip to content

Commit c01ba46

Browse files
authored
Don't cache redirect for ingest playback (#588)
1 parent 82197c0 commit c01ba46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core-web/src/webrtc/shared.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ export async function getRedirectUrl(
273273
playbackIdPattern,
274274
`$1${REPLACE_PLACEHOLDER}`,
275275
);
276-
cachedRedirectUrl = cachedUrl;
276+
if (!cachedUrl.searchParams.has("ingestpb", "true")) {
277+
cachedRedirectUrl = cachedUrl;
278+
}
277279
}
278280

279281
return parsedUrl;

0 commit comments

Comments
 (0)