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

5198 Коммитов

Автор SHA1 Сообщение Дата
Chris Pearce efc8956d13 Bug 1228461 - Implement keyids initData type for ClearKey. r=gerald 2015-11-27 17:13:40 +13:00
Chris Pearce 39cfd1238f Bug 1228215 - Migrate existing GMP storage from post-42 pre-45 location to 45 location. r=jwwang 2015-11-27 10:53:32 +13:00
Chris Pearce 537e205dfc Bug 1228215 - Store each GMP's storage and nodeId salt in separate directories. r=jwwang 2015-11-27 10:53:32 +13:00
Chris Pearce 3da2dc5dd2 Bug 1228215 - Expose the GMP name on each GMPParent. r=jwwang 2015-11-27 10:53:32 +13:00
Chris Pearce 6818d3ec67 Bug 1228215 - Add a 'gmpName' parameter to GMPService::GetNodeId(), so each GMP can see a different nodeId for the same origin. r=jwwang 2015-11-27 10:53:31 +13:00
Chris Pearce 8ed9d0fcbd Bug 1228215 - Add helper to do dir enumeration in GMPServiceParent. r=jwwang 2015-11-27 10:53:17 +13:00
Carsten "Tomcat" Book 358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Carsten "Tomcat" Book a1980896be merge fx-team to mozilla-central a=merge 2015-11-26 11:57:05 +01:00
Eugen Sawin 61cdb4a6cd Bug 1219178 - [9.1] Make SeekPosition available with tests disabled. a=me for fixing build problems 2015-11-25 06:44:00 +01:00
Carsten "Tomcat" Book 7fc565c303 Merge mozilla-central to fx-team 2015-11-25 13:59:23 +01:00
David Rajchenbach-Teller 0da8936844 Bug 1216972 - MediaManager AsyncShutdown for content processes. r=jesup
--HG--
extra : transplant_source : %D9%A4%C4%95%EB%F9%0Fh%83z%21%91A5cu7%B4%DF%DE
2015-11-18 21:42:16 +01:00
Chris Pearce f14cc10a3d Bug 1227790 - Update GMP API to include new MediaKeyStatus types. r=jwwang 2015-11-26 13:51:05 +13:00
Karl Tomlinson b0b63d25cd bug 1227411 add logging of AudioParam API use r=padenot
--HG--
extra : rebase_source : 5399d15dc0e81c5745c2952e39d3d74ba6ce08c4
2015-11-24 18:08:13 +13:00
Karl Tomlinson 3e2ffb81fd bug 1227411 add some initial logging of AudioNode API use r=padenot
--HG--
extra : rebase_source : 9ffb6c3da3468b305d31f7d907a674671674611f
2015-11-24 15:55:10 +13:00
Karl Tomlinson c95ab76c6c bug 1227411 add WEB_AUDIO_API_LOG r=padenot
--HG--
extra : rebase_source : c27e117a0a6af5fe8913dabb656842281643ecc4
2015-11-24 12:48:17 +13:00
Wes Kocher 72261b4523 Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)

