Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2dc7ac38
authored
Oct 25, 2021
by
olly
Committed by
Oliver Woodman
Oct 25, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Upgrade RTMP dependency and remove jcenter()
PiperOrigin-RevId: 405375352
parent
a42d9f36
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
RELEASENOTES.md
extensions/rtmp/build.gradle
extensions/rtmp/src/main/java/com/google/android/exoplayer2/ext/rtmp/RtmpDataSource.java
RELEASENOTES.md
View file @
2dc7ac38
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
`Player.removeListener(EventListener)`
out of
`Player`
into subclasses.
`Player.removeListener(EventListener)`
out of
`Player`
into subclasses.
*
Fix
`mediaMetadata`
being reset when media is repeated
*
Fix
`mediaMetadata`
being reset when media is repeated
(
[
#9458
](
https://github.com/google/ExoPlayer/issues/9458
)
).
(
[
#9458
](
https://github.com/google/ExoPlayer/issues/9458
)
).
*
Remove final dependency on
`jcenter()`
.
*
Video:
*
Video:
*
Fix bug in
`MediaCodecVideoRenderer`
that resulted in re-using a
*
Fix bug in
`MediaCodecVideoRenderer`
that resulted in re-using a
released
`Surface`
when playing without an app-provided
`Surface`
released
`Surface`
when playing without an app-provided
`Surface`
...
@@ -77,6 +78,9 @@
...
@@ -77,6 +78,9 @@
*
Populate
`Format.sampleMimeType`
,
`width`
and
`height`
for image
*
Populate
`Format.sampleMimeType`
,
`width`
and
`height`
for image
`AdaptationSet`
elements
`AdaptationSet`
elements
(
[
#9500
](
https://github.com/google/ExoPlayer/issues/9500
)
).
(
[
#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 deprecated symbols:
*
Remove
`Renderer.VIDEO_SCALING_MODE_*`
constants. Use identically named
*
Remove
`Renderer.VIDEO_SCALING_MODE_*`
constants. Use identically named
constants in
`C`
instead.
constants in
`C`
instead.
...
...
extensions/rtmp/build.gradle
View file @
2dc7ac38
...
@@ -16,7 +16,7 @@ apply from: "$gradle.ext.exoplayerSettingsDir/common_library_config.gradle"
...
@@ -16,7 +16,7 @@ apply from: "$gradle.ext.exoplayerSettingsDir/common_library_config.gradle"
dependencies
{
dependencies
{
implementation
project
(
modulePrefix
+
'library-common'
)
implementation
project
(
modulePrefix
+
'library-common'
)
implementation
project
(
modulePrefix
+
'library-datasource'
)
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
implementation
'androidx.annotation:annotation:'
+
androidxAnnotationVersion
compileOnly
'org.jetbrains.kotlin:kotlin-annotations-jvm:'
+
kotlinAnnotationsVersion
compileOnly
'org.jetbrains.kotlin:kotlin-annotations-jvm:'
+
kotlinAnnotationsVersion
testImplementation
project
(
modulePrefix
+
'library-core'
)
testImplementation
project
(
modulePrefix
+
'library-core'
)
...
...
extensions/rtmp/src/main/java/com/google/android/exoplayer2/ext/rtmp/RtmpDataSource.java
View file @
2dc7ac38
...
@@ -25,9 +25,9 @@ import com.google.android.exoplayer2.upstream.BaseDataSource;
...
@@ -25,9 +25,9 @@ import com.google.android.exoplayer2.upstream.BaseDataSource;
import
com.google.android.exoplayer2.upstream.DataSource
;
import
com.google.android.exoplayer2.upstream.DataSource
;
import
com.google.android.exoplayer2.upstream.DataSpec
;
import
com.google.android.exoplayer2.upstream.DataSpec
;
import
com.google.android.exoplayer2.upstream.TransferListener
;
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
java.io.IOException
;
import
net.butterflytv.rtmp_client.RtmpClient
;
import
net.butterflytv.rtmp_client.RtmpClient.RtmpIOException
;
/** A Real-Time Messaging Protocol (RTMP) {@link DataSource}. */
/** A Real-Time Messaging Protocol (RTMP) {@link DataSource}. */
public
final
class
RtmpDataSource
extends
BaseDataSource
{
public
final
class
RtmpDataSource
extends
BaseDataSource
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment