ojw28
06e9e5d3ea
Merge pull request #234 from google/dev
...
dev -> dev-hls
2015-01-12 17:43:44 +00:00
Oliver Woodman
a879819dd3
Force callers into MediaCodecUtil to catch any exceptions that occur.
...
Issue: #217
Issue: #228
2015-01-12 17:40:55 +00:00
ojw28
869ecbfcf3
Merge pull request #225 from google/dev
...
dev -> dev-hls
2015-01-02 17:38:59 +00:00
Oliver Woodman
d906e405a1
Propagate AudioTrack errors.
2015-01-02 17:35:57 +00:00
Oliver Woodman
ea21eba87e
Allow re-enabling video track without transition through buffering state.
2014-12-19 12:10:16 +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
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
9d4e177347
Support DASH Live TTML subtitles.
...
Also add missing file.
2014-12-12 14:12:00 +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
ojw28
1344b36da9
Merge pull request #194 from google/dev
...
dev -> dev-hls
2014-12-08 20:17:17 +00:00
Oliver Woodman
cf80c4d9cb
Allow passing of optional parameters in MediaDrm key requests.
2014-12-08 20:12:04 +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
40f3172237
HLS: More control over buffering + tweak caption impl.
...
- Move all three buffering constants to a single class (the
chunk source).
- Increase the target buffer to 40s for increased robustness
against temporary network blips.
- Make values configurable via the chunk source constructor.
- Treat captions as a text track for HLS. This allows them to
be enabled/disabled through the demo app UI.
Issue: #165
2014-11-26 17:21:41 +00:00
Oliver Woodman
8e2801ce9b
Improve HLS ABR.
...
- Add options to switch abruptly at segment boundaries. Third
parties who guarantee keyframes at the start of segments will
want this, because it makes switching more efficient and hence
rebuffering less likely.
- Switch quality faster when performing a splicing switch (when
we detect that we need to switch variant, we now immediately
request the same segment as we did last time for the new variant,
rather than requesting one more segment for the old variant
before doing this.
2014-11-26 12:08:46 +00:00
Oliver Woodman
410fcdeb87
Merge HLS playlist parsers, make a single parser identify the
...
playlist type (master or media).
Issue: #155
2014-11-26 12:01:36 +00:00
Oliver Woodman
826c73a16b
Fix renderer count.
...
Issue: #153
2014-11-19 16:06:33 +00:00
Oliver Woodman
4280511a33
Seamless splicing for adaptive HLS.
2014-11-19 10:34:49 +00:00
ojw28
87d0be252e
Merge pull request #149 from google/dev
...
dev -> dev-hls
2014-11-19 10:10:53 +00:00
Andrey Udovenko
15d3df6a58
Add EIA-608 (CEA-608) Closed Captioning support for HLS #68
2014-11-18 14:48:40 -05:00
Andrey Udovenko
3abcefa00c
Add EXT-X-BYTERANGE support #139
2014-11-18 14:05:34 -05:00
Oliver Woodman
bc303b730a
Factor out AudioTrack from MediaCodecAudioTrackRenderer.
...
AudioTrack contains the portions of MediaCodecAudioTrackRenderer that handle the
platform AudioTrack instance, including synchronization (playback position
smoothing), non-blocking writes and releasing.
This refactoring should not affect the behavior of audio playback, and is in
preparation for adding an Ac3PassthroughAudioTrackRenderer that will use the
AudioTrack.
2014-11-18 19:04:14 +00:00
Oliver Woodman
fd51901620
Big HLS update. Add start of adaptive support, but leave disabled for now.
2014-11-13 16:32:10 +00:00
ojw28
0005f41fe9
Merge pull request #138 from google/dev
...
dev -> dev-hls
2014-11-13 16:20:13 +00:00
Oliver Woodman
cb06845976
Minor linebreak fixes
2014-11-13 16:16:02 +00:00
Oliver Woodman
2d97d31a9e
Add ability to make fine-grained frame release timestamp adjustments
2014-11-13 16:11:52 +00:00
Andrey Udovenko
71f918c01b
ID3 refactoring to match apple's player behavior #67
2014-11-05 11:54:45 -05:00
Andrey Udovenko
b946ad9234
Specify UserAgent for ManifestFetcher in HlsRendererBuilder.
2014-11-04 14:24:13 -05:00
Andrey Udovenko
c781fcd13d
Merge pull request #117 from google/dev
...
Add cookies support and use the same UserAgent in ManifestFetcher and in...
2014-11-04 14:20:36 -05:00
Andrey Udovenko
712e46085d
Add cookies support and use the same UserAgent in ManifestFetcher and in HttpDataSource.
2014-11-04 14:06:37 -05:00
Andrey Udovenko
a76addba5d
Add AES-128 encryption support for HLS #69 and parsing logic for CODECS and RESOLUTION attributes.
2014-11-04 13:38:22 -05:00
ojw28
f4a5cd637f
Merge pull request #112 from google/dev
...
dev -> dev-hls
2014-11-03 12:21:04 +00:00
Oliver Woodman
deb7f2badd
Add AAC test stream.
2014-11-03 12:06:35 +00:00
Andrey Udovenko
d3a05c9a44
Add ID3 Timed Metadata support for HLS #67
2014-10-28 13:24:12 -04:00
Oliver Woodman
ca31010028
Add HLS support to simple variant of demo app. Plus cleanup.
2014-10-28 14:25:12 +00:00
ojw28
3bee259de9
Merge pull request #96 from google/dev
...
dev -> dev-hls
2014-10-28 14:18:56 +00:00
Oliver Woodman
552db2fa7c
Avoid spurious preparing->idle->preparing transition in demo app.
...
Issue #81
2014-10-28 14:15:52 +00:00
Oliver Woodman
b5c4148f8f
Use UriDataSource in demo app.
2014-10-27 11:20:39 +00:00
ojw28
d2e480f01b
Merge pull request #75 from google/dev
...
Merge dev -> dev-hls
2014-10-09 17:31:36 +01:00
Oliver Woodman
027d9eefbd
Smoother playback #1 .
...
Propagate elapsedRealtimeUs to the video renderer. This allows
the renderer to calculate and adjust for the elapsed time since
the start of the current rendering loop. Typically this is <2ms,
but there situations where it can go higher (normally when the
video renderer ends up processing more than 1 output buffer in
a single loop).
Also made variable naming more consistent throughout the package.
2014-10-09 17:26:01 +01:00
Andrey Udovenko
d64036c5ed
Add basic HLS support (VOD and Live) with EXT-X-DISCONTINUITY.
2014-10-01 17:03:07 -04:00
ojw28
dd30632aa1
SmoothStreaming Live support.
...
Issue: #12
2014-09-25 20:16:30 +01:00