Граф коммитов

999 Коммитов

Автор SHA1 Сообщение Дата
Ralph Giles 95437b59b2 Bug 1097849 - Enforce sane audio sample rates in MediaEncoder. r=derf
We believe the rate is constrained by the audio driver in practice,
but want to verify this assumption. The valid range 8-192 kHz covers
all sample rates in general use for audio data.

Note we must use an error return instead of an assertion since these
bounds are verified by unit tests, which do not catch MOZ_ASSERT().
2014-11-12 11:03:00 -08:00
Jean-Yves Avenard a40abbc6eb Bug 1097260 - Ensure video dimensions are known when loadedmetadata is fired. r=cajbir 2014-11-12 20:19:29 +11:00
Jan-Ivar Bruaroey cfdeb0d0fa Bug 1097224 - Part 3 - test mozCaptureStream over peerConnection. r=jesup, r=drno 2014-11-13 00:59:22 -05:00
Jan-Ivar Bruaroey ccb5a711f4 Bug 1097224 - Part 2 - correct m-line test in verifySdp in test-harness. r=drno 2014-11-12 23:48:30 -05:00
Jean-Yves Avenard c7ca749da6 Bug 1075332 - Refactor mac audio decoder. Properly calculate timestamps. r=rillian
Also, in order to prevent the MediaDecoderStateMachine to stall waiting for audio data,
feed back as many decoded audio frame as were first submitted to the decoder in one go.
2014-11-12 15:13:02 +11:00
Anthony Jones d6f9c2f3a4 Bug 1097449 - Add locking around libav open/close; r=jya 2014-11-13 17:50:26 +13:00
Ryan VanderMeulen 6d00923374 Backed out changeset f8ff4c7a978a (bug 1097449) for leaks on a CLOSED TREE. 2014-11-12 22:03:25 -05:00
Chris Double a2c8a9704a Back out 462fde31c880 for test failure on Android 2014-11-13 15:39:22 +13:00
Chris Double 9f9a5ddb26 Back out ea9e204bc97a for test failure on Android. 2014-11-13 15:38:56 +13:00
Anthony Jones ecc049922a Bug 1097449 - Add locking around libav open/close; r=jya 2014-11-13 14:48:08 +13:00
Chris Double cfa4228c82 Bug 1065215 - Fix EME test for changes to MediaSource::endOfStream - r=cpearce
--HG--
extra : rebase_source : 95a4bf916ddbb6a11ef66f3700a9ef0ed39d0d25
2014-11-13 10:47:38 +13:00
Chris Double 6c50ffddfd Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karl
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource.
Only run the Range Removal algorithm when MediaSource duration is changed
instead of calling Remove on SourceBuffers.
Updates tests for the fact that update{start,end} can now be called
more than once due to DurationChange.

