Blake Wu
80908bb94a
Bug 941302 - Part 5: Add Gonk Decoder Module. r=cpearce
...
From 6832d7208fc72eb8ff6782c87f5831ab3ff5a9bb Mon Sep 17 00:00:00 2001
2014-08-07 17:46:11 +08:00
Blake Wu
3b455f5dfd
Bug 941302 - Part 3: Changes for adding Gonk Decode Module. r=cpearce
...
From de67de8646b413bce991789b42d09f398b162b53 Mon Sep 17 00:00:00 2001
2014-08-07 18:23:45 +08:00
Blake Wu
377f3dc899
Bug 941302 - Part 2: Changes in MediaCodecProxy. r=edwin
...
From b24f8c0da5baaafad2bbba1bbeee304d5c746631 Mon Sep 17 00:00:00 2001
2014-08-07 18:19:10 +08:00
Chris Pearce
a249b98033
Bug 1049107 - Fix build with --disable-eme. r=kentuckyfriedtakahe
2014-08-08 14:44:04 +12:00
Chris Pearce
636eece8ca
Bug 1050199 - Support the GMP returning arbitrary audio sample rates and number of channels. r=jesup
2014-08-08 14:44:01 +12:00
Chris Pearce
48b677d899
Bug 1047107 - Make CDMProxy Close() its GMPDecryptorProxy on Shutdown. r=ehsan
2014-08-08 14:43:54 +12:00
Paul Adenot
7e632469bd
Bug 1047831 - r=ehsan
2014-08-07 17:02:36 +02:00
Mike Hommey
0f4c5d9244
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Chris Pearce
d985821ff5
Bug 1046003 - Ensure duplicate frames after a seek have an Image. r=kinetik
2014-08-07 12:02:56 +12:00
Ehsan Akhgari
8d232f5b1b
Bug 579517 follow-up: Remove NSPR types that crept in
2014-08-08 08:39:07 -04:00
Randell Jesup
2c8b0c22d6
Bug 1049302: Avoid audio delay in B2G audio-video getUserMedia captures r=roc
2014-08-06 01:05:48 -04:00
Mike Hommey
ec54bf6c1f
Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal
2014-08-06 07:25:33 +09:00
Ryan VanderMeulen
658d21669b
No bug - Re-enable media crashtests that no longer fail on Android and B2G.
2014-08-05 16:10:41 -04:00
Ryan VanderMeulen
597191aea8
Merge m-c to inbound on a CLOSED TREE. a=merge
2014-08-05 16:01:50 -04:00
Ed Morley
28ba98c122
Merge mozilla-central and b2g-inbound
2014-08-05 16:33:22 +01:00
Kyle Huey
303ec8aca3
Bug 1034308: Don't use NS_DECL_NSISTREAMINGPROTOCOLLISTENER on RtspMediaSource since it doesn't actually inherit nsIStreamingProtocolListener. r=ethan
2014-08-05 08:18:45 -07:00
Chris Pearce
631440484f
Bug 1048107 - Bustage fix. r=bustage.
2014-08-05 20:33:01 +12:00
Chris Pearce
c0ec5650c9
Bug 1048107 - Add GMPTimer implementation and placeholder GMP clock. r=jesup
2014-08-05 19:56:05 +12:00
Chris Pearce
2245d8c218
Bug 1048104 - Add GMPMutex::Destroy(). r=jesup
2014-08-05 19:56:04 +12:00
Chris Pearce
58a96d4766
Bug 1048102 - Delete GMPThreads as they're joined. r=jesup
2014-08-05 19:56:04 +12:00
Chris Pearce
e2dd7df0b9
Bug 1048097 - Delete the GMPBuffer we send into GMP/CDM for decryption once it's been returned decrypted. r=jesup
2014-08-05 19:56:04 +12:00
Chris Pearce
bbdccf59f7
Bug 1047214 - Add MediaDataDecoders that uses a GMP for decoding as well as EME decryption. r=edwin
2014-08-05 19:56:04 +12:00
Nigel Babu
851af43474
Include "mozilla/Preferences.h" to prevent build failure (Bug 1045915) r=glandium ON A CLOSED TREE
2014-08-05 12:54:17 +05:30
Anthony Jones
e7ff4e143d
Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin
2014-08-05 18:12:48 +12:00
Anthony Jones
b17d7cfa2f
Bug 1045915 - Add a pref to test streams with a missing ftyp atom; r=kinetik
2014-08-05 18:12:46 +12:00
Wes Kocher
8690584308
Backed out 2 changesets (bug 1045909, bug 1045915) for build failures
...
Backed out changeset 70e3d6723e8e (bug 1045909)
Backed out changeset d137dd97d955 (bug 1045915)
2014-08-04 19:18:34 -07:00
Jed Davis
7bab545482
Bug 1012951 - Add Linux sandboxing for GeckoMediaPlugin processes. r=kang r=ted
...
--HG--
extra : rebase_source : 1b890000d5b8d2a8954cdd1118a1023eba829c29
2014-08-04 15:11:18 -07:00
Anthony Jones
1d729bea82
Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin
2014-08-05 13:35:04 +12:00
Anthony Jones
901eef7d13
Bug 1045915 - Add a pref to test streams with a missing ftyp atom; r=kinetik
2014-08-05 13:35:02 +12:00
Wes Kocher
7912756da5
Backed out changeset ef8d10dc3927 (bug 1048097) for build bustage on a CLOSED TREE
2014-08-04 16:07:18 -07:00
Wes Kocher
b3604eb0ca
Backed out changeset a38bb1a95176 (bug 1048102) for build bustage on a CLOSED TREE
2014-08-04 16:07:08 -07:00
Wes Kocher
7d862f333b
Backed out changeset 7b550d45454b (bug 1048104) for build bustage on a CLOSED TREE
2014-08-04 16:06:59 -07:00
Wes Kocher
6f537c630b
Backed out changeset 83d8226768ee (bug 1048107) for build bustage on a CLOSED TREE
2014-08-04 16:06:41 -07:00
Chris Pearce
7c9ed0305d
Bug 1048107 - Add GMPTimer implementation and placeholder GMP clock. r=jesup
2014-08-05 10:18:31 +12:00
Chris Pearce
44ec4974a4
Bug 1048104 - Add GMPMutex::Destroy(). r=jesup
2014-08-05 10:18:31 +12:00
Chris Pearce
e6ff1eaf1d
Bug 1048102 - Delete GMPThreads as they're joined. r=jesup
2014-08-05 10:18:31 +12:00
Chris Pearce
f32c7614e8
Bug 1048097 - Delete the GMPBuffer we send into GMP/CDM for decryption once it's been returned decrypted. r=jesup
2014-08-05 10:18:12 +12:00
Shelly Lin
ae16b3559d
Bug 1047307 - Remove the check of onremovetrack in a mochitest. r=roc
2014-08-01 18:49:48 +08:00
Syd Polk
b215c6a77c
Bug 1036992 - Split up test_seek.html into multiple tests. r=cpearce
...
--HG--
rename : content/media/test/test_seek2.html => content/media/test/test_invalid_seek.html
2014-07-31 14:37:00 -04:00
Randell Jesup
032f0dc66b
Bug 1044408: add missing nit from review r=ted
2014-08-04 10:28:20 -04:00
Benjamin Chen
dabe5ec24b
Bug 1043900 - Handle EOS properly. Send EOS to MediaCodec from input source and receive it from output. r=cpearce
2014-08-04 15:52:43 +08:00
Ed Morley
070f2d591a
Merge mozilla-central and inbound
2014-08-04 12:23:28 +01:00
Brad Lassey
35440f6e21
bug 1041700 - add browserWindow and scrollWithPAge to media constraints r=jesup,jib,khuey
2014-07-21 14:57:28 -04:00
Nathan Froyd
b0d8d29205
Bug 1046784 - move -DNOMINMAX definitions to moz.build; r=mshal
2014-07-31 10:41:48 -04:00
Ralph Giles
2e9e69a4dc
Bug 1046301 - AppleATDecoder: call DrainComplete. r=cpearce
...
Propagate changes from bug 1039128.
2014-07-30 16:07:00 -07:00
Ralph Giles
c6fb82a56d
Bug 1046301 - AppleVTDecoder: call DrainComplete. r=cpearce
...
Propagate changes from bug 1039128 and some other cleanup.
2014-07-30 16:06:00 -07:00
Andrea Marchesini
4f5d14ea08
Bug 1046582 - mochitest for AudioChannel changes in MediaStream objects, r=ehsan, r=bz
2014-08-03 14:46:17 +01:00
Chris Pearce
3c3331c94e
Bug 1047824 - Make Apple PDM handle Shutdown() call on non-main thread. r=rillian
2014-08-03 19:29:19 +12:00
Chris Pearce
acf9e6cd5b
Bug 1047824 - Call PlatformDecoderModule::Shutdown() in MP4Reader::Shutdown() on the decode task queue. r=kinetik
2014-08-03 19:28:39 +12:00
Chris Pearce
aea84628ca
Bug 1047204 - Implement GMPAudioDecoder interface. r=jesup
2014-08-03 09:29:26 +12:00
Chris Pearce
7cc92fb518
Bug 1047205 - Attach crypto info to encoded GMP video frames. r=jesup
2014-08-03 09:29:18 +12:00
Randell Jesup
83443207ef
Bug 1047121: Release Window-capture VideoEngine when done; clean up shutdown code r=cpearce
2014-08-02 00:30:51 -04:00
Randell Jesup
d922d76394
Bug 1047442: bustage fix (unified builds) rs=bustage,kwierso on a CLOSED TREE
2014-08-01 17:53:59 -04:00
Randell Jesup
251c8f2513
Bug 1047442: Add thread to resolve deadlock on sendCritSect caused by sync Encode dispatch to GMPThread r=pkerr
2014-08-01 17:27:52 -04:00
Paul Adenot
fb61e0a656
Bug 1046930 - Fix loop index when sending the status of the microphone to the AudioStream. r=jesup
2014-08-01 15:29:19 +02:00
Paul Adenot
bbbfbded9e
Bug 1046814 - Propertly set the MediaDecoderStateMachine parameters after its initialization when using a MediaSourceDecoder. r=kinetik
2014-08-05 16:55:02 +02:00
Ryan VanderMeulen
f8ab4ab265
Bug 1048863 - Disable 1028458.html on Android and B2G.
2014-08-05 08:37:22 -04:00
Ryan VanderMeulen
2dd4f9355e
Bug 888557 - Skip 459439-1.html on Android for intermittent timeouts.
2014-08-05 08:37:21 -04:00
Ryan VanderMeulen
4d5908e8e7
Bug 1048628 - Skip 0-timescale.html on Android due to being perma-fail.
2014-08-05 08:37:21 -04:00
Paul Adenot
954f625a00
Bug 1046470 - Only reset low latency stream, and properly unlock the Mutex. r=jesup
2014-08-01 14:12:10 +02:00
Chris Pearce
0d51998ee9
Bug 1047188 - Ensure we only call MediaDataDecoder::Drain() once, and break out of MP4Reader::Decode() when DrainComplete() is called. r=kentuckyfriedtakahe
2014-08-01 16:04:37 +12:00
Birunthan Mohanathas
b2864e176d
Bug 1044445 - Collapse test-only moz.build files under content/media/ into ancestor moz.build files. r=glandium
2014-07-31 12:54:21 -07:00
Nathan Froyd
9ea6c585f8
Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium
2014-07-24 11:55:33 -04:00
JW Wang
5df44ffedf
Bug 1034957 - don't spin decode task queue waiting for audio frames since it hangs with gstreamer 1.0. r=cpearce
2014-07-30 20:58:00 +02:00
Daniel Holbert
aa377700c6
Bug 1046282 part 4: Make Create*Decoder functions return already_AddRefed. r=rillian
2014-07-30 18:40:21 -07:00
Daniel Holbert
44a462e1a0
Bug 1046282 part 3: Use nsRefPtr instead of RefPtr for DecoderData::mDecoder (and mTaskQueue, for consistency & good measure). r=rillian r=cpearce
2014-07-30 18:40:19 -07:00
Daniel Holbert
9c663b0e34
Bug 1046282 part 2: Drop unnecessary else-after-return in EMEDecoderModule.cpp. r=rillian
2014-07-30 18:40:18 -07:00
Daniel Holbert
07ea0b12df
Bug 1046282 part 1: Make Create*Decoder function-signatures use a consistent style. r=rillian
2014-07-30 18:40:14 -07:00
Randell Jesup
523b21da24
Bug 1044408: enable crashing all GMP plugins on a pref strobe r=cpearce,ted
2014-07-30 17:40:43 -04:00
Benoit Jacob
24320668ca
Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj
2014-07-30 15:52:05 -04:00
Daniel Holbert
282beab189
Bug 1046263: Drop EMEDecoderModule.cpp's unused #include for runnable_utils.h (to fix --disable-webrtc builds). r=cpearce
2014-07-30 12:25:27 -07:00
Ralph Giles
42bbe06969
Bug 941296 - Fix non-unified build. r=bustage CLOSED TREE
...
We need to include a headers defining nsrefcnt and NS_IsMainThread(),
and make sure we reference the CMLinker versions of the CoreMedia
functions rather than the system ones.
2014-07-30 11:43:05 -07:00
Ralph Giles
f43eae08fb
Bug 1043695 - Fix comment formatting. r=cpearce
2014-07-26 23:45:00 -07:00
Ralph Giles
b56cc112f0
Bug 1043695 - Add a frame reorder queue. r=cpearce
...
This fixes the frame drops on test.mp4. For now it just
assumes a reorder depth of 3, but we need to plumb the
actual value through the demuxer.
Based on now-removed code from Edwin's FFmpegH264Decoder.
2014-07-24 17:08:00 -07:00
Ralph Giles
9fcd06be4b
Bug 1043695 - Try passing zero for DTS instead of PTS. r=cpearce
...
Suggestion from ajones to make it fail more obviously if the lack
of DTS values causes a problem. Doesn't seem to make a difference.
2014-07-24 16:58:00 -07:00
Ralph Giles
ac294c190a
Bug 1043695 - Log output frame metadata. r=cpearce
...
Also cleans up the input sample log so they're easier to compare.
2014-07-24 16:57:00 -07:00
Ralph Giles
6ff640055a
Bug 1043695 - Wrap FrameRef in an nsAutoPtr. r=cpearce
...
Everything else auto-releases, might as well do this too.
2014-07-24 16:56:00 -07:00
Jean-Yves Avenard
2f471276ca
Bug 1046005 - Fix compilation on OS X 10.9. r=rillian
...
We never directly link against the CoreVideo framework,
as such no external definition will be resolved
2014-07-30 22:32:58 +12:00
Ralph Giles
ee6e2e7884
Bug 941296 - Fix type conversion errors on 32-bit MacOS. r=cpearce
...
UInt32 is an unsigned long on i686 while uint32_t is an unsigned int.
The compiler can't covert from a pointer to one to the pointer to
the other, so just use the MacOS type.
There's no problem on 64-bit.
2014-07-26 23:43:00 -07:00
Ralph Giles
74a7e5cb1c
Bug 941296 - AAC platform decoder for OS X. r=edwin,cpearce
...
Implement an AAC decoder based on the AudioToolbox wrapper
in AppleMP3Decoder.
2014-07-24 16:30:00 -07:00
Ralph Giles
e9104482d2
Bug 941296 - Fix warnings from debug-only code. r=cpearce
...
These reported as unused variable warnings in non-debug builds.
2014-07-26 23:40:00 -07:00
Ralph Giles
df7460f859
Bug 941296 - Add a missing close brace. r=cpearce
...
Accidentally clobbered this when adding the APPLEMEDIA #ifdef.
Fixes build against ffmpeg, etc.
2014-07-28 15:36:00 -07:00
Ralph Giles
a998be842d
Bug 941296 - h.264 platform decoder for OS X. r=cpearce
...
Implement an h.264 decoder using Apple's VideoToolbox framework.
Based on gstreamer's vtdec because there's very little documentation
for this API beyond the framework's header file.
Reuse the MOZ_APPLEMEDIA define from the mp3 decoder.
AAC decoding is stubbed to use the BlankDecoderModule's 440A tone.
Provide a stub header for the VideoToolbox framework and load
it dynamically at run time so we can build and run on versions
prior to MacOS X 10.8 where it's not available.
Dynamically load the CoreMedia framework as well, but build
against its headers since it's available on MacOS X 10.7 or
later, which is our minimum build version.
2014-07-24 13:47:00 -07:00
Ed Morley
433e593c8c
Backed out changeset d50d7e88f35e (bug 1012951) for LSan failures
2014-07-30 16:49:43 +01:00
Andrea Marchesini
9fe3bf9977
Bug 1036431 - Setting AudioContext.mozAudioChannelType should set the audiochannel in mStream as well, r=ehsan
2014-07-30 12:26:12 +01:00
Karl Tomlinson
21244bbd4c
crashtest for bug 990794
...
--HG--
extra : rebase_source : 8d6ff4e6fdfe51e32cca22ecaeb84b59c18ad4ae
2014-07-30 17:45:12 +12:00
Karl Tomlinson
2a948ef5df
crashtest for bug 966636
...
derived from testcase by Atte Kettunen <attekett@gmail.com>
--HG--
extra : rebase_source : 8ec0f239e118d92e04b368490c49dd045bfc5ca5
2014-07-30 12:55:05 +12:00
Karl Tomlinson
f19e56d843
crashtest for bug 944851
...
based on testcase by Jesse Ruderman <jruderman@gmail.com>
--HG--
extra : rebase_source : f9bbe6e23afac15180a91e7c6d276483e4320d3a
2014-07-30 13:33:32 +12:00
Karl Tomlinson
39582dd9ce
b=1033122 be consistent about speex_resampler symbol visibility r=khuey
...
When "speex/speex_resampler.h" was included, another exported header (in
dist/include) would find the speex/speex_resampler.h in dist/include before
dist/system_wrappers. Visibility of undefined symbols depended on the order
of includes.
This patch changes includes to <speex/speex_resampler.h> so that
WRAP_SYSTEM_INCLUDES works as expected but removes the wrapper when not using
GKMEDIAS_SHARED_LIBRARY.
--HG--
extra : rebase_source : 93ca1dbdd6b489647624326e78539f44c60d0b34
2014-07-02 14:21:34 +12:00
Jed Davis
ac97af274c
Bug 1012951 - Sandbox GMP plugins on Linux using seccomp-bpf. r=kang r=ted
2014-07-29 15:31:12 -07:00
Chris Pearce
29bdfb87bc
Bug 1044738 - Decrypt EME content in a PDM, send to a wrapped PDM for decoding. r=edwin
2014-07-30 18:53:34 +12:00
Chris Pearce
44b0d5968b
Bug 1043147 - Update CDMProxy and EME JS APIs to proxy calls to a GMP/CDM. r=ehsan
2014-07-30 18:53:28 +12:00
Jeff Walden
0d66311e95
Bug 1044598 - Followup to add already_AddRefed<Session> locals to MediaRecorder.cpp to fix explicit-constructor issues. r=bustage in a CLOSED TREE, will get someone else to look at post-landing
2014-07-29 12:39:02 -07:00
Jeff Walden
27103e6fd3
Bug 1044598 - Make nsCOMPtr.h no longer depend on the un-definition of MOZ_HAVE_CXX11_NULLPTR. r=ehsan
...
--HG--
extra : rebase_source : cc737646470e6ebb81f87d3a0751f20b712c9390
2014-07-29 11:41:45 -07:00
Paul Adenot
34bfddd531
Bug 1045018
- Implement a thread safe singleton to allow setting kAudioHardwarePropertyRunLoop property to NULL only once. r=gcp
2014-07-29 18:45:05 +02:00
Paul Adenot
fa3dd7a74b
Bug 1027713 - Part 5 - Trigger the panning logic on stream creation. r=jesup
...
UpdateStreamOrder is not called often because it's expensive (it's called only
when the graph topology changed), and it's earlier in the MSG loop than the
audio stream creation, so we need to tell the newly created AudioStream that a
microphone is active on creation as well.
The panning logic is also now triggered on stream start, because it is async.
2014-07-29 18:45:05 +02:00
Paul Adenot
b6ff88a8af
Bug 1023947 - Part 3 - Reset the output AudioStream when switching to an audio input device that uses the headphone jack on osx. r=jesup
2014-07-18 19:22:03 +02:00
Paul Adenot
2c058e4f67
Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik
2014-07-18 19:21:27 +02:00
Paul Adenot
f73dd8ed47
Bug 1023947 - Part 1 - Drop frame instead of buffering them when we are swiching device. r=jesup
2014-07-18 19:20:00 +02:00
Paul Adenot
96c26a803b
Bug 1027713 - Part 4 - Pan audio to the right when we are using gUM and outputing sound using MacBookPro speakers. r=jesup
2014-07-29 18:45:03 +02:00
Paul Adenot
9e0d9d7167
Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik
2014-07-29 18:45:02 +02:00
Andrea Marchesini
227f61153e
Bug 1044514 - AudioDestinationNode should not be kept alive by the event listener, r=ehsan
2014-07-29 16:30:40 +01:00
Gian-Carlo Pascutto
79ccb2ce3e
Bug 1015932 - Add Gonk include dirs for OpenSLES. r=mshal
2014-07-29 16:46:12 +02:00
Gian-Carlo Pascutto
8d31a955a9
Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot
2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
fd6ede1a5d
Bug 1015932 - Add systemservices subdir to content/media. r=jesup
...
--HG--
rename : content/media/webrtc/LoadManager.cpp => content/media/systemservices/LoadManager.cpp
rename : content/media/webrtc/LoadManager.h => content/media/systemservices/LoadManager.h
rename : content/media/webrtc/LoadManagerFactory.cpp => content/media/systemservices/LoadManagerFactory.cpp
rename : content/media/webrtc/LoadManagerFactory.h => content/media/systemservices/LoadManagerFactory.h
rename : content/media/webrtc/LoadMonitor.cpp => content/media/systemservices/LoadMonitor.cpp
rename : content/media/webrtc/LoadMonitor.h => content/media/systemservices/LoadMonitor.h
2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
c7460fdd0b
Bug 1015932 - Shareable OpenSLES engine between cubeb and WebRTC. r=jesup
2014-07-29 16:45:37 +02:00
Jean-Yves Avenard
28b6c067d0
Bug 1041950 - Create image copy instead of reference. r=edwin
2014-07-28 16:10:29 +12:00
Jean-Yves Avenard
be683d3829
Bug 1040550 - Prevent MediaSource::SetDuration from being called outside the main thread. r=kinetik
2014-07-28 11:50:32 +12:00
Karl Tomlinson
5b0037452f
b=1022945 only AppendToTrack before SourceMediaStreams are destroyed r=roc
...
--HG--
extra : rebase_source : 016877261fb7a10b6d99abd17a8ca26b222d38c4
2014-07-25 09:23:59 +12:00
Karl Tomlinson
4fdfbacc91
b=1022945 null MediaInputPort::mGraph when removing port from graph r=roc
...
This shouldn't be necessary, if clients do the right things, but provides some
safety, in case they don't.
--HG--
extra : rebase_source : e64d663c27f03eff35f538c205cd66d42420d9e4
2014-07-25 09:18:38 +12:00
Karl Tomlinson
ccb63bd2ec
b=1022945 null MediaStream::mGraph before removing stream from graph r=roc
...
and use mGraph to test whether SourceMediaStreams are destroyed.
--HG--
extra : rebase_source : 03df9e7ab14ecd627dfeb333b79713a7b619f215
2014-07-25 09:09:22 +12:00
Karl Tomlinson
c6e0643c5d
b=1022945 remove SetStreamOrderDirty call from ProcessedMediaStream::DestroyImpl r=roc
...
The stream order is only important if there are connections, in which case
MediaInputPort::Disconnect() calls SetStreamOrderDirty().
MediaStreamGraphImpl::RemoveStream() also calls SetStreamOrderDirty(), which
ensures that mFirstCycleBreaker is updated when necessary.
--HG--
extra : rebase_source : b437f0d078a481725579456d91acc32353e1221a
2014-07-25 08:36:07 +12:00
Karl Tomlinson
a5ce5014bb
b=1022945 make some SourceMediaStream methods,classes protected r=roc
...
including ResampleAudioToGraphSampleRate() which assumes a graph.
--HG--
extra : rebase_source : d6884dc8d36e4985e14558cc78d69e99ffeba921
2014-07-25 08:23:40 +12:00
Karl Tomlinson
70b7090397
b=1041466 don't remove one too many streams from the SCC stack r=roc
...
Also reduce the number of ProcessedMediaStream* static_casts and use a new
variable name |removed| to emphasize what is happening.
--HG--
extra : rebase_source : 50b6c5e2d97a2e4ffbf9db993e1327de8c1d7b36
2014-07-24 21:58:01 +12:00
Bruce Sun
ef9258254a
Bug 1041453 - Fix crash issues of MediaCodecReader for Vorbis data. r=cpearce
2014-07-29 11:03:06 +08:00
Andrew McCreight
25c9ae71a0
backed out c6691cff88a4 (bug 1044598 pt 3) for lots of leaks on this CLOSED TREE
2014-07-28 17:14:05 -07:00
Mike Hommey
20d181268e
Bug 1043820 - Remove PARALLEL_DIRS. r=gps
2014-07-29 08:57:59 +09:00
Mike Hommey
1e79fe55c2
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Ehsan Akhgari
3686fe0889
Bug 1044598 - Part 3: Fix two refcounting errors in MediaRecorder code; r=roc
2014-07-28 09:58:02 -04:00
Randell Jesup
89f3fc9ceb
Bug 1044550: Move GMP shared mem cache from a global to per-GMPParent r=cpearce
2014-07-28 11:44:20 -04:00
Randell Jesup
fd5eebc63c
Bug 1043531: Safely delete GMP processes when unused and handle plugin crashes r=cpearce
2014-07-28 11:42:55 -04:00
Ryan VanderMeulen
7fd54e73a0
Backed out changesets c6691cff88a4 and 43a7db7bf902 (bug 1044598) for bustage.
...
CLOSED TREE
2014-07-28 11:08:12 -04:00
Ehsan Akhgari
622954d96d
Bug 1044598 - Part 3: Fix two refcounting errors in MediaRecorder code; r=roc
...
--HG--
extra : rebase_source : 6b817aa2949e5dca4dde171010dd7727ad03bd70
2014-07-28 09:58:02 -04:00
Carsten "Tomcat" Book
8bc78e40e5
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2014-07-28 16:30:30 +02:00
Carsten "Tomcat" Book
8329e0d768
merge fx-team to mozilla-central a=merge
2014-07-28 15:44:12 +02:00
Wes Kocher
88a01acaab
Merge m-c to fx-team
2014-07-25 16:27:34 -07:00
Paul Adenot
905bdcf2e5
Bug 1043025 - Null-check when getting the parent object of an AudioContext because we might not have a window all all time during shutdown. r=roc
2014-07-24 12:01:13 +02:00
Carsten "Tomcat" Book
24a67f8b52
Backed out changeset 4058c55db564 (bug 1015932) for bustage on a CLOSED TREE
2014-07-28 11:52:29 +02:00
Carsten "Tomcat" Book
c383fdc635
Backed out changeset e9b23c66ef10 (bug 1015932)
...
--HG--
rename : content/media/systemservices/LoadManager.cpp => content/media/webrtc/LoadManager.cpp
rename : content/media/systemservices/LoadManager.h => content/media/webrtc/LoadManager.h
rename : content/media/systemservices/LoadManagerFactory.cpp => content/media/webrtc/LoadManagerFactory.cpp
rename : content/media/systemservices/LoadManagerFactory.h => content/media/webrtc/LoadManagerFactory.h
rename : content/media/systemservices/LoadMonitor.cpp => content/media/webrtc/LoadMonitor.cpp
rename : content/media/systemservices/LoadMonitor.h => content/media/webrtc/LoadMonitor.h
2014-07-28 11:52:05 +02:00
Carsten "Tomcat" Book
a541890553
Backed out changeset 6289b18d2127 (bug 1015932)
2014-07-28 11:51:58 +02:00
Gian-Carlo Pascutto
06bb4e9ab3
Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot
2014-07-28 11:29:31 +02:00
Gian-Carlo Pascutto
64a92992af
Bug 1015932 - Add systemservices subdir to content/media. r=jesup
...
--HG--
rename : content/media/webrtc/LoadManager.cpp => content/media/systemservices/LoadManager.cpp
rename : content/media/webrtc/LoadManager.h => content/media/systemservices/LoadManager.h
rename : content/media/webrtc/LoadManagerFactory.cpp => content/media/systemservices/LoadManagerFactory.cpp
rename : content/media/webrtc/LoadManagerFactory.h => content/media/systemservices/LoadManagerFactory.h
rename : content/media/webrtc/LoadMonitor.cpp => content/media/systemservices/LoadMonitor.cpp
rename : content/media/webrtc/LoadMonitor.h => content/media/systemservices/LoadMonitor.h
2014-07-28 11:29:31 +02:00
Gian-Carlo Pascutto
06865619f7
Bug 1015932 - Shareable OpenSLES engine between cubeb and WebRTC. r=jesup
2014-07-28 11:29:31 +02:00
Alfredo Yang
b2cac04fdc
Bug 1041883 - Run state machine until MUX_DONE when EOS. r=cpearce
2014-07-23 23:47:00 +02:00
JW Wang
01c75cc8e1
Bug 1037597 - fix some races in AudioSink.cpp. r=kinetik
2014-07-24 20:03:00 +02:00
Carsten "Tomcat" Book
df417cd66f
Backed out changeset c7024109e9ae (bug 1015932) for bustage on a CLOSED TREE
2014-07-28 08:21:45 +02:00
Carsten "Tomcat" Book
ad9d2e11a1
Backed out changeset 3af17bad947f (bug 1015932)
...
--HG--
rename : content/media/systemservices/LoadManager.cpp => content/media/webrtc/LoadManager.cpp
rename : content/media/systemservices/LoadManager.h => content/media/webrtc/LoadManager.h
rename : content/media/systemservices/LoadManagerFactory.cpp => content/media/webrtc/LoadManagerFactory.cpp
rename : content/media/systemservices/LoadManagerFactory.h => content/media/webrtc/LoadManagerFactory.h
rename : content/media/systemservices/LoadMonitor.cpp => content/media/webrtc/LoadMonitor.cpp
rename : content/media/systemservices/LoadMonitor.h => content/media/webrtc/LoadMonitor.h
2014-07-28 08:21:21 +02:00
Carsten "Tomcat" Book
f5c141c5c2
Backed out changeset 689b75c98f2f (bug 1015932)
2014-07-28 08:21:16 +02:00
Gian-Carlo Pascutto
a847503bc3
Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot
2014-07-28 08:10:21 +02:00
Gian-Carlo Pascutto
d9656ba4f4
Bug 1015932 - Add systemservices subdir to content/media. r=jesup
...
--HG--
rename : content/media/webrtc/LoadManager.cpp => content/media/systemservices/LoadManager.cpp
rename : content/media/webrtc/LoadManager.h => content/media/systemservices/LoadManager.h
rename : content/media/webrtc/LoadManagerFactory.cpp => content/media/systemservices/LoadManagerFactory.cpp
rename : content/media/webrtc/LoadManagerFactory.h => content/media/systemservices/LoadManagerFactory.h
rename : content/media/webrtc/LoadMonitor.cpp => content/media/systemservices/LoadMonitor.cpp
rename : content/media/webrtc/LoadMonitor.h => content/media/systemservices/LoadMonitor.h
2014-07-28 08:09:34 +02:00
Gian-Carlo Pascutto
de3201b0db
Bug 1015932 - Shareable OpenSLES engine between cubeb and WebRTC. r=jesup
2014-07-28 08:09:21 +02:00
Anthony Jones
06af57a272
Bug 1041950 - Fix build break; r=burning
2014-07-28 11:48:16 +12:00
Chris Pearce
88f1547b33
Bug 1042373 - Fix unused-in-opt-build WAE. r=burning.
2014-07-28 11:42:06 +12:00
Chris Pearce
ef07674c94
Bug 1042373 - Implement GMPDecryptor interface for use in GMPs. r=jesup
2014-07-28 11:20:34 +12:00
Jean-Yves Avenard
2cad78dd55
Bug 1041950 - Fix usage with FFmpeg version 54 and above; r=k17e
2014-07-25 14:20:22 +12:00
Jean-Yves Avenard
ecec995954
Bug 1041950 - Fix codec context allocation; r=edwin
2014-07-23 15:08:27 +12:00
Randell Jesup
a6103ddae2
Bug 993787: remove use of RefCounted<> in LoadInfo r=ehsan
2014-07-27 12:23:36 -04:00
Brad Lassey
6140b461f2
bug 1041493 - add support for browser to mediaSource constraint r=rjesup,khuey
2014-07-21 08:31:31 -04:00
Ralph Giles
9951231d9b
Bug 1042810 - Use string comparison for Android versions. r=gps
2014-07-23 10:07:35 -07:00
JW Wang
e05f371be8
Bug 1043111 - Allow |mState==DECODER_STATE_DORMANT| in MediaDecoderStateMachine::ResetPlayback(). r=kinetik
2014-07-23 20:29:00 +02:00
Georg Fritzsche
6ee6f7fa24
Bug 1041226: Make sure IPC channel is open before initializing GMP CrashReporter r=jesup
2014-07-22 16:00:00 +02:00
Anthony Jones
9b31f46826
Bug 1039128 - Fix drain of video queue
2014-07-25 14:57:25 +12:00
Randell Jesup
50baa1493e
Bug 1042765 - Better logging for GMP plugins r=cpearce
2014-07-24 21:47:44 -04:00
Randell Jesup
0780c7491c
Bug 1041232: Deferred GMP process shutdown to avoid Shmem lockup (workaround) r=cpearce
2014-07-24 21:47:41 -04:00
Randell Jesup
8591e2dec0
Bug 1041232: Resolve GMP API lifetime issues and allow mid-call shutdown, etc r=cpearce
2014-07-24 21:47:40 -04:00
Wes Kocher
c1992a8da2
Backed out 8 changesets (bug 1023947, bug 1027713) for frequent Cppunit test failures
...
Backed out changeset 03edb1ab3182 (bug 1027713)
Backed out changeset ad05dc816fa0 (bug 1023947)
Backed out changeset a56aad94c7c9 (bug 1023947)
Backed out changeset 63af4528bd9c (bug 1023947)
Backed out changeset b6bb38846333 (bug 1027713)
Backed out changeset c0045bb1849e (bug 1027713)
Backed out changeset 274b2b25d167 (bug 1027713)
Backed out changeset e0bba6f4966f (bug 1027713)
2014-07-24 13:57:03 -07:00
Matthew Gregan
b3efddb624
Bug 1041919 - Always use MP4Reader/PDM in MediaSourceDecoder. r=cpearce
2014-07-22 20:20:00 +12:00
Chris Pearce
2e4358d5e7
Bug 1042342 - Add GMPDecryptor::DecryptingComplete() to gmp-api. r=jesup
2014-07-24 09:35:02 +12:00
Chris Pearce
1ad436df22
Bug 1041384 - Update GMP APIs for decrypt without decoding and reporting capabilities. r=jesup
2014-07-24 09:35:02 +12:00
Chris Pearce
9633095076
Bug 1038615 - Report GMP decoding/encoding errors asynchronously. r=jesup
2014-07-24 09:35:01 +12:00
Eitan Isaacson
8a36f6419c
Bug 1044130 - Make pico destructors private. r=smaug
2014-07-25 12:42:40 -07:00
Alexandre Poirot
5a3800bc64
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Sotaro Ikeda
47d2daecda
Bug 1042308 - Return All MediaBuffers to OMXCodec during OMXCodec shutdown r=cajbir,nical
2014-07-24 08:24:42 -07:00
Paul Adenot
bf0d80701e
Bug 1027713 - Part 5 - Trigger the panning logic on stream creation. r=jesup
...
UpdateStreamOrder is not called often because it's expensive (it's called only
when the graph topology changed), and it's earlier in the MSG loop than the
audio stream creation, so we need to tell the newly created AudioStream that a
microphone is active on creation as well.
The panning logic is also now triggered on stream start, because it is async.
2014-07-24 17:05:24 +02:00
Paul Adenot
d82e07aaee
Bug 1023947 - Part 3 - Reset the output AudioStream when switching to an audio input device that uses the headphone jack on osx. r=jesup
...
--HG--
extra : rebase_source : 7b7bc135dbc5ea9d2b76738ff3fc57cbb962eed2
2014-07-18 19:22:03 +02:00
Paul Adenot
e51df98a9f
Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik
...
--HG--
extra : rebase_source : bc273a2f790b2fa09e8c50c95091f5db9856d42b
2014-07-18 19:21:27 +02:00
Paul Adenot
13eeb6c3a3
Bug 1023947 - Part 1 - Drop frame instead of buffering them when we are swiching device. r=jesup
...
--HG--
extra : rebase_source : 9e5f70c2c8aa9bc826e8bee561285da5220bf895
2014-07-18 19:20:00 +02:00
Paul Adenot
6245e51a74
Bug 1027713 - Part 4 - Pan audio to the right when we are using gUM and outputing sound using MacBookPro speakers. r=jesup
...
--HG--
extra : rebase_source : d77a3e6d17b237dc46301a34ed36b6d3e8e0aeda
2014-07-24 17:05:23 +02:00
Paul Adenot
25e8004fd3
Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik
...
--HG--
extra : rebase_source : c94c9f6792c002d515f2fee0cf708928e76f91a8
2014-07-24 17:05:23 +02:00
JW Wang
5ab9906088
Bug 1042884 - Do nothing in AudioStream::OpenCubeb() after shutdown. r=kinetik
2014-07-23 20:58:00 +02:00
Bruce Sun
653396b514
Bug 1038564: Fix MediaCodecProxy build fail on flatfish device. r=cpearce
...
Although android::MediaCodec has been added into AOSP in level 16,
some APIs (ex. signalEndOfInputStream) we used in MediaCodecReader
were added into AOSP in level 18.
2014-07-22 15:35:15 +08:00
Paul Adenot
27cb259315
Bug 1042672 - s/aSamples/aFrames/ in AudioOutputObserver::InsertFarEnd so it's consistent with the rest of the media code. r=jesup
...
In Gecko (and everywhere else, but sometimes not in the WebRTC code), a "frame"
or "sample-frames" is the set of all sample that will play at the same time on
all channels, whereas a "sample" is a single value on a specific channel.
2014-07-23 16:02:34 +02:00
Paul Adenot
02f16281e5
Bug 1042672 - Avoid mixing in uninitialized buffers in AudioSegment::WriteTo. r=jesup
2014-07-23 16:02:31 +02:00
Vasanthakumar Pandurangan
1a4bb2b2f2
Bug 1042003 - Convert secs to usecs before passing to SeekTarget. r=roc
2014-07-22 03:54:32 -07:00
Randell Jesup
d5d69056c4
Bug 1038961: Fix --disable_webrtc breakage due to mtransport/runnable_utils r=dholbert, ted
2014-07-23 04:26:05 -04:00
Mike Hommey
ad9b49263a
Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps
2014-07-23 13:33:09 +09:00
Mike Hommey
e5c43ef995
Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps
2014-07-23 13:30:52 +09:00
Mike Hommey
90c742edc2
Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps
2014-07-23 13:29:44 +09:00
Karl Tomlinson
69ee566642
b=932400 check feedback delay loop output r=padenot
...
The delay in the third test is reduced to ensure that some of the output
signal has traversed every link in the cycle.
The input signal no longer loops for un-muted cycles, to keep it simple.
--HG--
extra : rebase_source : 37f555c356cc2c0573e7c93150ed86587da30ad7
2014-07-17 13:01:45 +12:00
Jonathan Griffin
efbbf73c27
Backed out changeset 64586374a208 on a CLOSED TREE
2014-07-22 18:29:57 -07:00
Alexandre Poirot
09c66c2ebd
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal
2014-07-02 15:40:56 -07:00
Jonathan Griffin
0cd20a2c49
Backout 4f6d9db92389 for bustage on a CLOSED TREE
2014-07-22 17:55:50 -07:00
Mike Hommey
b99bba5c3f
Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal
2014-07-23 08:39:56 +09:00
Mike Hommey
d10b15b035
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Alexandre Poirot
c044256760
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal
2014-07-02 15:40:56 -07:00
Gregory Szorc
afb4c10a6e
Bug 1040413 - Do not cast ANDROID_VERSION to int; r=nalexander
...
Ideally it should be converted to an int. But empty variables need to
work. The rest of the tree uses string comparisons.
--HG--
extra : rebase_source : 16701034df6b5047bcd7ca529785ee97b76412ed
extra : amend_source : 9c1cc54c1820dccae514ad06dac5677710e9a8f0
2014-07-17 16:49:37 -07:00
JW Wang
3a472ac79d
Bug 1038655 - don't update official playback position when paused. r=cpearce
2014-07-21 23:34:00 +02:00
JW Wang
e1bb035437
Bug 1037370 - fix null exception for parentNode becomes null when the last token is finished. r=cajbir
2014-07-21 18:26:03 -07:00
Chris Pearce
69ac3d284b
Bug 1041401 - Build WMF PDM in its own translation unit in unified builds. r=padenot
2014-07-21 20:57:03 +12:00
Shelly Lin
9f0205643e
Bug 1038494 - Rewrite test cases of track interfaces when consuming a media stream. r=roc
2014-07-15 18:04:22 +08:00
Randell Jesup
4ac7943b4f
Bug 1038961: Patch 1 - Send GMP plugin crashes to observer, and implement PluginID system r=cpearce,jib
2014-07-21 03:50:09 -04:00
JW Wang
62b92a8a88
Bug 972826 - reset 'src' to force releasing h264 decoder so that the cloned <video> can play gizmo.mp4. r=cajbir
2014-07-17 20:28:00 +02:00
JW Wang
5558561bf9
Bug 668973 - enable test_playback.html on Android and B2G. r=cpearce
2014-07-17 18:50:00 +02:00
Randell Jesup
6b383c6465
Bug 1041226: disable crashreporter in GMP plugins until it's ready r=gfritzsche a=kwierso
2014-07-19 19:51:37 -04:00
Randell Jesup
2a66338f30
Bug 1040345: Fix shutdown design issues with Webrtc GMP interfaces and quash leaks r=gcp
2014-07-19 19:14:03 -04:00
Boris Zbarsky
c03ab46f93
Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley.
2014-07-18 21:31:11 -04:00
Benjamin Smedberg
6a1e7fc555
Bug 1039575 followup to fix --disable-crashreporter builds r=bustage
2014-07-18 14:23:07 -04:00
Benjamin Smedberg
76203fd3dd
Bug 1039572 - Fix the re-entry problem with GMPParent::ActorDestroy and the MaybeUnload callers who are asynchronous, r=jesup
2014-07-18 13:37:06 -04:00
Benjamin Smedberg
214fd35cc4
Bug 1039575 - Hook up crash reporting for GMP plugins to the point where we have a crash ID in GMPParent::ActorDestroy, r=ted
...
* * *
Bug 1039575 followup - always return from GMPChild
2014-07-18 13:35:44 -04:00
Benjamin Chen
6b106ff18d
Bug 1016265 - Ensure the Session object is destroyed on main thread and add assertion and warning if dispatch runnable failed. r=roc
2014-06-26 17:22:05 +08:00