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
d67b7034
authored
Nov 20, 2020
by
sungsoo
Committed by
Ian Baker
Nov 20, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Refactor ComponentListener of PlayerWrapper
PiperOrigin-RevId: 343432873
parent
8c817664
Expand all
Show 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 @
d67b7034
...
@@ -80,6 +80,9 @@
...
@@ -80,6 +80,9 @@
that lie outside the length of the cue text.
that lie outside the length of the cue text.
*
Metadata retriever:
*
Metadata retriever:
*
Parse Google Photos HEIC motion photos metadata.
*
Parse Google Photos HEIC motion photos metadata.
*
Media2 extention:
*
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 @
d67b7034
...
@@ -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 @
d67b7034
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