Skip to content

Commit

Permalink
fix: publish stats initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
eswarclynn authored Aug 9, 2023
1 parent c7ab634 commit 25f70f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/hms-video-web/src/transport/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,8 @@ export default class HMSTransport implements ITransport {
this.initConfig?.config.publishStats?.maxSampleWindowSize,
this.initConfig?.config.publishStats?.maxSamplePushInterval,
);

this.getWebrtcInternals()?.start();
}
}

Expand Down
3 changes: 3 additions & 0 deletions scripts/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ async function main() {
target: 'esnext',
tsconfig: 'tsconfig.json',
external,
loader: {
'.png': 'binary',
},
plugins: [
{
name: 'on-rebuild-plugin',
Expand Down

0 comments on commit 25f70f9

Please sign in to comment.