Skip to content

Commit

Permalink
Init mux call
Browse files Browse the repository at this point in the history
  • Loading branch information
armands-malejevs committed May 18, 2023
1 parent da4d301 commit 07b9d3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ dependencies {
// Mux
api 'com.mux.stats.sdk.muxstats:MuxExoPlayer_r2_18_1:3.4.0'

compileOnly 'org.checkerframework:checker-qual:3.13.0'
compileOnly 'org.checkerframework:checker-qual:3.12.0'

// All support libs must use the same version
implementation "androidx.annotation:annotation:1.1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,8 @@ private void initializePlayerSource(ReactExoplayerView self, DrmSessionManager d
ArrayList<MediaSource> mediaSourceList = buildTextSources();
MediaSource videoSource = buildMediaSource(self.srcUri, self.extension, drmSessionManager);

self.initializeMuxData(self);

videoSource.addEventListener(this.mainHandler, this.mediaSourceEventListener);

MediaSource mediaSource;
Expand Down

0 comments on commit 07b9d3d

Please sign in to comment.