--HG--
extra : rebase_source : efe01de2f7c6be09b29e2e19d69d9943c9ab5e52
2014-11-13 10:47:31 +13:00
Ryan VanderMeulen ff32e827a2 Backed out changeset 3fe4db1f0877 (bug 1097849) for gtest assertions.
CLOSED TREE
2014-11-12 15:15:49 -05:00
Jean-Yves Avenard 41601b883e Bug 1096764: Add Raw AAC sample support to FFmpeg audio decoder. r=edwin 2014-11-11 19:28:33 +11:00
Ralph Giles 0dd30629a3 Bug 1097849 - Assert sane audio sample rates in MediaEncoder. r=derf
We believe the rate is constrained by the audio driver, but we
should verify this assumption. 8-192 kHz covers all sample rates
in general use for audio data.
2014-11-12 11:03:00 -08:00
Paul Adenot 6a47f77739 Bug 1083664 - Disable an assert in cubeb_audiounit.c for investigation.
--HG--
extra : rebase_source : d46b6fb9d3da9a45ea94435a15bfc3bfee85e9d3
2014-11-12 20:05:05 +01:00
Ryan VanderMeulen 02afa1328a Bug 1083664- Skip dom/media/tests/mochitest on OSX debug. 2014-11-12 12:25:36 -05:00
Ryan VanderMeulen 1b0c318bb9 Backed out changeset 5a476e673470 (bug 1073615) for causing various intermittent failures. 2014-11-12 11:52:30 -05:00
Ryan VanderMeulen 0b93713f2c Bug 1083664 - Disable test_dataChannel_basicAudio.html on OSX debug for frequent assertions.
--HG--
extra : rebase_source : 253249f776e464781588eb62a7b3373faf44243e
2014-11-12 10:06:02 -05:00
Jan-Ivar Bruaroey f2cfaf243a Bug 1064674 - mochitest for non-spec set(Local|Remote)Description wo/callbacks. r=jesup, r=drno 2014-09-08 23:36:47 -04:00
Matt Woodrow fef0ec0d15 Bug 1097375 - Implement MediaSource::setDuration. r=kinetik
--HG--
extra : rebase_source : 7e5f5387de5db3deccc6e74222b32f461359beb2
2014-11-12 17:11:33 +13:00
David Major 6796646a79 Bug 1091008 bustage fix - the second parameter was unused and removed by changeset 6907c1cb8bc0 CLOSED TREE
--HG--
extra : amend_source : 70685616cb814de1f0d8fc641b626682905075e3
2014-11-12 18:24:29 +13:00
Bobby Holley 9c924c9f69 Bug 1093020 - Tests. r=karlt 2014-11-11 20:50:22 -08:00
Bobby Holley beaac4b1f3 Bug 1093020 - Don't use a buffering wait for MSE. r=cpearce 2014-11-11 20:50:22 -08:00
Bobby Holley 74cae8faad Bug 1063323 - Tests. r=cajbir 2014-11-11 20:50:22 -08:00
Bobby Holley 19f7e785c2 Bug 1096597 - Switch to buffering mode on WAITING_FOR_DATA. r=cpearce 2014-11-11 20:50:22 -08:00
Bobby Holley e2dd17c59b Bug 1091008 - Reimplement HasLowUndecodedData in terms of GetBuffered. r=cpearce
Since GetBuffered now has a sane implementation for MSE, this should
make this function sane for MSE as well.
2014-11-11 20:50:21 -08:00
Bobby Holley 610334a3eb Bug 1091008 - Remove special handling for MSE in HTMLMediaElement::Buffered. r=cajbir
The same code will now be reached by invoking this method on the decoder.
2014-11-11 20:50:21 -08:00
Bobby Holley b3d649c2db Bug 1091008 - Implement a sensible GetBuffered override for MediaSourceReader using the existing GetBuffered on MediaSource. r=cajbir 2014-11-11 20:50:21 -08:00
Bobby Holley 9e6777da77 Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-11 20:50:21 -08:00
Bobby Holley 0edced4c63 Bug 1091008 - Teach MediaDecoderReader about its start time. r=cpearce
Duplicating state is never great, but this lets the reader make calculations
using this immutable state variable without involving the state machine. We
could alternatively punch a hole from MediaDecoderReader to
MediaDecoderStateMachine and access it there, but that would create tighter
coupling, and weird relationships for MSE.
2014-11-11 20:50:20 -08:00
Bobby Holley e049233714 Bug 1091008 - Make sure to always set mStartTime via SetStartTime. r=cpearce 2014-11-11 20:50:20 -08:00
Bobby Holley d547accf22 Bug 1091008 - Factor out IsDataCachedToEndOfResource() into a higher-level question and answer it sensibly for MSE. r=cpearce 2014-11-11 20:50:20 -08:00
Chris Double 67f7682b4c Backout 471009c10ae0 for web platform test failure on CLOSED TREE 2014-11-12 17:13:10 +13:00
Chris Double 43b0930d7b Backout 39fcd286ce68 for web platform test failure 2014-11-12 17:12:16 +13:00
Anthony Jones d3ce036674 Bug 1096157 - Add IsMediaSegmentPresent() for MP4; r=mattwoodrow 2014-11-12 16:37:43 +13:00
Chris Double 964b06d63d Bug 1065215 - Fix EME test for changes to MediaSource::endOfStream - r=cpearce 2014-11-12 15:53:47 +13:00
Chris Double 30cf08f0c8 Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karl
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource. Only run the Range Removal algorithm when MediaSource
duration is changed instead of calling Remove on SourceBuffers.
Updates tests for the fact that update{start,end} can now be called more than once due to DurationChange.
2014-11-12 15:53:43 +13:00
Chris Double ext:(%20with%20tweaks%20by%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E) 1c243ba23b Bug 1089937 Add a fuzz time to end times for MSE reader switching on EOS r=karl,mattwoodrow
mLast{Audio,Video}Time differs from the actual end time because of
Bug 1065207 - the duration of a WebM fragment is an estimate not the
actual duration. In the case of audio time an example of where they
differ would be the actual sample duration being small but the
previous sample being large. The buffered end time uses that last
sample duration as an estimate of the end time duration giving an end
time that is greater than mLastAudioTime, which is the actual sample
end time.

