Skip to content

Commit 8ff5c40

Browse files
committed
Fix Clappr player stats
1 parent d895290 commit 8ff5c40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

demo/src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ function App() {
141141

142142
const initHlsClapprPlayer = (url: string) => {
143143
const p2pEngine = new HlsJsP2PEngine();
144+
p2pEngine.addEventListener("onSegmentLoaded", onSegmentLoaded);
145+
144146
/* eslint-disable */
145147

146148
const clapprPlayer = new window.Clappr.Player({

0 commit comments

Comments
 (0)