Skip to content

Commit

Permalink
fix(DASH): Clone EventStream nodes to reduce memory consumption (#7285)
Browse files Browse the repository at this point in the history
Fixes #7148
  • Loading branch information
tykus160 authored Sep 11, 2024
1 parent c9998f9 commit 0023acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dash/dash_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3014,7 +3014,7 @@ shaka.dash.DashParser = class {
endTime: endTime,
id: eventNode.attributes['id'] || '',
eventElement: TXml.txmlNodeToDomElement(eventNode),
eventNode: eventNode,
eventNode: TXml.cloneNode(eventNode),
};

this.playerInterface_.onTimelineRegionAdded(region);
Expand Down

0 comments on commit 0023acc

Please sign in to comment.