Reader switching is based on the buffered end time though so we can't use
the actual sample end time for switching comparison.

For this reason we use the end time from the buffers to compare if we
should switch readers in this patch. We also add an EOS_FUZZ_US to allow
for the fact that it is an estimate and can differ slightly from actual times.

--HG--
extra : rebase_source : 47149609119c5dcd1ca7374501dd7c1e285469ef
2014-11-12 12:12:21 +13:00
Matthew Gregan ba1229203b Bug 1096750 - use getPlayableVideos in test_video_in_audio_element. 2014-11-12 15:39:46 +13:00
Matthew Gregan 442687a747 Bug 1096750 - Expect error event in test_video_in_audio_element if used with video-only media. r=cpearce 2014-11-11 15:52:37 +13:00
Seth Fowler 9f0f9582f4 Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Ryan VanderMeulen dfa6d6b02a Backed out 7 changesets (bug 1086693) for Android bustage on a CLOSED TREE. DONTBUILD
Backed out changeset 6eed18d830d2 (bug 1086693)
Backed out changeset b67a2e48f281 (bug 1086693)
Backed out changeset 2b4b439e7e6c (bug 1086693)
Backed out changeset 3adfd767a92f (bug 1086693)
Backed out changeset 6ea8b9247915 (bug 1086693)
Backed out changeset 408af1e3b457 (bug 1086693)
Backed out changeset 4c759b83892a (bug 1086693)
2014-11-11 16:13:15 -05:00
James Willcox 92de0e9c7a Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-11 14:46:09 -06:00
Ryan VanderMeulen feff5cece6 Bug 1071217 - Disable test_imagecapture.html on Android due to going permafail.
CLOSED TREE
2014-11-11 14:43:04 -05:00
Andrea Marchesini 87c2435185 Bug 1073615 - One MediaStreamGraph singleton per audioChannel. r=roc 2014-09-29 03:43:00 -04:00
Chris Pearce cb447ee54d Bug 1096125 - Backout c129289d32d6 as Adobe/EME doesn't actually need those DLLs for OPM handshake. r=backout. 2014-11-11 15:00:02 +13:00
Matthew Gregan 1e029dfecb Bug 1091704 - Delay buffer frame calculation in WMF audio decoder until after UpdateOutputType to avoid using obsolete rate/channel values. r=cpearce 2014-11-11 14:17:09 +13:00
Matthew Gregan 50e28ecff7 Bug 1085175 - r=roc
--HG--
extra : rebase_source : 78e0e0b21c6bb049f9112fdb3f25639c69289dd1
2014-11-11 08:58:52 +13:00
Blake 4192a4a8aa Bug 1082545 - Make fastSeek always fast. r=sotaro
--HG--
extra : rebase_source : 4e12b971b2ee18931a54d30d51fc71437e095cdd
2014-11-10 11:54:08 +08:00