ojw28
5cf781ab9f
Merge pull request #211 from google/dev
...
dev -> dev-hls
2014-12-19 12:09:06 +00:00
Oliver Woodman
7f91a6d4d8
Merge branch 'dev' of https://github.com/google/ExoPlayer into dev
2014-12-19 12:07:39 +00:00
Oliver Woodman
99b438e4c4
Don't request that the server use DEFLATE compression.
...
If the server actually gives us a DEFLATE response, we
fail to handle it properly!
2014-12-19 12:06:00 +00:00
Oliver Woodman
4d6c9f27c2
Minor cleanup of AudioTrack.
2014-12-19 12:05:03 +00:00
ojw28
cc830d6fdb
Merge pull request #208 from alexandrite/fix-mp3-buffer
...
AudioTrack will mark 0-size buffers as consumed
2014-12-18 10:29:06 +00:00
Alex Puterbaugh
52e5b8e848
AudioTrack will mark 0-size buffers as consumed
...
This can happen in the first, non-codec-config output buffer
from MediaCodec, while decoding MP3 data.
This issue was discovered on Nexus 5's running both KitKat
Lollippop.
2014-12-17 12:03:50 -08:00
ojw28
83e80f98fb
Merge pull request #207 from google/dev
...
dev -> dev-hls
2014-12-17 19:25:12 +00:00
Oliver Woodman
ee823a95fc
Add launcher icon source.
2014-12-17 19:22:52 +00:00
Oliver Woodman
48540c2ba0
Add icon for demo app.
2014-12-17 19:19:39 +00:00
Oliver Woodman
3a9d08edb5
Misc performance/correctness tweaks.
2014-12-17 19:18:33 +00:00
Oliver Woodman
f1fe109bfa
Fix AC3Passthrough
...
- Handle read returning NOTHING_READ for AC-3 streams.
- Remove extra checks for the audio track being initialized.
- Call isInitialized() instead of checking audioTrack != null.
2014-12-17 19:16:02 +00:00
Oliver Woodman
39c07d570c
Adapt HLS on non-adaptive devices.
...
This just brings HLS treatment in the demo app in line with
DASH and SmoothStreaming.
2014-12-15 15:30:21 +00:00
ojw28
1face38709
Merge pull request #204 from google/dev
...
dev -> dev-hls
2014-12-15 15:12:21 +00:00
Oliver Woodman
57068a6406
Clear subtitle when text disabled.
2014-12-15 15:06:05 +00:00
Oliver Woodman
57faa49756
Fix crash running ExoPlayer demo on JB. My bad!
...
- We can't refer to UnsupportedSchemeException outside of the
V18 compat inner classes.
- There were also a few missing return; calls.
2014-12-15 15:05:06 +00:00
Oliver Woodman
11eb1c222b
Identify AC-3 tracks by codecs="ac-3", not the MIME type.
2014-12-15 15:04:38 +00:00
Oliver Woodman
595147de9b
Enforce sliding window of available segments for DASH DVB.
2014-12-15 15:03:10 +00:00
Oliver Woodman
978a4d857a
Handle getting the audio track's position before the first AC-3 buffer.
...
ac3Bitrate is set only after the first buffer is handled, which meant that
getting the playback position would cause a divide by zero before then.
When playing back AC-3 content, the ac3Bitrate will always be set after the
first buffer is handled, so return a 0 position if it is not set.
2014-12-15 15:02:29 +00:00
Oliver Woodman
b80569237b
Correctly propagate fatal load error.
2014-12-12 14:25:48 +00:00
Oliver Woodman
4c29eb58f1
Merge branch 'dev' into dev-hls
2014-12-12 14:24:05 +00:00
Oliver Woodman
0cb8169323
Merge branch 'dev-hls' into dev
2014-12-12 14:23:43 +00:00
Oliver Woodman
5a3340d638
Add initial AC3 passthrough support.
2014-12-12 14:18:54 +00:00
Oliver Woodman
81bf68b1cb
Minor doc fixes.
2014-12-12 14:13:58 +00:00
Oliver Woodman
9d4e177347
Support DASH Live TTML subtitles.
...
Also add missing file.
2014-12-12 14:12:00 +00:00
Oliver Woodman
bb024fda08
Partial support for DASH DVB Live streams.
...
- Adds support for dash manifests that define SegmentTemplate
but no SegmentTimeline.
- Assumes that the device clock is correct when calculating which
segments to load. The final step here is to use the Utc timing
element in the DASH manifest to obtain an accurate client clock.
- Doesn't yet enforce that the client shouldn't load segments that
are in the future or behind the live window.
2014-12-12 14:07:48 +00:00
Oliver Woodman
ae55b12bd8
Don't require samples to specify whether they're encrypted.
...
This wasn't actually used for anything other than showing a
toast, which is now generated based on the manifest instead.
2014-12-12 14:05:45 +00:00
Oliver Woodman
099bbe048f
Correctly handle audio and video only DASH streams.
2014-12-12 14:02:14 +00:00
Oliver Woodman
3e33fddbc1
Correctly handle audio-only SmoothStreaming streams.
2014-12-12 13:59:45 +00:00
Oliver Woodman
1554db1673
Skip bad PES packets
...
Issue: #200
2014-12-11 10:26:50 +00:00
ojw28
34372deb9a
Merge pull request #199 from google/dev
...
Release 1.1.0
2014-12-10 16:52:40 +00:00
ojw28
035671b722
Merge pull request #198 from google/dev
...
dev -> dev-hls
2014-12-10 14:08:10 +00:00
Oliver Woodman
f15e3973e0
Fix discovery of secure decoders on some L devices.
2014-12-10 14:05:51 +00:00
Oliver Woodman
86b2209ad0
Bump version to 1.1.0.
...
Also update gradle files.
2014-12-10 14:04:58 +00:00
Oliver Woodman
a254218891
No-op format changes.
2014-12-08 20:19:24 +00:00
Oliver Woodman
87ca1b3465
Skip previously loaded HLS data after an error occurs.
...
Github issue: #183
2014-12-08 20:18:10 +00:00
ojw28
1344b36da9
Merge pull request #194 from google/dev
...
dev -> dev-hls
2014-12-08 20:17:17 +00:00
Oliver Woodman
c4b2a01212
Allow out-of-band pssh data for DASH playbacks.
...
This fixes the referenced issue, except that the MPD parser
needs to actually parse out UUID and binary data for schemes
that we wish to support. Alternatively, it's easy to applications
to do this themselves by extending the parser and overriding
the parseContentProtection and buildContentProtection methods.
Github Issue: #119
2014-12-08 20:15:06 +00:00
Oliver Woodman
2f0a1779e2
Stop piping PSSH information through the extractor.
...
It's cleaner to not inject data into the extractor only
so that it can be read out as though it were parsed from
the stream. This is also an incremental step towards
fixing Github issue #119 .
2014-12-08 20:13:52 +00:00
Oliver Woodman
cf80c4d9cb
Allow passing of optional parameters in MediaDrm key requests.
2014-12-08 20:12:04 +00:00
Oliver Woodman
01151c9c65
Don't append base uri if chunkUrl is absolute.
2014-12-08 20:10:52 +00:00
ojw28
0a888a0d4f
Merge pull request #193 from google/dev-hls-spspps
...
Add SPS/PPS to the media format.
2014-12-08 20:08:53 +00:00
Oliver Woodman
7ca1de2275
Experiment to add SPS/PPS to the media format.
2014-12-08 11:36:51 +00:00
ojw28
5d7820542c
Merge pull request #189 from google/dev
...
dev -> dev-hls
2014-12-05 17:58:56 +00:00
Oliver Woodman
c8e5988e6d
Fix handling of unknown duration in FMP4.
...
Issue: 186
2014-12-05 17:53:24 +00:00
Oliver Woodman
6f1832fb66
Support negative-fronted xs:duration values.
...
Issue: 186
2014-12-05 17:52:30 +00:00
Oliver Woodman
fc8c08d240
Fix #187
2014-12-05 17:51:52 +00:00
Oliver Woodman
3d775c1641
Use C constants + minor cleanup.
2014-12-03 18:50:31 +00:00
Oliver Woodman
511dd9435a
Merge branch 'dev' into dev-hls
2014-12-03 18:48:20 +00:00
Oliver Woodman
4efc0abde9
Implement DASH Live.
...
Note: This adds support for the majority of DASH live streams,
however we do not yet correctly support live streams that rely
on UtcTimingElements in their manifests.
Issue: #52
2014-12-03 18:45:13 +00:00
Oliver Woodman
6652f864bd
Audio improvements.
2014-12-03 18:33:36 +00:00