--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Eugen Sawin 607c52ca89 Bug 1219178 - [8.1] Constrain seek position getter to max duration. r=jya 2015-11-24 15:02:35 +01:00
Eugen Sawin 334574ba77 Bug 1219178 - [7.1] Add out-of-bounds seeking test. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin 1d6552cfbe Bug 1219178 - [6.1] Add small test file case. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin 3cb42afa72 Bug 1219178 - [5.1] Return invalid resource length when mock resource is uninitialized instead of crashing. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin 4356ebc299 Bug 1219178 - [4.1] Accept only layer III frames. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin c389d0fb93 Bug 1219178 - [3.1] Clamp seeking offsets to estimated frame boundaries. r=jya 2015-11-24 15:02:33 +01:00
Eugen Sawin 3bc9e20c06 Bug 1219178 - [2.1] Add frame consistency verification to reduce chance for false positive detection. r=jya 2015-11-24 15:02:33 +01:00
Eugen Sawin f4295dd666 Bug 1219178 - [1.1] Prevent ScanUntil from overshooting the target time frame. r=jya 2015-11-24 15:02:32 +01:00
Nicolas Silva 318de9bd3b Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Chris Pearce 220ccc0478 Bug 1223980 - Add iterable<ArrayBuffer,MediaKeyStatus> to MediaKeyStatusMap. r=bz 2015-11-24 13:13:21 +13:00
Chris Pearce 2e8e9b44e1 Bug 1223980 - Move CopyArrayBufferViewOrArrayBufferData to EMEUtis and add GetArrayBufferViewOrArrayBufferData. r=bz 2015-11-24 13:13:11 +13:00
Eugen Sawin 121337c4af Bug 1217802 - [2.1] Return 0 for incomplete ID3 header size. r=jya 2015-11-23 22:30:34 +01:00
Eugen Sawin 1ffefee100 Bug 1217802 - [1.1] Decrease buffer size when scanning for next frame. r=jya 2015-11-23 22:30:34 +01:00
Nils Ohlmeier [:drno] acfbf2c00d Bug 1188391 - separate immediate ICE failures from failures after checking. r=bwc, r=vladan
--HG--
extra : transplant_source : %12%C3%A1%DD%B2X%13gA%20%F0%F4l8%BA%40S%B0Q%D5
2015-11-16 13:01:46 -08:00
JW Wang 22151cf459 Bug 1218311 - Port the fix of bug 1193614 to VideoSink. r=cpearce. 2015-11-25 15:15:05 +08:00
Sotaro Ikeda 84b12d8d2c Bug 1227415 - Fix copy buffer size r=jolin 2015-11-24 21:05:35 -08:00
Chris Pearce cea22429d5 Bug 1226450 - Report audio/video codecs used in HTMLMediaElement and WebAudio via telemetry. r=jya 2015-11-25 12:52:48 +13:00
Ehsan Akhgari 2bc6fae605 Add a missing include to GMPLoader.cpp to fix local OSX builds, no bug 2015-11-23 10:10:44 -05:00
Andrea Marchesini f44bf80ff9 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc 2015-11-23 11:35:14 +00:00
Carsten "Tomcat" Book 694a81aba1 Backed out changeset 162ded2e49c8 (bug 1223696) for failing on own test on a CLOSED TREE 2015-11-23 09:48:56 +01:00
JW Wang fb3cd6a536 Bug 1226569. Part 2 - assert functions that should never be called after shutdown. r=jya. 2015-11-23 10:35:56 +08:00
JW Wang 328ebd72a1 Bug 1226569. Part 1 - Use MediaEventSource to publish MetadataLoaded and FirstFrameLoaded events. r=jya. 2015-11-23 10:35:18 +08:00
JW Wang b194bb0f80 Bug 1219163. Part 2 - Move some functions that are never called from the interface of AbstractMediaDecoder down the class hierarchy. r=jya. 2015-11-23 10:26:49 +08:00
JW Wang a7be18a6e3 Bug 1219163. Part 1 - Remove unused functions from AbstractMediaDecoder. r=jya. 2015-11-23 10:19:04 +08:00
Jean-Yves Avenard 321718db5f Bug 1226707: P3. Only create the type of decoder we will need. r=cpearce 2015-11-23 16:30:49 +11:00
Jean-Yves Avenard 1deba9f634 Bug 1226707: P2 Ensure we won't operate on a decoder that failed to initialize. r=cpearce 2015-11-23 16:30:48 +11:00
Jean-Yves Avenard ef21ca8081 Bug 1226707: [ffmpeg] P1. Delete codec context upon initialization failure. r=gerald 2015-11-23 16:30:47 +11:00
Robert O'Callahan f537754554 Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
--HG--
extra : commitid : 1b7GXS454NK
extra : rebase_source : cd2e35e1dc3be39945d00bfd2648f104258955c8
2015-11-17 16:34:28 +13:00
Jean-Yves Avenard 835f022d65 Bug 1226931: [MSE] Restrict leeway to append window start. r=gerald.
We only allow a leeway if the append window start is set to its default value (0)
2015-11-23 09:08:26 +11:00
Chris Pearce f74bb6b010 Bug 1226430 - Remove alg from ClearKey license parser. r=gerald 2015-11-23 09:58:51 +13:00
Boris Zbarsky 1fec018fcb Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv 2015-11-20 16:29:41 -05:00
Boris Zbarsky df75080cc3 Bug 1226479. Change ErrorResult::ThrowTypeError/ThrowRangeError to take string references, not pointers. r=mccr8 2015-11-20 13:36:46 -05:00
Carsten "Tomcat" Book 1a584aca79 Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Nicolas Silva 94c7acf9ef Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Edwin Flores 2a1f5c4acb Bug 1226003 - Stop using MaybeRejectBrokenly in DetailedPromise - r=bz 2015-11-20 13:21:48 +00:00
Jean-Yves Avenard b6aac71af1 Bug 1222866: P3. Fix mochitest. r=me
Actual calculated duration was 9.2879819869995117. The new behaviour and rounded value is as such more correct
2015-11-20 22:59:52 +11:00
Jean-Yves Avenard 30276a5c95 Bug 1222866: P2. Add gtest checking on seconds -> microseconds -> seconds. r=gerald 2015-11-20 22:59:51 +11:00
Jean-Yves Avenard f80719a883 Bug 1222866: P1. Round second to closest microseconds. r=gerald.
Due to the internal double representation as per IEEE 754, during conversion the use of ints would have rounded down our value.
2015-11-20 22:59:51 +11:00
Sotaro Ikeda acbc5c644e Bug 1222923 - Enable MOZ_FMP4 on gonk L r=jolin 2015-11-20 01:18:06 -08:00
Jean-Yves Avenard b0cac59e9b Bug 1222387: P2. Add mochitest for negative seek time. r=jwwang 2015-11-20 20:05:07 +11:00
Carsten "Tomcat" Book a17d19d02b Backed out changeset 002714e2ccba (bug 1222866) for m2 test failures 2015-11-20 08:28:09 +01:00
Carsten "Tomcat" Book ee4679d014 Backed out changeset 74caf0456e1e (bug 1222866) 2015-11-20 08:24:11 +01:00
Jean-Yves Avenard 68cfd7635f Bug 1222866: P2. Add gtest checking on seconds -> microseconds -> seconds. r=gerald 2015-11-20 15:41:13 +11:00
Jean-Yves Avenard 7c8d6ceb7d Bug 1222866: P1. Round second to closest microseconds. r=gerald.
Due to the internal double representation as per IEEE 754, during conversion the use of ints would have rounded down our value.
2015-11-20 15:41:13 +11:00
Byron Campen [:bwc] d43453c07e Bug 1175609 - Bring onnegotiationneeded in line with spec. r=mt
--HG--
extra : transplant_source : %D3Z%87AP%CC%BA%AA%0B%27z%A9bh%01%0A3%40%C7U
2015-11-16 17:05:39 -06:00
Guang-De Lin 42c53cfea9 Bug 1154213 - Handle timestamps of video/webm vorbis track encoding. r=mreavy, r=rjesup 2015-11-18 10:51:07 +08:00
Birunthan Mohanathas 399934f259 Bug 1217307 - Remove some unnecessary null checks in rest of dom/. r=njn 2015-11-19 09:13:49 +02:00
Eitan Isaacson 4b0f6ad782 Bug 1225352 - Check that mSpeechQueue is not empty before referencing first element. r=smaug 2015-11-18 21:54:32 -08:00
Phil Ringnalda f959fdd51a Bug 1189784: Disable webrtc test on Android 4.3 debug - emulator too slow
CLOSED TREE
2015-11-18 19:09:47 -08:00
Makoto Kato 73f2fbe016 Bug 1202735 - Add nsIObserver to avoid warning. r=eeejay 2015-11-19 10:10:23 +09:00
Jean-Yves Avenard 3fbc97331d Bug 1209388: [mp3] Remove AppleMP3Reader. r=kentuckyfriedtakahe
Following bug 1209410, it was no longer used.
2015-11-19 10:40:33 +11:00
Jean-Yves Avenard 0911f86c44 Bug 1223333: [ffmpeg] Do not rely on library name to determine the libavcodec's version. r=kentuckyfriedtakahe
Also uses portable way to dynamically open libraries.
2015-11-19 10:32:21 +11:00
Randell Jesup 3975130d32 Bug 1189784: Disable webrtc test on Android 4.3 debug - emulator too slow rs=bustage
on a CLOSED TREE
2015-11-18 17:29:14 -05:00
Randell Jesup aebdc6cc4f Bug 1225729: Whitelist specific bad RTCP timestamp value r=drno 2015-11-18 15:03:29 -05:00
Randell Jesup 9c83bc8f96 Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports.  Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Randell Jesup bc9f456480 Bug 1218799: Shutdown MediaManager engines from the MediaManager thread r=jib 2015-11-18 15:03:13 -05:00
Phil Ringnalda 11b784c436 Merge m-c to m-i 2015-11-17 20:33:07 -08:00
Phil Ringnalda ff8fa4d932 Bug 1223394 - Reenable webspeech synth tests on Mulet now that it has audio support, a=philor
--HG--
extra : rebase_source : fc7ca45d6f3b8576a80cb7787eb6d6d59230b87c
2015-11-17 19:30:54 -08:00
Karl Tomlinson a8ba297e98 bug 1225649 use CreatePlanarYCbCrImage() now that CreateImage() is gone r=dvander
See 57c5d2b88d26 and 1274f88a8e35.

