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

5012 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard cf6ee74e32 Bug 1222201: Only use container calculated dimensions. r=cpearce 2015-11-17 21:30:46 +11:00
Nils Ohlmeier [:drno] 1d8c0abcc0 Bug 1221837 - Accept hard coded codec numbers without rtpmaps. r=bwc
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudio.html => dom/media/tests/mochitest/test_peerConnection_basicAudioPcmaPcmuOnly.html
extra : rebase_source : ca8ab16272e2b3fc58019518d3d31e43430e7283
2015-11-15 23:26:46 -08:00
David Anderson 8e086a182c Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro) 2015-11-17 00:09:01 -08:00
David Anderson 27bfc27d62 Decouple SharedRGBImage and PlanarYCbCrImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:01 -08:00
David Anderson 7970ac45fd Decouple MacIOSurfaceImage from ImageContainer. (bug 1222910, r=mstange) 2015-11-17 00:09:00 -08:00
David Anderson ec187774dc Decouple SurfaceTextureImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson cb88eed605 Decouple EGLImageImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson c92530b253 Decouple D3D9SurfaceImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:00 -08:00
David Anderson 2e1669f2fe Decouple D3D11ShareHandleImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:00 -08:00
David Anderson 7e9cf5355c Decouple CairoImage from ImageContainer. (bug 1222910, r=roc) 2015-11-17 00:09:00 -08:00
Gerald Squelart 2617625048 Bug 1220326 - Wipe stack after Mac node id generation. r=jrmuizel
Implemented GetStackAfterCurrentFrame() for Mac, by finding which Mach VM
region contains the stack, then erasing everything between the start of the
region (lowest possible stack address) and the current stack frame pointer.
2015-11-16 11:51:00 -05:00
Andrea Marchesini 2a23ba2a31 Bug 1225146 - 'explicit' in some Gonk CTOR code, r=bkelly 2015-11-16 15:48:31 +00:00
Phil Ringnalda 909c614d94 Merge m-c to m-i 2015-11-15 19:16:20 -08:00
Phil Ringnalda e081b15b78 Bug 1223394 - skip more failing webspeech tests on Mulet, a=tlast 2015-11-15 19:11:14 -08:00
Phil Ringnalda 57c715376d Bug 1223394 - skip failing webspeech tests on Mulet, a=relief 2015-11-15 17:52:34 -08:00
Phil Ringnalda 90384091a3 Bug 1223394 - remove an odd extra space, a=nnoyance 2015-11-15 17:50:41 -08:00
Phil Ringnalda 276f8f5639 Bug 1223394 - skip dom/media/tests/mochitest/ipc/test_ipc.html on Mulet, where it both fails and behaves in a deeply weird way, a=horror 2015-11-15 17:46:55 -08:00
JW Wang 5dd1840487 Bug 1221009. Part 3 - add assertions to functions that shouldn't be called after shutdown. r=roc. 2015-11-16 07:51:22 +08:00
JW Wang 14c8d627dd Bug 1221009. Part 2 - remove unused code. r=roc. 2015-11-16 07:51:03 +08:00
JW Wang c87926273d Bug 1221009. Part 1 - add a class to forward notifications from MediaResource to MediaDecoder. r=roc. 2015-11-16 07:50:55 +08:00
Phil Ringnalda 0cccf0ed58 Merge m-i to m-c, a=merge 2015-11-14 13:22:10 -08:00
Phil Ringnalda 9fd6f0e994 Back out changeset 202b199b9fcf (bug 1223394) since it didn't actually disable the permaorange tests, a=nnoyance 2015-11-14 13:07:10 -08:00
Phil Ringnalda 951cf68c5f Merge m-c to m-i
CLOSED TREE
2015-11-13 21:10:49 -08:00
Robert O'Callahan 472e6027ce Bug 1198663. Skip null Images in VideoSink::RenderVideoFrames instead of treating them as valid. r=jwwang
--HG--
extra : commitid : Dsr6BrRKse6
extra : rebase_source : dfff21c195243ddf3fb69cee92caf22da5383abd
2015-11-12 09:59:04 +13:00
Gregor Wagner 94ac50668f Bug 1223394 - disable permaorange webrtc tests on Mulet, a=verylargeorange 2015-11-11 02:18:00 -08:00
Randell Jesup 2122816dfc Bug 1224442: null-check GMP Parent Shmem messages from the Child to handle messages after shutdown r=cpearce 2015-11-13 01:08:01 -05:00
Kyle Huey bdbb2ec50a Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Karl Tomlinson bc68ee1302 bug 1223520 avoid leaking NaNs to and from the otherwise unused imaginary frequency components r=padenot
The zeroth component is not removed from the BufferComplexMultiply() call so
as not to disrupt alignment.

