https://github.com/google/ExoPlayer

sort by:
Revision Author Date Message Commit Date
e7c60a2 Merge pull request #3493 from google/dev-v2-r2.6.0 r2.6.0 23 November 2017, 17:22:35 UTC
3562fe1 SampleStream fixes 22 November 2017, 20:38:53 UTC
75b9062 Send discontinuity at adjustments after shuffle/repeat mode changes. 22 November 2017, 18:06:14 UTC
56c1c3f Revert "Make ExtractorMediaSource timeline dynamic until duration is set" This reverts commit b688a562508e74721841aaaa770e9dc47bd378dd. 22 November 2017, 17:59:36 UTC
74569bb Don't do work after track selection when in ended state This causes the player to report that it's started loading when in the ended state. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176371892 21 November 2017, 13:57:46 UTC
fa3052d Report additional position discontinuities - Properly report internal discontinuities - Add DISCONTINUITY_REASON_SEEK_ADJUSTMENT to distinguish seek adjustments from other internal discontinuity events ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176367365 21 November 2017, 13:57:16 UTC
b688a56 Make ExtractorMediaSource timeline dynamic until duration is set We (eventually - albeit possibly infinitely far in the future) expect a timeline update with a window of known duration. This also stops live radio stream playbacks transitioning to ended state when their tracks are disabled. As part of this fix, I found an issue where getPeriodPosition could return null even when defaultPositionProjectionUs is 0, which is not as documented. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176492024 21 November 2017, 13:48:27 UTC
d51944f Remove unnecessary dependency ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176487991 21 November 2017, 13:48:18 UTC
60555e2 Improve robustness of ImaAdsLoader Remove an assertion that there was a call to pause content between two content -> ad transitions. Also, only use the player position for resuming an ad on reattaching if the player is currently playing an ad, in case IMA pauses content before the player actually transitions to an ad. Issue: #3430 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176365842 21 November 2017, 13:46:32 UTC
1439b4a Mini cleanup 21 November 2017, 13:46:18 UTC
4942375 Fix initializationData check for SSA subtitles 21 November 2017, 13:46:12 UTC
e469269 Fix some lint issues. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176337058 20 November 2017, 13:48:32 UTC
8940e7b Replace hard coded UUID in OfflineLicenseHelper with a parameter ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176102179 17 November 2017, 19:34:34 UTC
0a8d242 Amend release notes for 2.6.0 release 17 November 2017, 19:34:27 UTC
be06485 Forward ad group and ad index when creating period from concatanted media sources. Also added tests which verify the intended behaviour. GitHub:#3452 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175656478 17 November 2017, 19:32:51 UTC
a361f90 Remove stray TV directory from 2.6.0 release 17 November 2017, 19:31:30 UTC
47a9609 Remove cast extension from 2.6.0 release 17 November 2017, 19:26:55 UTC
4443585 Only set shutter color if attr is declared 13 November 2017, 20:14:46 UTC
427fe66 Add an easy way to set the shutter view background color 13 November 2017, 20:14:41 UTC
a573099 update bravia workaround more precisely 13 November 2017, 20:14:06 UTC
2c49550 add issue link 13 November 2017, 20:14:01 UTC
2c8c14d add bravia workaround to skip using setOutputSurface in MediaCodec 13 November 2017, 20:13:55 UTC
4ac8680 Update 2.6.0 release notes ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175546817 13 November 2017, 20:13:29 UTC
812ecc3 Drop the 'r' from release version. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175543465 13 November 2017, 20:13:23 UTC
6e15d5c Update moe equivalence ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175542973 13 November 2017, 20:13:18 UTC
fbfbe7d Re-enable index file store at the end of the SimpleCache.initialize() In the case converting cache files from an earlier version of SimpleCache, there is no previous version of the index file. If the app doesn't call any SimpleCache methods which would make the index file stored before it exists whole data gets lost. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175153650 13 November 2017, 15:47:30 UTC
1331f7a Add custom callbacks to allows seeks after dynamic playlist modifications. These callbacks are executed on the app thread after the corresponding timeline update was triggered. This ensures that seek operations see the updated timelines and are therefore valid, even if the seek is performed into a window which didn't exist before. GitHub:#3407 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175136187 13 November 2017, 15:47:04 UTC
86c0198 Don't allow cancelation of non-cancelable loads Issue: #3441 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175011804 13 November 2017, 15:46:42 UTC
e1b3fed Add default implementations for ExoMediaDrm.* interfaces ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175010595 13 November 2017, 15:46:30 UTC
681a05d Work around incorrect ClearKey encoding prior to O-MR1 Issue: #3138 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175006223 13 November 2017, 15:46:15 UTC
5222494 Fix DefaultHlsExtractorFactory javadoc Issue:#2748 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174854541 13 November 2017, 15:45:54 UTC
336c697 Update 2.6.0 release notes ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174853112 13 November 2017, 15:45:54 UTC
26366f6 Fix an issue with seeking that can lead to STATE_END not delivered. GitHub: #1897 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174841175 13 November 2017, 15:45:54 UTC
3472eda Be more robust against load callback failures Issue: #2795 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174836960 13 November 2017, 15:45:54 UTC
065091c Use helper method to disable Renderers. Removes duplicated code and starts cleaning up handling of media clocks. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174829840 13 November 2017, 15:45:54 UTC
298a66f Relax parsing of ctts sample deltas Issue: #3384 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174715851 13 November 2017, 15:45:54 UTC
e6e75a5 Don't use InputStream.available in ContentDataSource Issue: #3426 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174700804 13 November 2017, 15:45:54 UTC
585e70c Broaden Samsung workaround to API level 25 + J7 Issue: #3257 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174686747 13 November 2017, 15:45:54 UTC
b7f1368 Simplify ContentDataSourceTest ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174685374 13 November 2017, 15:45:54 UTC
061bcdd Allow playback to continue even after SingleSampleMediaPeriod load errors This prevents users from having to check sideloaded subtitles URLs before preparing a SingleSampleMediaSource with it. Issue:#3140 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174475274 13 November 2017, 15:45:54 UTC
c9ede15 Relax string comparison in DASH parseContentProtection ... by making it case insensitive and null-tolerant for schemeId (as was before adding playlist drm data merging). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174472123 13 November 2017, 15:45:54 UTC
e4a0e97 Remove DownloadManager test 03 November 2017, 16:24:28 UTC
0694669 Bump to 2.6.0 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174467964 03 November 2017, 16:15:31 UTC
2c7d14c Merge remote-tracking branch 'origin/release-v2' into dev-v2 03 November 2017, 15:58:30 UTC
872cfc1 Fix unnecessary CachedContentIndex store() calls First fix, prevents forced rewriting when cipher is set but encrypt is false. Second, removes the store() call in SimpleCache.initialize() so initialization doesn't fail because of CachedContentIndex write issues. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174450586 03 November 2017, 14:17:43 UTC
d90d041 Allow chunk cancelation only if nothing has been consumed from it. The mediaChunks.size() > 1 check was supposed to ensure this, and did roughly the right thing when there was only a single stream (although it was unnecessarily restrictive in preventing chunk cancelation for the first chunk, where bytesLoaded != 0 and none of the samples had been consumed). Now we have multiple streams the check doesn't do the right thing, and adding a back-buffer feature will make even more incorrect. This change switches to checking the condition we actually want to check directly :). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174449398 03 November 2017, 14:16:28 UTC
b6b09ad Automated g4 rollback of changelist 173379623. *** Reason for rollback *** Breaks setting PlaybackParameters before start of playback *** Original change description *** Add support for float output in DefaultAudioSink Also switch from using MIME types to C.ENCODING_* encodings in DefaultAudioSink. *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174445506 03 November 2017, 14:15:06 UTC
321bc9c Simplify DownloadService by removing broadcasting Client can add this functionality by extending DownloadService. Also made DownloadManager accept multiple listeners. So instead of broadcast event, client can listen to DownloadManager directly. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174335820 02 November 2017, 16:35:14 UTC
4cb2be2 Replace Queue with ArrayDequeue in HlsPlaylistParser ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174327876 02 November 2017, 16:33:46 UTC
9abc1d2 Don't call Drawable.setLayoutDirection pre-API-23 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174323423 02 November 2017, 16:32:29 UTC
233a1d1 Explicitly document internal onXError are for reporting only Issue: #3366 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174214690 02 November 2017, 16:31:03 UTC
3021897 Allow multiple listeners on TimeBar Issue: #3406 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174214296 02 November 2017, 16:29:36 UTC
8c42479 Fill manifest drm info with media files' pssh when needed ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174185407 02 November 2017, 16:28:10 UTC
46172ff Preserve original on redirect with the set-cookie flow. We need to make sure the original header is retained when we redirect. I filed a request on Cronet to allow headers to be provided to the UrlRequest#followRedirect method: https://bugs.chromium.org/p/chromium/issues/detail?id=779611 Until that API is changed, i.e., pulled into GMSCore, and most clients are using the version of GMSCore with the API change, we can stick with this approach. FYI Cronet generally uses the original headers on redirect: http://[] but modifies the headers for these special cases: hhttp://[] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174074572 01 November 2017, 14:15:12 UTC
72b6791 Use resolved position for masking when seeking to C.TIME_UNSET Also fire onPositionDiscontinuity in this case ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174039483 01 November 2017, 14:13:55 UTC
37d33f5 Execute DownloadTask threads manually Instead of using an Executor to run DownloadTasks creates and manages threads internally. Also added DownloadThread internal class to better separate the code that doesn't run on the main thread. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174036872 01 November 2017, 14:12:32 UTC
199b983 Split PlaybackInfo into its own file ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174030901 01 November 2017, 14:11:09 UTC
f150856 Fix masking step 1 1. Move Timeline/Manifest into PlaybackInfo 2. Don't update externally visible Timeline/Manifest during preparation 3. Ignore MSG_POSITION_DISCONTINUITY during preparation 4. Correctly set masking variables at start of preparation, and use them Once this change goes in, PlaybackInfo will contain timeline, manifest and position, which should always be self-consistent with one another. The next step would then be to move a bunch of logic in ExoPlayerImpl that derives state from timeline and position into PlaybackInfo, and split that into its own top level class that can be easily tested to make sure it never IndexOutOfBounds. I think we could also replace the masking variables and instead just assign a new PlaybackInfo to the playbackInfo variable whenever we're doing something that requires masking. This should be possible because we no longer update playbackInfo whenever we have pending acks. It would require allowing PlaybackInfo to mask the window position internally when the timeline is empty, but I think this is ok, and again is something we could test pretty easily. Issue: #3362 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173909791 01 November 2017, 14:09:33 UTC
9b9a294 Fix javadoc @see for TrimmingAudioProcessor. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173877969 01 November 2017, 14:08:04 UTC
8eee7c0 Remove apparently unused field ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173871144 01 November 2017, 14:06:36 UTC
8c79318 Fix crash when bad VTT timestamp encountered Issue: #3396 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173868849 01 November 2017, 14:05:11 UTC
d02e1df Clean up VideoFrameReleaseTimeHelper 27 October 2017, 18:22:59 UTC
eb54da5 Merge pull request #3345 from drhill/dev-v2_framerate_switch make videoframereleasetimehelper get refresh rate when it's enabled, … 27 October 2017, 17:54:38 UTC
dd5905a Don't query empty timeline for next/previous windows ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173668909 27 October 2017, 15:31:21 UTC
4cf90e3 Fix listener in ImaAdsMediaSource. As MediaSource listeners now return the MediaSource in on SourceInfoRefreshed, we need to make sure that media sources wrapping another source don't just forward the listener, but also provide a listener wrapper. This allows to inject the wrapper source instance in the callback. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173653307 27 October 2017, 15:30:00 UTC
345084b Align naming across demo apps. - Dropped class name prefixes that correspond to whole app name - Anything that wraps the player is called PlayerManager ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173652288 27 October 2017, 15:28:29 UTC
30f95cd Remove shuffleMode(boolean) usages in ExoPlayer ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173645536 27 October 2017, 15:27:05 UTC
cd07ff7 Update gradle tools to 3.0.0 and support library to 27.0.0. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173645345 27 October 2017, 15:25:35 UTC
46bf254 Add option for handling "Set-Cookie" requests in CronetDataSource. This time, we avoid using the problematic CookieManager and HttpCookie framework APIs by just forwarding the cookie request only when the client has enabled the feature and the server responds with a "Set-Cookie" response header. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173532023 27 October 2017, 15:22:40 UTC
cf38900 Simplify non-main demo apps to not care about multi-window ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173528055 27 October 2017, 15:21:20 UTC
3602a9a Allow specifying a Drawable for the TimeBar scrubber Issue: #3337 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173411321 27 October 2017, 15:20:00 UTC
69e43b6 Automated g4 rollback of changelist 171999924. *** Reason for rollback *** CookieManager APIs are fundamentally broken (b/67951242) *** Original change description *** Cookie-based validation in CronetDataSource Using cookie validation from streamer, streamer can enforce that only clients who have the cookie are able to stream the video. *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173396251 27 October 2017, 15:18:35 UTC
3285851 Pass prepareAcks in SourceInfo This makes it a bit more obvious what's going on during preparation. In particular, it makes it clear that MSG_SOURCE_INFO_REFRESHED arrives before MSG_TRACKS_CHANGED. Issue: #3362 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173392080 27 October 2017, 15:17:05 UTC
8b3ec48 Set cause of the exceptions in AtomicFile.startWrite() ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173388899 27 October 2017, 15:15:34 UTC
3c201a0 Pass MediaSource instance through onSourceInfoRefreshed ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173382423 27 October 2017, 15:13:59 UTC
88b6df1 Disable secure DummySurface on Samsung devices on API level 25 Issue: #3373 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173381588 27 October 2017, 15:12:34 UTC
7c18baa Add support for float output in DefaultAudioSink Also switch from using MIME types to C.ENCODING_* encodings in DefaultAudioSink. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173379623 27 October 2017, 15:10:45 UTC
ac9233b Update v27.0.0 from git_oc-mr1-release with build id #4399904 & SL from ub-supportlib-27.0 with build id #4397392 to Android stable channel Branch: git_oc-mr1-release & ub-supportlib-27.0 Release: 27.0.0 Build ID: 4399904 & 4397392 Channel: stable Version: 8.1.0 Global presubmit: [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173351372 27 October 2017, 15:09:11 UTC
5a91a71 Make CronetDataSource interruptable. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173262660 27 October 2017, 15:07:30 UTC
ea764b1 Fix retry count for live streams in ExtractorMediaPeriod Also simplify boolean condition in ExtractorMediaSource ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173247443 27 October 2017, 15:06:01 UTC
e5e984f Re-order events into more of a natural ordering ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173232494 27 October 2017, 15:04:33 UTC
60a8182 Clean up IMA demo Also do some minor cleanup in other demo apps. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173146425 27 October 2017, 15:03:04 UTC
c4f3cad Better behavior if media doesn't support DRM scheme We don't expect this case to occur, since track selection is normally expected to check canAcquireSession before selecting a track. Nevertheless, if an attempt is made to acquire a session when the media doesn't support the manager's UUID, we should fail in a more graceful way. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173124170 27 October 2017, 15:01:40 UTC
3289e3e Be robust against provideProvisionResponse throwing unchecked exceptions Other catch blocks in this class catch everything. This one should too. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173118891 27 October 2017, 15:00:15 UTC
43d70bd Ignore seekTo if an ad is playing Issue: #3309 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173114842 27 October 2017, 14:58:51 UTC
93423aa Moved Exo IMA Demo to ExoPlayer. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173112608 27 October 2017, 14:57:28 UTC
82edf01 Re-use single session when multiSession disabled ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173098862 27 October 2017, 14:55:46 UTC
9306b24 Fix some Android Studio inspection warnings ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173085316 27 October 2017, 14:54:17 UTC
9568802 Persist DownloadActions in DownloadManager ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172875067 27 October 2017, 14:52:41 UTC
2081667 cleanups for videoframereleasetimehelper 24 October 2017, 15:19:26 UTC
ab6f9ae Merge pull request #3381 from google/dev-v2-r2.5.4 r2.5.4 20 October 2017, 17:54:45 UTC
3830307 fix not initialized error 20 October 2017, 00:28:49 UTC
84afad0 adjustments 19 October 2017, 20:24:41 UTC
04862bc Bump to 2.5.4 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172758309 19 October 2017, 17:25:21 UTC
c2d05f4 Bump to 2.5.4 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172758309 19 October 2017, 17:10:27 UTC
feff4d3 fix missing cause of display refresh rate changing between videoframereleasetimehelper constructor and enable being called 19 October 2017, 16:49:51 UTC
9a52d63 Fix build 19 October 2017, 16:48:07 UTC
69ec60e Fix seeking with repeated periods newPlayingPeriodHolder could be set then updated if seeking to a repeated period that was loaded more than once. This led to MediaPeriodHolders leaking. Only set newPlayingPeriodHolder once so that any later holders with the same period identifier get released. Also add a regression test. FakeMediaSource checks that all created MediaPeriods were released when it is released. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172591937 19 October 2017, 16:44:46 UTC
5357726 Add some additional device specific workarounds Issue: #3355 Issue: #3257 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172587141 19 October 2017, 16:41:40 UTC
e548414 Workaround Samsung tablet reboot playing adaptive secure content ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169256059 19 October 2017, 16:40:21 UTC
back to top