Skip to content

Commit

Permalink
Fix CommonMediaResponse resourceTiming.encodedBodySize (#4364)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbert committed Jan 19, 2024
1 parent 262b536 commit f7d9f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streaming/net/HTTPLoader.js
Expand Up @@ -495,7 +495,7 @@ function HTTPLoader(cfg) {
// Use Resource Timing info when available for CommonMediaResponse
if (resource) {
httpResponse.resourceTiming.startTime = resource.startTime;
httpResponse.resourceTiming.encodedBodySize = resource.startTime;
httpResponse.resourceTiming.encodedBodySize = resource.encodedBodySize;
httpResponse.resourceTiming.responseStart = resource.startTime;
httpResponse.resourceTiming.responseEnd = resource.responseEnd;
httpResponse.resourceTiming.duration = resource.duration;
Expand Down

0 comments on commit f7d9f70

Please sign in to comment.