--HG--
extra : rebase_source : 3b177958774622948c8318169352274a53383d15
2015-11-18 12:40:05 +13:00
Gregory Arndt 5540610f3d Bug 1223394 - Use desktop-test image for Mulet mochitests to fix audio issues, r=aus, a=philor
--HG--
extra : rebase_source : 73bb5268f8be0ac64eda5b083f05543913ce10b7
2015-11-17 14:40:31 -06:00
Karl Tomlinson b859c7f93d bug 1222202 implement query interface to nsIMemoryReporter r=bz
--HG--
extra : rebase_source : 5920d3df2b4629bc379959011a5d2a971776311d
2015-11-16 13:08:21 +13:00
JW Wang 518cc44e44 Bug 1219142. Part 2 - remove unused code. r=jya. 2015-11-18 09:01:01 +08:00
JW Wang fbb85ac25a Bug 1219142. Part 1 - add AbstractMediaDecoder::DataArrivedEvent() to publish events. r=jya. 2015-11-18 09:00:56 +08:00
Karl Tomlinson 50201f89c3 bug 1225003 test no crashes in decodeAudioData() and offline context memory reporting r=erahm
--HG--
extra : rebase_source : d7c0389512088d5b308a7f0ad9f667e36aaad3f2
2015-11-18 10:52:35 +13:00
Karl Tomlinson dbdd106a64 bug 1225003 null-check mBuffer in SizeOfExcludingThis() r=padenot
--HG--
extra : rebase_source : b8b63f861e2d58d4b45a4d4ec3d7c187afc882b6
2015-11-17 08:58:48 +13:00
Karl Tomlinson cf94b7c62c bug 1224022 produce memory report after processing main thread messages r=padenot
which may add new streams.

