We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2745ef commit 0978ecbCopy full SHA for 0978ecb
packages/p2p-media-loader-core/src/http-loader.ts
@@ -151,9 +151,8 @@ export class HttpRequestExecutor {
151
: undefined;
152
if (contentRange) {
153
const { from, to } = contentRange;
154
- const totalBytes = to !== undefined && from !== undefined
155
- ? to - from + 1
156
- : undefined
+ const responseExpectedBytesLength =
+ to !== undefined && from !== undefined ? to - from + 1 : undefined;
157
158
if (
159
(totalBytes !== undefined && this.request.totalBytes !== totalBytes) ||
0 commit comments