Skip to content

Commit

Permalink
Switch to MuxStatsExoPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
armands-malejevs committed May 19, 2023
1 parent d09ad10 commit 15ae366
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1013,20 +1013,22 @@ private void initializeMuxData(ReactExoplayerView self) {
CustomOptions customOptions = new CustomOptions();

// Initialize Mux stats
self.muxStats = monitorWithMuxData(
/*self.muxStats = monitorWithMuxData(
self.player,
self.themedReactContext,
self.muxOptions.getString("env_key"),
self.exoPlayerView,
self.muxCustomerVideoData,
customOptions
);
/*self.muxStats = new MuxStatsExoPlayer(
);*/
self.muxStats = new MuxStatsExoPlayer(
self.themedReactContext,
self.muxOptions.getString("env_key"),
self.player,
self.muxCustomerVideoData
);*/
self.exoplayerView,
self.muxCustomerVideoData,
customOptions
);
// self.muxStats.setPlayerView(self.exoPlayerView);
self.muxStats.enableMuxCoreDebug(true, false);
}
Expand Down

0 comments on commit 15ae366

Please sign in to comment.