Oliver Woodman
c4235d0e8d
Ignore tfdt boxes for SmoothStreaming playbacks.
...
Issue #838
2015-10-12 12:26:58 +01:00
Oliver Woodman
7905506681
On Sony Bravia devices check for 4k panel.
...
Documentation: https://developer.sony.com/develop/tvs/android-tv/design-guide/
On API 23 we should also check Display.Mode (where supported).
Issue: #800
2015-10-12 12:25:58 +01:00
Oliver Woodman
952bd4e73c
Don't calculate a maximum input size for H.264 on Sony 4k TV.
...
Issue: #800
2015-10-12 12:24:48 +01:00
Oliver Woodman
a764b359e8
Add support for DTS passthrough on supporting devices before API 23.
...
NVIDIA Shield before API 23 supports DTS passthrough, so this change inlines the
constant value.
2015-10-12 12:21:16 +01:00
Oliver Woodman
a5ebb49a1a
Set the maximum input size based on the sample table for MP4s.
2015-10-12 12:20:15 +01:00
Oliver Woodman
3682141ee1
webm_extractor: Re-sync to next level 1 element on invalid data
...
Try re-sync'ing to the next level 1 element when invalid data is found. This
corrects the behavior for test case 4 in the mkv test suite.
Partially Fixes Issue #631
2015-10-12 12:18:12 +01:00
Oliver Woodman
ab489d35e9
Don't pass keyboard escape key to media controller.
...
This makes it possible to exit the player when using e.g. an Android TV with a
keyboard.
2015-10-12 12:16:15 +01:00
Oliver Woodman
bcb4ea4f70
Allow launching of ExoPlayer demo app via adb shell.
...
For example:
adb shell am start -a com.google.android.exoplayer.demo.action.VIEW -d http://...
2015-10-12 12:15:13 +01:00
Oliver Woodman
6bf817f107
Workaround EOS propagation for all devices with RK decoder.
...
As per the end of the related issue, it's likely that all devices
running the affected API levels + decoder are affected by the same
issue.
Issue #464
2015-10-12 12:12:43 +01:00
ojw28
98426a782f
Merge pull request #857 from IanDBird/dev-truehd
...
Add support for TrueHD audio codec in WebMExtractor
2015-10-12 12:03:31 +01:00
ojw28
8c53590b9b
Merge pull request #858 from IanDBird/dev-mpeg2
...
Add support for MPEG2 video codec in WebMExtractor
2015-10-12 12:03:26 +01:00
Ian Bird
e933e2d49f
Add support for MPEG2 video codec in WebMExtractor
2015-10-09 14:38:39 +01:00
Ian Bird
ee8a00b68a
Add support for TrueHD audio codec in WebMExtractor
2015-10-09 14:12:48 +01:00
ojw28
2d967a1b6d
Merge pull request #856 from IanDBird/dev
...
Make MediaCodecUtil.getMediaCodecInfo public
2015-10-09 12:40:33 +01:00
Ian Bird
6a5cd68892
Make MediaCodecUtil.getMediaCodecInfo public
2015-10-09 12:33:01 +01:00
Oliver Woodman
5b81612c3b
Tweak okhttp package name
2015-10-01 17:33:02 +01:00
Oliver Woodman
01597d0208
Fix markup
2015-09-29 21:58:12 +01:00
Oliver Woodman
851cde2e0e
Update RELEASENOTES
2015-09-29 21:56:41 +01:00
Oliver Woodman
ba6cb05e0a
Update ReadMe files.
2015-09-29 21:55:51 +01:00
Oliver Woodman
e1d6f8618b
Package restructuring
2015-09-29 21:51:45 +01:00
Oliver Woodman
19c7520e68
Better gradle package names
2015-09-29 21:41:35 +01:00
Oliver Woodman
0ff03e40bd
Okhttp extension - Update gradle build
2015-09-29 21:27:37 +01:00
Oliver Woodman
af1ffeccc7
OkHttp extension - Add eclipse project
2015-09-29 21:24:45 +01:00
Oliver Woodman
434a2733a3
OkHttp extension modifications.
...
1. Change package name (rm "datasource")
2. Require injection of OkHttpClient through all constructors, and
remove allowCrossProtocolRedirect/connectTimeout/readTimeout
constructor arguments. The client should be configured with these
prior to injection.
3. Fix code style to be consistent with the project.
4. Simplify call to get contentLength. I'm pretty sure okhttp returns
the correct value when gzip is enabled, so there's no need to check
this in the data source.
5. Misc cleanups.
2015-09-29 21:10:34 +01:00
ojw28
2112bc24e3
Merge pull request #735 from b95505017/okhttp_http_data_source
...
Add an extension that provide DataSource using OkHttp
2015-09-29 21:06:46 +01:00
joli
8ddc73511e
FLV Support - Added Audio and Script Data readers
2015-09-29 17:20:38 +02:00
Oliver Woodman
62ce0ff009
Fix indentation.
2015-09-29 11:40:59 +01:00
Oliver Woodman
d8934e2751
Make mapping from position to time more accurate in XING MP3 streams.
...
This change keeps the proportion offset * 256 as a floating point value rather
than rounding it before linear interpolation, which will increase precision
slightly when seeking in streams with XING headers.
In practice, this won't make much of a difference because precise seeking in VBR
MP3s with XING headers seems not to be possible without reading the entire file,
due to the fact that the (uneven) distribution of bits is represented by a fixed
number of table of contents entries.
2015-09-29 11:37:40 +01:00
Oliver Woodman
15da18d900
Fix format selection bug.
...
Issue: #825
2015-09-29 11:36:26 +01:00
Oliver Woodman
427cb34aca
Bump version to 1.5.0
2015-09-28 20:56:28 +01:00
Oliver Woodman
dce74f4209
Add onDrmKeysLoaded back again (oops)
2015-09-28 20:24:46 +01:00
Oliver Woodman
e96e618046
Clean up expansion of sample buffers.
...
- The old approach was technically incorrect, because the checks
were "capacity < sampleSize" and hence neglected the fact that
the buffer position may be greater than 0 (e.g. if the caller
wants to prefix the sample with some additional data).
- Also proactively throw an exception if the buffer is too small,
rather than wait for the failure when we actually do the write.
2015-09-28 20:23:45 +01:00
Oliver Woodman
15c2f9c328
Explicitly set max input size for H264 decoders.
...
This works around an issue where some devices, such as the Acer Iconia,
don't allocate large enough input buffers for H264.
Issue: #616
Issue: #714
2015-09-28 12:38:35 +01:00
Oliver Woodman
decb7f58c7
Expose container track identifier via MediaFormat.
...
Issue: #770
2015-09-28 12:36:28 +01:00
Oliver Woodman
979fd083b4
Don't invoke adaptiveTrack with 0 or 1 representations.
...
0 will crash. 1 is pointless.
2015-09-28 12:34:19 +01:00
Oliver Woodman
e8895c8746
Fix AudioTrack EOS handling in ExoPlayer.
2015-09-28 12:25:30 +01:00
Oliver Woodman
e035e4de7f
Let MediaController handle whatever keys it wants to handle.
...
....Except BACK and MENU, which only make sense if the the controller
is visible.
2015-09-28 12:25:05 +01:00
Oliver Woodman
15052052ee
Clean up TrackRenderer TODOs
2015-09-28 12:24:35 +01:00
Oliver Woodman
b81ac8cdc2
Added robustness for chunk removal.
...
Issue #812
2015-09-28 12:24:13 +01:00
Oliver Woodman
42416b82db
Fixed issue in which DashChunkSource didn't make use of the most recent
...
manifest.
2015-09-28 12:22:54 +01:00
Oliver Woodman
c3e0d34aa1
Fixed int overflow issue with callbacks on very long-running streams.
2015-09-28 12:22:12 +01:00
Oliver Woodman
e4e02f9189
Further improve WebVTT parser according to WebVTT spec
2015-09-28 12:20:27 +01:00
Oliver Woodman
71f542f7c2
If a parser really wants to throw a runtime exception, don't crash.
2015-09-28 12:16:26 +01:00
Oliver Woodman
ee80be9217
Fix comment typo
2015-09-28 12:15:53 +01:00
Oliver Woodman
e652019bb3
Tweak new drm listener method. Fix demo app
2015-09-28 11:59:10 +01:00
ojw28
6cb029d8c1
Merge pull request #818 from pakerfeldt/on-drm-session-ready
...
Add onDrmSessionReady callback
2015-09-28 11:16:29 +01:00
Patrik Åkerfeldt
95db1eacd1
Add onKeysLoaded callback
...
This adds a callback for when DRM keys have been loaded.
2015-09-25 10:03:00 +02:00
Oliver Woodman
765d1659be
Return "seeked to" position immediately after seek.
2015-09-18 18:25:25 +01:00
Oliver Woodman
c1b8352e33
Stylistic tweaks.
2015-09-18 18:25:07 +01:00
Oliver Woodman
88452d95ee
Playback test tweaks.
2015-09-18 18:24:33 +01:00