react-native-tpstreams 1.1.13-beta.1 → 1.1.13-beta.2

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.
@@ -3,4 +3,4 @@ Tpstreams_minSdkVersion=24
3
3
  Tpstreams_targetSdkVersion=34
4
4
  Tpstreams_compileSdkVersion=35
5
5
  Tpstreams_ndkVersion=27.1.12297006
6
- Tpstreams_tpstreamsAndroidPlayerVersion=fix~media3_conflicts-SNAPSHOT
6
+ Tpstreams_tpstreamsAndroidPlayerVersion=1.1.11-beta.1
@@ -11,10 +11,7 @@ import com.facebook.react.bridge.WritableMap
11
11
  import com.facebook.react.modules.core.DeviceEventManagerModule
12
12
  import com.tpstreams.player.download.DownloadClient
13
13
  import com.tpstreams.player.download.DownloadItem
14
- import androidx.annotation.OptIn
15
- import androidx.media3.common.util.UnstableApi
16
14
 
17
- @OptIn(UnstableApi::class)
18
15
  class TPStreamsDownloadModule(private val reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext), DownloadClient.Listener {
19
16
 
20
17
  private val downloadClient: DownloadClient by lazy {
@@ -14,10 +14,7 @@ import androidx.media3.common.PlaybackParameters
14
14
  import androidx.media3.common.PlaybackException
15
15
  import android.media.MediaCodec
16
16
  import android.view.View.MeasureSpec
17
- import androidx.annotation.OptIn
18
- import androidx.media3.common.util.UnstableApi
19
17
 
20
- @OptIn(UnstableApi::class)
21
18
  class TPStreamsRNPlayerView(context: ThemedReactContext) : FrameLayout(context) {
22
19
  private val playerView: TPStreamsPlayerView = TPStreamsPlayerView(context)
23
20
  private var player: TPStreamsPlayer? = null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-tpstreams",
3
- "version": "1.1.13-beta.1",
3
+ "version": "1.1.13-beta.2",
4
4
  "description": "Video component for TPStreams",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",