628 Commits

Author SHA1 Message Date
Oliver Woodman
ac54b4f696 Cleanup/Sync with internal tree 2015-05-22 21:45:13 +01:00
Oliver Woodman
67d0154960 Use Java7 <> syntax 2015-05-22 21:40:22 +01:00
Oliver Woodman
91bcec82f5 Support an up-front block allocation in DefaultAllocator. 2015-05-22 21:37:21 +01:00
Oliver Woodman
79d557dd80 Move WEBVTT custom header constants.
They're current location is annoying, because it creates a dependency
from the dash package to the webvtt package. For apps like Play Movies
where WEBVTT isn't used, it's nice just to delete the whole package at
import time, which requires that this dependency be removed.
2015-05-22 21:36:35 +01:00
Oliver Woodman
efd0b1e3cf Updated all ExoPlayer Eclipse projects to use Java 1.7. 2015-05-22 21:34:51 +01:00
Oliver Woodman
54e2c2833c Bump to 1.3.3 2015-05-22 20:57:24 +01:00
Oliver Woodman
19552f8e48 Update README 2015-05-22 20:47:49 +01:00
Oliver Woodman
4e1c4f00ac Resolution is INTxINT 2015-05-22 20:43:38 +01:00
Oliver Woodman
a60dc5803e Merge branch 'dev' of https://github.com/google/ExoPlayer into dev 2015-05-22 20:40:36 +01:00
ojw28
fd7345b4c4 Merge pull request #483 from kellyschrock/hls_aac_fix
HLS AAC fix
2015-05-22 20:40:26 +01:00
Oliver Woodman
250cab2dac Fix AudioTrack typos.
Issue: #479
2015-05-22 20:39:28 +01:00
Oliver Woodman
30011285bb Add TRICK_PLAY constant to core Exo.
Seems generally useful to have.
2015-05-22 20:38:23 +01:00
Oliver Woodman
3e62b63eb2 Try and use httpDataSource if scheme isn't recognised.
Issue: #473
2015-05-22 20:37:52 +01:00
Kelly Schrock
08d337365e HLS AAC fix
Fixes issue where an NPE occurs when RollingSampleBuffer is created
with a null Allocator.
2015-05-21 20:35:09 -05:00
Oliver Woodman
253a0105f7 Cleanup 2015-05-19 15:24:18 +01:00
Oliver Woodman
658a7ffba5 Step towards enhanced Webvtt parser to support HTML-rich captions and positioning. 2015-05-19 15:19:59 +01:00
Oliver Woodman
709fc7735b First steps toward implementing bounded live seek. 2015-05-19 15:16:29 +01:00
Oliver Woodman
763d68f26c Bump to 1.3.2 2015-05-19 14:37:29 +01:00
Oliver Woodman
c86a5378c7 Update release notes 3 2015-05-19 14:23:30 +01:00
Oliver Woodman
e55448924e Update release notes 2 2015-05-19 14:22:23 +01:00
Oliver Woodman
f88283d614 Update release notes 2015-05-19 14:20:27 +01:00
Oliver Woodman
6ae97ced3a Support content:// URIs, and some cleanup/consistency tweaks.
- There's definitely potential for more code sharing in these
classes, but deferring for now.
- Also made no-scheme default to file://, and allowed smoothstreaming
URLs to be specified with or without the /Manifest suffix.
2015-05-19 14:14:53 +01:00
Oliver Woodman
a9c977a79e Fix Mp3Extractor synchronization when loading retries.
Before preparation, and when seeking, Mp3Extractor did not handle retrying:
- synchronizedHeader was set before the header was known to be valid, which
  means that after seeing one valid frame header and then failing to read, the
  synchronization would be treated as complete.
- The input buffer would keep data loaded during synchronization but on the next
  call to synchronize when retrying it was not returned to the mark position to
  re-parse the data.

This change fixes these issues.
2015-05-19 14:13:31 +01:00
Oliver Woodman
675c7738c1 Let DefaultUriDataSource load assets. 2015-05-19 14:12:59 +01:00
Oliver Woodman
f474afbf5e Fix handling of widths/heights when choosing formats.
- Make HlsPlaylistParser treat non-positive dimensions as unknown.
- Make HlsPlaylistParser parse floating point resolutions, because
  technically that's how they're spec'd.