The mOutputBuffer[halfSize].i assertions are removed because the code no
longer uses these components, and so their values are irrelevant.

--HG--
extra : rebase_source : 96014bdb66a86e1d764979f7b1a313c24196a60b
extra : histedit_source : 59ef41301d48a7f80798d8dbecc43aa85703c26f
2015-11-11 20:34:41 +13:00
Karl Tomlinson 9c3d0ed0df test for bug 1223520 r=padenot
--HG--
extra : rebase_source : 126c624ab62c82bddb45141ea2f8f7e7446f521e
extra : histedit_source : 4b2ba424644f0ab5493de4978ca9170b5ece4be1
2015-11-12 12:16:32 +13:00
Karl Tomlinson f9ed76a4de bug 1224102 reduce the size of the final FFT convolution stage if possible r=padenot
--HG--
extra : rebase_source : 18d699f2710d9094811e0d734bcb1cf085c147c6
extra : histedit_source : 0393d5f2d3251aae45f07473e103c026921054bc
2015-11-12 17:34:13 +13:00
sajitk 582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
sajitk 8eb3a68c9e Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn 2015-11-15 14:48:08 +01:00
JW Wang 8dedbfa33d Bug 1223599 - Remove the throttling argument from AbstractMediaDecoder::NotifyDataArrived(). r=jya. 2015-11-11 17:59:16 +08:00
Makoto Kato 730638a518 Bug 1223153 - Create new thread to enumerate voice items. r=eeejay 2015-11-12 18:24:12 +09:00
Wes Kocher f3a9eb2a26 Backed out changeset 1e5f3d1151d6 (bug 1219480) for cpp unittest bustage CLOSED TREE
--HG--
extra : commitid : BMVKq6cPeho
2015-11-11 09:36:56 -08:00
sajitk 3cbe348cdd Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian
--HG--
extra : rebase_source : c73098485fa005d914304fb6e7f8eba3c15e66dc
2015-11-11 06:52:00 +01:00
Jean-Yves Avenard 290f389093 Bug 1221825: P2. Ensure frame memory allocation succeeded. r=cpearce 2015-11-12 01:10:37 +11:00
Jean-Yves Avenard 66c9debe46 Bug 1221825: Fix logging arguments. r=cpearce 2015-11-12 01:10:36 +11:00
Dan Minor 229f2b76cc Bug 1171436 - support at least 8192 elements for PeriodicWave r=padenot
This increases the maximum PeriodicWave size to 8192 and adds an optimization
to use 8192 elements only in the case where we receive more than 4096
components. In accordance with the spec, a maximum number of components is no
longer enforced.

