Upgrade RTMP dependency and remove jcenter()
PiperOrigin-RevId: 405375352
This commit is contained in:
parent
a42d9f36b1
commit
2dc7ac3851
@ -24,6 +24,7 @@
|
||||
`Player.removeListener(EventListener)` out of `Player` into subclasses.
|
||||
* Fix `mediaMetadata` being reset when media is repeated
|
||||
([#9458](https://github.com/google/ExoPlayer/issues/9458)).
|
||||
* Remove final dependency on `jcenter()`.
|
||||
* Video:
|
||||
* Fix bug in `MediaCodecVideoRenderer` that resulted in re-using a
|
||||
released `Surface` when playing without an app-provided `Surface`
|
||||
@ -77,6 +78,9 @@
|
||||
* Populate `Format.sampleMimeType`, `width` and `height` for image
|
||||
`AdaptationSet` elements
|
||||
([#9500](https://github.com/google/ExoPlayer/issues/9500)).
|
||||
* RTMP extension:
|
||||
* Upgrade to `io.antmedia:rtmp_client`, which does not rely on `jcenter()`
|
||||
([#9591](https://github.com/google/ExoPlayer/issues/9591)).
|
||||
* Remove deprecated symbols:
|
||||
* Remove `Renderer.VIDEO_SCALING_MODE_*` constants. Use identically named
|
||||
constants in `C` instead.
|
||||
|
@ -16,7 +16,7 @@ apply from: "$gradle.ext.exoplayerSettingsDir/common_library_config.gradle"
|
||||
dependencies {
|
||||
implementation project(modulePrefix + 'library-common')
|
||||
implementation project(modulePrefix + 'library-datasource')
|
||||
implementation 'net.butterflytv.utils:rtmp-client:3.1.0'
|
||||
implementation 'io.antmedia:rtmp-client:3.2.0'
|
||||
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||
compileOnly 'org.jetbrains.kotlin:kotlin-annotations-jvm:' + kotlinAnnotationsVersion
|
||||
testImplementation project(modulePrefix + 'library-core')
|
||||
|
@ -25,9 +25,9 @@ import com.google.android.exoplayer2.upstream.BaseDataSource;
|
||||
import com.google.android.exoplayer2.upstream.DataSource;
|
||||
import com.google.android.exoplayer2.upstream.DataSpec;
|
||||
import com.google.android.exoplayer2.upstream.TransferListener;
|
||||
import io.antmedia.rtmp_client.RtmpClient;
|
||||
import io.antmedia.rtmp_client.RtmpClient.RtmpIOException;
|
||||
import java.io.IOException;
|
||||
import net.butterflytv.rtmp_client.RtmpClient;
|
||||
import net.butterflytv.rtmp_client.RtmpClient.RtmpIOException;
|
||||
|
||||
/** A Real-Time Messaging Protocol (RTMP) {@link DataSource}. */
|
||||
public final class RtmpDataSource extends BaseDataSource {
|
||||
|
Loading…
x
Reference in New Issue
Block a user