Oliver Woodman
0ee8c07fe5
Better handle duration + disabled renderers
...
- Fix bug where duration of initially disabled tracks wasn't correctly
incorporated into the overall duration reported by the player.
- Don't transition to STATE_ENDED unless the position has reached the
duration, if the duration is known. This allows for "playback" to
continue when all renderers are disabled, rather than jumping straight
to STATE_ENDED.
2015-06-18 14:21:32 +01:00
Oliver Woodman
9de1bb7a01
Add Matroska sample
2015-06-18 14:18:51 +01:00
Oliver Woodman
072c63c33e
Handle stbl atoms with no samples.
...
Github issue: #554
2015-06-18 14:18:09 +01:00
Oliver Woodman
8c98c588e8
Add support for fixed-size lacing in Matroska streams.
2015-06-18 14:17:32 +01:00
Oliver Woodman
4c4782c72d
Pass whole PSSH box to MediaDrm (except in the WV+L case).
...
This fixes SmoothStreaming on AndroidTV, and also removes a
warning that gets logged when using Widevine/FMP4.
2015-06-18 14:16:37 +01:00
Oliver Woodman
d0ba265290
Fix some MPD parsing issues.
...
- contentType can be defined on an AdaptationSet.
- language can be defined either in AdaptationSet or in a contained
ContentComponent.
- The id from the AdaptationSet should come from the AdaptationSet.
2015-06-18 14:13:54 +01:00
Oliver Woodman
54d207f3ce
Default caption parsers to non-strict parsing.
2015-06-18 14:12:33 +01:00
Oliver Woodman
39adcabf7d
Blacklist variants if media or encryption loads fail, in addition
...
to if the playlist load fails.
NB - I'm aware the casting is a bit messy, but I don't want a common
interface because I'm hopeful that TsChunk will go away at some point.
Issue: #537
2015-06-18 14:11:33 +01:00
Sergio Moreno Mozota
dd3a4a9139
fix audio channels CodecSpecificDataUtil bugs
...
* fix channel number encoding using the AUDIO_SPECIFIC_CONFIG_CHANNEL_COUNT_TABLE
* allocate the correct number of bits (4) int the CodecSpecificDataUtil struct
2015-06-17 23:00:31 +02:00
Oliver Woodman
ecf7d1be9e
Fix HLS track selection
2015-06-16 13:50:22 +01:00
Oliver Woodman
eea57d0d76
Enhance WebM extractor tests
2015-06-15 18:02:53 +01:00
Oliver Woodman
854fa928fb
Fix read H.264 in WebM when the NAL unit length field length is not 4.
2015-06-15 18:01:46 +01:00
Oliver Woodman
49f4fe7810
Rename URL->URI for manifest fetching
2015-06-15 17:43:53 +01:00
Oliver Woodman
ded106053c
Remove spurious blank line
2015-06-15 17:43:06 +01:00
Oliver Woodman
9902efc5db
Update release notes
2015-06-15 17:40:04 +01:00
Oliver Woodman
164d8b4242
Rework application of Mpd.Location + fix test.
2015-06-15 17:38:51 +01:00
ojw28
04d6672e2c
Merge pull request #536 from T-Pham/dev
...
Fetch next Dash manifest using URL in Location directive if exists
2015-06-15 16:16:41 +01:00
Thanh Pham
c0ecc22359
Fetch next Dash manifest using URL in Location directive if exists
2015-06-15 21:43:25 +07:00
Oliver Woodman
8cf7d372e9
Fix test URL
2015-06-12 17:53:58 +01:00
Oliver Woodman
a70c1f1a4b
Remove requirement to specify downstream renderer count.
...
This makes it so that it's no longer necessary to specify the number
of downstream renderers to HlsSampleSource, FrameworkSampleSource and
ExtractorSampleSource, by forcing the downstream renderers to register
with the SampleSource instances in their constructors. This eliminates
a common source of subtle client bugs where the passed value is incorrect.
2015-06-12 17:52:56 +01:00
Oliver Woodman
15dc87b037
Add flag to force spurious audio timestamps to fail playback.
...
For enabling during device test runs.
2015-06-12 17:46:41 +01:00
Oliver Woodman
e8fd3025e3
Fix propagation of sample encryption key for webm
2015-06-12 17:45:27 +01:00
Oliver Woodman
ead25a9dfe
Call incrementalPrepare directly from prepare
2015-06-12 17:44:44 +01:00
Oliver Woodman
02c978e16c
Further cleanup subtitle implementations.
2015-06-12 17:44:01 +01:00
Oliver Woodman
bdd1968abe
Allow reading of response headers from HttpDataSource implementations
2015-06-12 17:36:48 +01:00
Oliver Woodman
3661726401
Allow multiple chunk loads to prepare a HLS stream.
...
Issue: #530
2015-06-10 18:30:00 +01:00
Oliver Woodman
87dfaff74b
Fix SRT test
2015-06-10 18:19:05 +01:00
Oliver Woodman
1b1769bb6d
Further simplify SRT support
2015-06-10 18:03:34 +01:00
Oliver Woodman
fbbf3f27fd
Simplify Subrip support
2015-06-10 17:48:01 +01:00
ojw28
71252784e9
Merge pull request #498 from ened/subtitle/srt
...
Subrip (SRT) support
2015-06-10 17:46:53 +01:00
Sebastian Roth
2fb2e5a509
Subrip (SRT) support.
2015-06-09 09:49:20 +08:00
Oliver Woodman
24e897d39f
Further H264/H265 code deduping + fix NAL unescaping.
2015-06-05 20:05:28 +01:00
Oliver Woodman
ae466cc59b
Allow fmp4 in demo app (demuxed only)
2015-06-05 18:45:45 +01:00
Oliver Woodman
4bced734d0
Update release notes
2015-06-05 18:37:09 +01:00
Oliver Woodman
a3aed0eaed
Update settings.gradle
2015-06-05 18:30:59 +01:00
Oliver Woodman
218d02fc59
Allow Webm extractor to extract Matroska files
2015-06-05 18:30:19 +01:00
Oliver Woodman
362ccea310
Clean up permissions
2015-06-05 18:29:37 +01:00
Oliver Woodman
926bc805f5
Add some useful Systrace
2015-06-05 18:28:42 +01:00
Oliver Woodman
96c1e670c4
De-duplicate code for H264/H265 in MPEG-TS.
2015-06-05 18:27:20 +01:00
Oliver Woodman
10efe7904d
Cleanup
2015-06-05 18:26:20 +01:00
Oliver Woodman
955c7b25a4
Doc fix
2015-06-05 18:24:42 +01:00
Oliver Woodman
1732aa761c
Set MediaFormat for VTT chunks + cleanup.
...
ChunkSampleSource had a null check solely for the VTT case,
where DashChunkSource wasn't setting a MediaFormat on VTT
chunks. It's trivial to do so, and is more consistent, so I've
done that and removed the null check. Also done some small
tidying.
2015-06-05 18:24:22 +01:00
Oliver Woodman
01affbb93e
Simplify tx3g support.
2015-06-04 15:47:57 +01:00
ojw28
254bc5a8cc
Merge pull request #509 from Ood-Tsen/tx3g
...
parse mp4 tx3g
2015-06-04 15:07:29 +01:00
ojw28
c992d9c433
Merge pull request #517 from google/dev-webm-vp9-opus
...
Merge webm/vp9 native extensions into dev.
2015-06-04 11:41:35 +01:00
ood_tsen
b95b0aad5c
clean the list while forward seek.
2015-06-03 20:28:30 +08:00
ood_tsen
fd2ebc767c
keep maximum number of subtitles to four.
2015-06-03 20:02:42 +08:00
ood_tsen
106ebbf7df
clean up unused code.
2015-06-02 21:00:22 +08:00
Andrew Lewis
5b186a2aa4
Add support for reading H.265 in MPEG TS.
2015-06-01 17:42:43 +01:00
ood_tsen
39607551aa
add title.
2015-06-01 20:47:55 +08:00