Commit Graph

16 Commits

Author SHA1 Message Date
trav90 d42126a5e1 RemoveDecoder() when initialization is aborted 2018-07-25 07:03:10 +08:00
trav90 22fd32273f [mse] Use TimeUnits in SourceBuffer 2018-07-25 06:47:51 +08:00
trav90 64de3d63ec Abstract MSE TrackBuffer interface
Aim is to allow for easily replacing the existing TrackBuffer implementation with another (more spec-compliant) one.
2018-07-25 06:47:49 +08:00
trav90 227622835c Rename MediaDecoder::OnDecodeThread to MediaDecoder::OnDecodeTaskQueue 2018-07-25 06:44:59 +08:00
trav90 190e139e28 Fix incorrect seconds / microseconds conversion
This led to incorrect data eviction in sourcebuffer.
2018-07-25 01:28:03 +08:00
trav90 8c533f7918 Always notify MediaSourceReader of new data on its own task queue 2018-07-25 01:27:58 +08:00
trav90 b56c08bed3 Notify mediasource sub-readers that data was evicted 2018-07-25 01:27:53 +08:00
trav90 cb132147fd Notify parent decoder that data was removed 2018-07-25 01:27:49 +08:00
trav90 a6859a7fd5 Fix MSE TrackBuffer::ContainsTime 2018-07-25 01:27:40 +08:00
trav90 b20b8dadab Replace dom::TimeRanges with TimeIntervals object 2018-07-25 01:27:34 +08:00
trav90 3bbb18eb37 Use MediaPromise to read MSE TrackBuffer metadata 2018-07-25 01:24:29 +08:00
trav90 d6335febb4 Rename LargeDataBuffer and DataBuffer objects
This prevents conflicts and crashes with WebRTC libs that use those names already. Some linkers appear to get it wrong and calls the destructor of the wrong class.
2018-07-25 01:19:09 +08:00
trav90 48e4be08d6 Create one unified thread pool for media code and run the MDSM task queues on it
This allows for parallel MDSM execution.
2018-07-25 01:05:04 +08:00
trav90 3ef89dda87 Fire loadedmetadata before encrypted event 2018-07-25 01:03:42 +08:00
wolfbeast 02112270b5 Remove EME (Encrypted Media Extensions) DRM support.
This resolves #102.
2018-07-24 23:32:00 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00