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
3f2eb9d7
authored
Nov 20, 2020
by
sungsoo
Committed by
Ian Baker
Nov 23, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Refactor ComponentListener of PlayerWrapper
PiperOrigin-RevId: 343432873
parent
305ec3b4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
112 deletions
RELEASENOTES.md
extensions/media2/src/androidTest/java/com/google/android/exoplayer2/ext/media2/SessionPlayerConnectorTest.java
extensions/media2/src/main/java/com/google/android/exoplayer2/ext/media2/PlayerWrapper.java
RELEASENOTES.md
View file @
3f2eb9d7
...
@@ -48,6 +48,9 @@
...
@@ -48,6 +48,9 @@
*
Text
*
Text
*
Allow tx3g subtitles with
`styl`
boxes with start and/or end offsets
*
Allow tx3g subtitles with
`styl`
boxes with start and/or end offsets
that lie outside the length of the cue text.
that lie outside the length of the cue text.
*
Media2 extension:
*
Notify onBufferingEnded when the state of origin player becomes
STATE_IDLE or STATE_ENDED.
### 2.12.1 (2020-10-23) ###
### 2.12.1 (2020-10-23) ###
...
...
extensions/media2/src/androidTest/java/com/google/android/exoplayer2/ext/media2/SessionPlayerConnectorTest.java
View file @
3f2eb9d7
...
@@ -826,7 +826,6 @@ public class SessionPlayerConnectorTest {
...
@@ -826,7 +826,6 @@ public class SessionPlayerConnectorTest {
}
}
}
}
});
});
sessionPlayerConnector
.
setPlaylist
(
playlistToSessionPlayer
,
/* metadata= */
null
);
InstrumentationRegistry
.
getInstrumentation
()
InstrumentationRegistry
.
getInstrumentation
()
.
runOnMainSync
(()
->
playerTestRule
.
getSimpleExoPlayer
().
setMediaItems
(
exoMediaItems
));
.
runOnMainSync
(()
->
playerTestRule
.
getSimpleExoPlayer
().
setMediaItems
(
exoMediaItems
));
assertThat
(
onPlaylistChangedLatch
.
await
(
PLAYLIST_CHANGE_WAIT_TIME_MS
,
MILLISECONDS
)).
isTrue
();
assertThat
(
onPlaylistChangedLatch
.
await
(
PLAYLIST_CHANGE_WAIT_TIME_MS
,
MILLISECONDS
)).
isTrue
();
...
...
extensions/media2/src/main/java/com/google/android/exoplayer2/ext/media2/PlayerWrapper.java
View file @
3f2eb9d7
This diff is collapsed.
Click to expand it.
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