--HG--
extra : rebase_source : ecb9a401fabdb14f23f690c44944ece434599055
2015-10-27 22:05:47 -04:00
Jean-Yves Avenard 8dcb8265ce Bug 1220033: Fix HTMLMediaElement::seekable attribute for Mediasource. r=gerald
Interval is to start from 0 when duration is +infinity
2015-11-11 21:24:01 +11:00
Andreas Pehrson 609ea83a81 Bug 1223655 - Only check for track end if track exists in MediaEngineDefaultAudioSource. r=jesup
--HG--
extra : commitid : 9cp03yDbKSh
extra : rebase_source : 086bfa9a3a2996068cd60c8f75cc1b064160a94a
extra : histedit_source : 56ae9ea5451aba65913eb2a8af7e139a15fb1910
2015-11-11 12:18:51 +08:00
JW Wang 2344481e8c Bug 1220558. Part 2 - remove unused members. r=jya. 2015-11-11 07:43:41 +08:00
JW Wang 4f2d0e76bc Bug 1220558. Part 1 - remove unused arguments from MediaDecoderReader::DispatchNotifyDataArrived() and its callees/callers. r=jya. 2015-11-11 07:43:38 +08:00
Sotaro Ikeda 4c2784ab56 Bug 1214997 - Use MozPromise in MediaCodecProxy and OMXCodecProxy r=bwu 2015-11-10 05:42:42 -08:00
Andreas Pehrson 875b8f9012 Bug 1219711 - Lower AudioStreamAnalyser's smoothingTimeConstant for speedier tests. r=padenot
--HG--
extra : commitid : JsKRqk47HaL
extra : rebase_source : 12e1936e46a7af92c68d988c7e0afeda4ff9ae11
2015-11-10 17:18:18 +08:00
Andreas Pehrson 30ee4efe6f Bug 1219711 - Don't rely on timer interval in fake audio track. r=jesup
Fake audio tracks would rely on an nsITimer firing every 10ms, and on
each fire they would append 10ms of data.

This didn't work in practice as the intervals observed were most of the
time larger than 10ms, e.g.:
> Last Notify() 12,042ms ago
> Last Notify() 11,327ms ago
> Last Notify() 11,097ms ago
> Last Notify() 11,601ms ago
> Last Notify() 11,694ms ago
> Last Notify() 11,593ms ago
> Last Notify() 11,698ms ago
> Last Notify() 12,492ms ago

This patch first appends a slight buffer to the fake audio track to have
some resilience against underruns when the timer exceeds its interval
like this. It also measures the actual time between two Notify() calls
so that the exact number of consumed audio samples can be appended back.

Should we be under such heavy CPU load that the MediaManager thread is
starved out, we'll print a warning and avoid appending exceedingly much
data by appending only the size of the initial buffer.

--HG--
extra : commitid : Hz8WW4Vf85o
extra : rebase_source : 48aef26640ec6626e9605ed51e38025b682545c2
2015-11-09 23:17:42 +08:00
Andreas Pehrson c7a8fe6a09 Bug 1219711 - Remove fakeness from webrtc tests. r=jib
--HG--
extra : commitid : 6CsDPrziPzm
extra : rebase_source : 27ed82920ec7066d94c05c2a1784f2668eff584d
2015-11-09 23:17:42 +08:00
Andreas Pehrson 4a2ca8f712 Bug 1219711 - Let fake stream take precedence in testing. r=jib
TL;DR requesting a fake stream always gives you a fake stream. No magic.

The gUMConstraint `fake: true` should take precedence and if set always
use MediaEngineDefault.
If it is set the state of `faketracks` is passed
on to MediaEngineDefault.
If it is not set, but (any of) audio/video loopback devices are set, the
device enumeration will filter out only those.

--HG--
extra : commitid : IGZfna954PV
extra : rebase_source : e9b5f69c176f6987ab6b0f9081147330a2bf87ad
2015-11-09 23:17:42 +08:00
Andreas Pehrson 62ceff0f0e Bug 1219711 - Add mochitest for track disabling over a peer connection. r=jib
--HG--
extra : commitid : Hx4btcx4Eu8
extra : rebase_source : 90777fd953d029dca192f0ed028eae4893ae71f0
2015-11-10 17:17:13 +08:00
Andreas Pehrson 6b40da9ca1 Bug 1219711 - Refactor captureStream_common.js to accept generic pixel testing method. r=jib
--HG--
extra : commitid : 1Lds1zOCtPn
extra : rebase_source : 391f0a9871e0f5c26d5480a10344e6a1c5fcb608
2015-11-09 23:17:41 +08:00