- Make VideoFormatSelectorUtil treat non-position dimensions as unknown.

Issue: #461
2015-05-19 14:06:48 +01:00
Oliver Woodman
059b80c1ab Improve DataSource implementations:
1. Make DefaultUriDataSource robust against exceptions through from close().
2. Make AssetDataSource handle file:///android_asset/ URIs.
2015-05-19 14:05:50 +01:00
Oliver Woodman
672906060c Fix missing ID3 events
When I moved the id3Reader instantiation out of the while
loop (below where it is now) it was no longer guarded by
the streamTypes.get(streamType) deduping check. This brings
back an equivalent check.
2015-05-19 14:05:08 +01:00
Oliver Woodman
cd6c5c3984 Fix CBR seeking when XING header is present.
When a XING header is present but not usable (due to missing fields), CBR
seeking can be used instead. It relies on the bitrate. The bitrate from the
unusable XING header is not correct, which leads to incorrect seeking.

Also fix VBRI seeking by setting the correct offset on the frame to parse. Few
people seem to use that format, but I have found two very short truncated
samples which were falling back to the CBR case before but are using VBRI with
this change.
2015-05-19 14:03:39 +01:00
Oliver Woodman
d03fb10516 Remove readBitsLong, use readBits instead 2015-05-19 14:02:40 +01:00
Oliver Woodman
dd7a796883 Make constant public 2015-05-19 14:01:59 +01:00
Oliver Woodman
0dfc1d3bb7 Don't sample the timestamp/latency for AC-3 passthrough playback. 2015-05-19 14:00:49 +01:00
Oliver Woodman
9f53ea8116 Tweak documentation 3 2015-05-19 13:56:44 +01:00
Oliver Woodman
35737bb989 Tweak documentation 2 2015-05-19 13:56:13 +01:00
Oliver Woodman
d0ea014ba3 Tweak documentation 2015-05-19 13:54:59 +01:00
Oliver Woodman
b9688742c6 Add changelog to track high level changes of each release 2015-05-19 13:50:31 +01:00
ojw28
820525695a Merge pull request #465 from Ood-Tsen/contentDataSource
support content uri (e.q. content://xxx)
2015-05-18 13:54:28 +01:00
ood_tsen
b340d47165 support content uri (e.q. content://xxx) 2015-05-18 20:24:59 +08:00
ojw28
ea9611aceb Merge pull request #454 from pakerfeldt/property-setter
Support setting properties on MediaDrm
2015-05-13 10:29:37 +01:00
Patrik Åkerfeldt
1469f11aa3 Support setting properties on MediaDrm 2015-05-13 10:41:22 +02:00
Oliver Woodman
5ca5df0bb2 Bump to 1.3.1 2015-05-12 18:42:46 +01:00
Oliver Woodman
b7b9dc1c2e Fix javadoc location in readme 2015-05-12 17:02:47 +01:00
Oliver Woodman
06cbb4e746 Fix doc image refs 2015-05-12 16:57:39 +01:00
Oliver Woodman
683b67cc19 Correct javadoc header 2015-05-12 16:53:47 +01:00
Oliver Woodman
2dabad3bc3 Merge branch 'dev' of https://github.com/google/ExoPlayer into dev 2015-05-12 15:23:21 +01:00
Oliver Woodman
5ca3378b71 Rm doc dir from dev 2015-05-12 15:22:43 +01:00
Oliver Woodman
8a347d1a5d Use https 2015-05-12 15:21:42 +01:00
Oliver Woodman
cd55fc068f Gradle for Javadoc 2015-05-12 15:10:07 +01:00
ojw28
350cffb6d6 Merge pull request #446 from ened/gradle-plugin-1.2.3
Gradle plugin 1.2.3
2015-05-12 14:15:41 +01:00
Oliver Woodman
fc31992a01 Update README 2 2015-05-12 10:43:22 +01:00
Oliver Woodman
639690079e Tweak README 2015-05-12 10:12:22 +01:00