cordova-plugin-media3 1.1.13 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/src/android/Player.java +1 -1
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<framework src="androidx.media3:media3-exoplayer-hls:1.2.1"/>
|
|
24
24
|
<framework src="androidx.media3:media3-exoplayer-dash:1.2.1"/>
|
|
25
25
|
<framework src="androidx.media3:media3-exoplayer-smoothstreaming:1.2.1"/>
|
|
26
|
-
|
|
26
|
+
<framework src="androidx.media3:media3-ui:1.2.1"/>
|
|
27
27
|
<framework src="androidx.media3:media3-common:1.2.1"/>
|
|
28
28
|
<framework src="androidx.media3:media3-datasource:1.2.1"/>
|
|
29
29
|
<framework src="androidx.media3:media3-extractor:1.2.1"/>
|
package/src/android/Player.java
CHANGED
|
@@ -743,7 +743,7 @@ public class Player {
|
|
|
743
743
|
int format_id = Integer.parseInt(track_id);
|
|
744
744
|
|
|
745
745
|
try {
|
|
746
|
-
if (trackId ==
|
|
746
|
+
if (trackId == format_id) {
|
|
747
747
|
// Found the target track - create selection override
|
|
748
748
|
DefaultTrackSelector.Parameters.Builder parametersBuilder = trackSelector.getParameters()
|
|
749
749
|
.buildUpon()
|