Commit Graph

3 Commits

Author SHA1 Message Date
Joey Parrish cf53eda1f5 MediaSourceEngine integration tests
Change-Id: I9dea53285a18def6b6284ec9262e46b2d2b48b73
2015-12-01 21:52:51 +00:00
Joey Parrish c68ef2f8f7 Fix NetworkingEngine.destroy() behavior
Previously, destroy() would reject as soon as any in-progress request
failed.  Now, destroy() waits for all requests to end regardless of
their ultimate state.

Also adds tests to cover destroy() behavior and drops unused test
util code from 1.x.  Line coverage for NetworkingEngine is now 100%.

Change-Id: I0e39e494d8f28c6dc595725a46094d10e3a58e93
2015-11-25 12:14:05 -08:00
Joey Parrish a79cde2fca Add MediaSourceEngine
This wraps all MediaSource and SourceBuffer operations in Promises
and synchronizes them.

b/25306817

Change-Id: I73483ba73427d309c4e09cb82ab6404a59e7a726
2015-11-25 12:14:05 -08:00