--HG--
extra : rebase_source : e4cda9aab2268b63251cda79143a3a5ba8fa3d77
2015-11-13 18:58:16 +13:00
Eugen Sawin 4cdb0b9c42 Bug 1221991 - [4.2] Add AndroidDecoderModule logging. r=snorp 2015-11-17 20:50:29 +01:00
Eugen Sawin 4e994b9ef2 Bug 1221991 - [3.1] Manage module state via accessor functions. r=snorp 2015-11-17 20:50:29 +01:00
Eugen Sawin a8d4e27cf7 Bug 1221991 - [2.3] Split DecoderLoop into functions, simplify decoding state and clean up style. r=snorp 2015-11-17 20:50:28 +01:00
Eugen Sawin 81ff3f75e8 Bug 1221991 - [1.3] Make SupportsMimeType a const function. r=jya 2015-11-17 20:50:28 +01:00
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
Makoto Kato 9130d219ea Bug 1221520 - nullcheck for mSpeechdClient. r=eeejay 2015-11-10 19:14:02 +09:00
John Lin 39c2ac658f Bug 1222919 - Make ProcessFlush() virtual. r=jya 2015-11-09 18:59:00 +01:00
Alastor Wu 3219e1f97e Bug 1218593 - switch back to the AudioCallbackDriver when there is new audio again. r=padenot
--HG--
extra : transplant_source : J%1C3K%E9/n%1E%BA%A5%96%F1Y%2B%FA%0BV%DA%06%98
2015-11-09 16:32:00 +08:00
Kelly Davis 9d27aa2f03 Bug 1218337 - Part 1 of 1: Introduced permission 'speech-recognition' and used it in place of the app-check. r=smaug
--HG--
extra : rebase_source : 052f21d58396df9a3def0f52c81d600aa16384c3
2015-11-06 09:59:00 +01:00
John Lin c101307436 Bug 1216895 - assert that decoder methods are run on correct thread. r=jya
--HG--
extra : rebase_source : 37e335c89a88ff1744b55e006b67132f11fc2080
2015-11-09 18:58:00 +01:00
Wes Kocher 8df6ddfb90 Merge m-c to inbound, a=merge
--HG--
rename : mobile/android/base/resources/drawable-hdpi/overlay_send_tab_icon.png => mobile/android/base/resources/drawable-hdpi/shareplane.png
rename : mobile/android/base/resources/drawable-xhdpi/overlay_send_tab_icon.png => mobile/android/base/resources/drawable-xhdpi/shareplane.png
rename : mobile/android/base/resources/drawable-xxhdpi/overlay_send_tab_icon.png => mobile/android/base/resources/drawable-xxhdpi/shareplane.png
extra : commitid : DZzg6KsUXKv
extra : rebase_source : 6583dc121ed84d975164d2c711721831d8aa9f38
2015-11-09 17:33:59 -08:00
Wes Kocher d533ed9ba6 Merge b2ginbound to central, a=merge
--HG--
extra : commitid : J9BhYbnGILd
2015-11-09 17:31:35 -08:00
Bill McCloskey f8aa3d2562 Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-09 10:21:11 -08:00
Alastor Wu caa47cc319 Bug 1220320 - implement the nsSupportsWeakReference. r=baku
--HG--
extra : transplant_source : %B1%5C%05%C3%06lY%88%EDv%E9%22M6%3Cdtz%A4%3E
2015-11-06 16:29:03 +08:00
Carsten "Tomcat" Book 4d6f05d2f8 merge mozilla-inbound to mozilla-central a=merge 2015-11-09 14:55:30 +01:00
Wes Kocher e98e767258 Merge m-c to b2ginbound, a=merge
--HG--
extra : commitid : 9BSOpO5MEsb
2015-11-06 15:14:26 -08:00
Wes Kocher 8c29b2aace Backed out 5 changesets (bug 1219711) for frequent android m(9) failures a=bustage
Backed out changeset 2d5f09d89424 (bug 1219711)
Backed out changeset cf14a6e5f340 (bug 1219711)
Backed out changeset 4eaa8cf9a752 (bug 1219711)
Backed out changeset 65abe62869df (bug 1219711)
Backed out changeset a21d79a94307 (bug 1219711)

--HG--
extra : commitid : 2uBL6k0T3uy
extra : source : aaee8ec22e5fd0650818aab7d85ff4b069681a35
2015-11-06 11:14:11 -08:00
Gregor Wagner 96837db759 Bug 1222478 - Enable more mulet tests. r=gerard-majax 2015-11-06 20:01:45 +01:00
Benjamin Chen cf35fa9aa2 Bug 1219300 - Add mutex to protect the |result| because the variable will be access by multiple threads at the same time. r=cpearce 2015-11-06 15:28:22 +08:00