Commit Graph

3119 Commits

Author SHA1 Message Date
Ryan VanderMeulen
8ba8f2e5fd Backed out changesets efb217f1897a and c9a22296f311 (bug 935774) due to test_mediarecorder_record_4ch_audiocontext.html perma-fail on all platforms after today's inbound merge. 2013-11-21 11:28:06 -05:00
Carsten "Tomcat" Book
04f396a0c7 merge mozilla-inbound to mozilla-central 2013-11-21 14:20:21 +01:00
Vincent Chang
9f6565be60 Bug 898864 - RTSP content process crash when press the play button at the end of video. r=sworkman 2013-11-20 11:08:10 +08:00
Ehsan Akhgari
da5895572b Bug 939582 - Part 2: Build content/media in unified mode; r=doublec 2013-11-20 21:12:13 -05:00
Ehsan Akhgari
8ab03a33ee Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec 2013-11-20 22:02:42 -05:00
Ehsan Akhgari
7092b111ba Backed out 2 changesets (bug 939582) because of build bustage
Backed out changeset 2079c828645a (bug 939582)
Backed out changeset af472e590088 (bug 939582)
2013-11-20 21:41:40 -05:00
Ehsan Akhgari
760bfcb738 Bug 939582 - Part 2: Build content/media in unified mode; r=doublec 2013-11-20 21:12:13 -05:00
Ehsan Akhgari
258944b4d5 Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec 2013-11-20 21:11:54 -05:00
Ralph Giles
e6a51e9b0c Bug 941281 - Release resampler in OpusTrackEncoder dtor. r=roc
We released the resampler when we reached the end of the stream
but would leak if the encoder was destroyed while data was still
available.
2013-11-21 11:09:08 +13:00
Randy Lin
65505041c7 Bug 935774 - Test for record four audio channels audiocontext. r=jsmith 2013-11-20 17:32:22 +08:00
Randy Lin
e44a0c6f72 Bug 935774 - Assertion failure: meta in mozilla::MediaEncoder::GetEncodedData. r=roc 2013-11-20 17:14:13 +08:00
Chris Pearce
438b02a1fd Bug 886196 - Create a PlatformDecoderModule that outputs blank frames for fuzzing/testing purposes. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce
e02a05ef89 Bug 886196 - Implement WMF platform decoder for FMP4 demuxer. r=padenot 2013-11-21 10:04:33 +13:00
Chris Pearce
c1e402fac2 Bug 886196 - Add pref to enable creation of fmp4 reader in DecoderTraits. Preffed of by default. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce
7023a5d2e8 Bug 886196 - MP4 demuxing using Chromium's MP4 demuxer. No decoding yet. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce
d10f357a9b Bug 886196 - Import Chromium's MSE MP4 demuxer code. r=kinetik 2013-11-21 10:04:32 +13:00
Ehsan Akhgari
fa64c8ac46 Bug 939571 - Build Web Audio in unified mode; r=glandium 2013-11-19 14:11:16 -05:00
Ryan VanderMeulen
7db9c39392 Merge m-c to inbound.
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 13:54:20 -05:00
Ryan VanderMeulen
c9f7db66a5 Merge b2g-inbound to m-c. 2013-11-19 13:36:41 -05:00
Matthew Gregan
aca39c9f09 Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce 2013-11-18 17:22:47 +13:00
Boris Zbarsky
a7501e7c35 Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug 2013-11-21 07:51:16 -05:00
Sotaro Ikeda
7b5305a24c Bug 935118 - Allow buffering to be triggered when we're low on decoded audio or video. r=roc 2013-11-19 09:01:14 -05:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
9c5c5d8f00 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ehsan Akhgari
57cd57f7ce Bug 939924 - Fix build error: KS.H must be included before codecapi.H in WMF.h. r=cpearce 2013-11-18 15:47:38 -05:00
Chris Double
d1f0d1619e Bug 874897 - Mochitest for copying of frames of videos with aspect ratio to canvas - r=kinetik
--HG--
extra : rebase_source : c5ff10d61a1ea46b0fdb2a43e926405660493912
2013-11-18 18:26:51 +13:00
Ed Morley
5e628fad90 Merge latest green b2g-inbound changeset and mozilla-central 2013-11-18 10:54:01 +00:00
Vincent Chang
45db1e1423 Bug 921963 - [RTSP] Support RTSP in Android JB build. r=sworkman 2013-11-13 16:03:26 +08:00
ISHIKAWA, Chiaki
5b03b24292 Bug 938693 - Check the return value of PR_Close() in ~FileBlockCache() and issue a message if it fails. r=cpearce 2013-11-15 21:46:40 -05:00
Matthew Gregan
570bc71651 Bug 939613 - Remove MediaSource integration from HTMLMediaElement now and use the generic MediaDecoder interface, then move the necessary MS-specific bits to the MS decoder. r=doublec 2013-10-05 10:04:39 +02:00
Matthew Gregan
f6913264ec Bug 939612 - Improve readability of MediaSource::SetReadyState. r=doublec 2013-10-05 10:03:50 +02:00
Ehsan Akhgari
58e806c093 Bug 939584 - Build some of the directories under content/media in unified mode; r=roc 2013-11-17 21:31:46 -05:00
Ehsan Akhgari
33312a15be Bug 939569 - Part 1: Stop using #pragma once in webspeech code; r=smaug 2013-11-17 19:48:02 -05:00
Matthew Gregan
81e39fb050 Bug 939601 - Refactor current thread assert into helper. r=cpearce 2013-11-04 11:11:09 +13:00
Chris Pearce
5c6a926e44 Bug 871804 - Clarify HTMLMediaElement.canPlayType() codecs for MPEG on Windows. r=kinetik 2013-11-18 11:29:55 +13:00
Chris Double
1580251d0a Bug 939716 - Destructor for MediaStreamGraph should be virtual - r=roc
The destructor for MediaStreamGraph is non-virtual but it has a
derived class, MediaStreamGraphImpl, that overrides the destructor.
This destructor won't be called if an instance is deleted using a
pointer type of MediaStreamGraph.

It's unclear whether this actually happens but MediaStreamGraph.cpp
has code that creates a MediaStreamGraphImpl and returns it as a
MediaStreamGraph.

--HG--
extra : rebase_source : 9d006e5bf9bb056b5a54fc7aec159c26376c1459
2013-11-19 02:09:47 +13:00
Chris Double
790065fca5 Bug 939655 - Remove LOG macro definition from MediaStreamGraphImpl.h - r=roc
Removing this reduces opportunity for macro name clashes and using
the wrong log object if this header file is included out of order
in a .cpp file.

--HG--
rename : browser/themes/linux/Toolbar-inverted.png => browser/themes/windows/Toolbar-inverted.png
extra : rebase_source : 053384512e0f3a70d07ebe9ca0a07dc0f39d9b5b
2013-11-19 00:48:04 +13:00
Phil Ringnalda
aa4f4a9e99 Back out 4fd2bf2ec8db (bug 939662) for Windows build bustage
CLOSED TREE
2013-11-18 21:34:48 -08:00
Matthew Gregan
fdcb4e1cac Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
--HG--
extra : rebase_source : 922db8de8e9103e3001c26f23ed7402efa8237f5
2013-11-18 17:22:47 +13:00
Paul Adenot
06e81488b1 Bug 919215 - Start the AudioStream on creation when in low-latency mode, and let it underrun. r=roc
The BufferedAudioStream buffers the data it gets through the Write() calls and
what is consumed by the callback. This means that if the audio producer starts
Write()ing data right after Start()ing the stream, data will accumulate in this
buffer and won't be consumed. Eventually, the buffer will be of a certain size
before it begins to be consumed by the callback, and this means an
umcompressible latency (because the data will be written at more or less the
same rate as it is produced).

This patch start the BufferedAudioStream right away when it is created, dropping
the silent AudioSegment until it finds real data (and padding with silence is
then done at the beginning). The stream will underrun, but the callback will
synthetize silence, avoiding overbuffering in the BufferedAudioStream. This
ensures minimal latency cause by the buffering.

Note that the clock will still advance, so this will not change the behavior of
content that has leading silence.
2013-11-19 10:43:15 +13:00
Ed Morley
d863aeeaa2 Merge mozilla-central and b2g-inbound 2013-11-12 15:11:34 +00:00
Mike Hommey
668fe90971 Bug 935857 - Replace MOZ_RTSP with proper NECKO_PROTOCOL handling. r=gps,r=vchang 2013-11-12 07:52:33 +09:00
Ryan VanderMeulen
fddedfd880 Merge m-c to inbound. 2013-11-11 15:55:25 -05:00
Ryan VanderMeulen
a980c09016 Backed out changeset 0595650a11bd (bug 934440) for bustage. 2013-11-11 09:49:46 -05:00
Birunthan Mohanathas
192d1ba4c1 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Carsten "Tomcat" Book
eced2fbfac merge fx-team to mozilla-central 2013-11-11 12:32:39 +01:00
Ms2ger
786aa40195 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Ms2ger
84b1d4041e Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps 2013-11-11 09:04:06 +01:00
Ms2ger
18114993ff Bug 928741 - Stop using PR_STATIC_ASSERT in content; r=jst 2013-11-11 09:03:59 +01:00
Brad Lassey
20987e94a5 bug 936549 - Tab sharing capture device won't stream, use FormatStrideForWidth in tab stream r=jesup 2013-11-08 13:26:20 -05:00
Matthew Gregan
b86eca4bff Bug 935343 - Convert content/media/tests to manifest format. r=doublec 2013-11-06 15:49:44 +13:00
Carsten "Tomcat" Book
8d4256ffa6 Merge mozilla-central to b2g-inbound 2013-11-08 15:29:28 +01:00
Sotaro Ikeda
371089c937 Bug 929005 - Change from android::Vector to android::List. r=doublec 2013-11-08 09:09:46 -05:00
Gian-Carlo Pascutto
c3799f59ab Bug 932112: Don't free the global, shared Context ref. r=blassey 2013-11-07 20:07:48 -05:00
Randell Jesup
871a4d68f2 Bug 932112: Rollup of changes previously applied to media/webrtc/trunk/webrtc rs=jesup
* * *
* * *
Add AndroidAudioManager to the moz.build files.
2013-11-07 20:07:47 -05:00
Karl Tomlinson
a14e81b585 b=931311 wait for HRTF panner to load impulse database before doing test
--HG--
extra : transplant_source : %2A%1F%D0kKSr%AA%8F%C1%26%E5%E6%EC%D5%CF%8C%A9%D11
2013-11-09 14:07:50 +13:00
Karl Tomlinson
6d8f7b4e50 b=936317 prevent MediaBufferDecoder threads from waiting after AudioContext shutdown() r=ehsan
--HG--
extra : transplant_source : %CE%E5O%83N%8FX%ED%2Ck%17I%B1%92%B6%A0lXH%D1
2013-11-09 14:07:45 +13:00
Karl Tomlinson
7b6a4ca796 crashtest for bug 933156
--HG--
extra : transplant_source : %9D/%19%13%80%D3cY%5D%93%FA%17%FB%CFTO%5Ex%82%C9
2013-11-08 12:04:54 +13:00
Matthew Gregan
15ae6a844f Bug 935349 - Remove remaining disabled DASH code. r=doublec 2013-11-07 17:08:42 +13:00
Matthew Gregan
f9f23a8559 Bug 935349 - Remove disabled DASH code. r=doublec 2013-11-07 17:08:30 +13:00
Nicholas Nethercote
b9e0d05f7e Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Ryan VanderMeulen
8920f1cca6 Merge inbound to m-c. 2013-11-05 15:28:52 -05:00
Carsten "Tomcat" Book
15721bf23e merge mozilla-central to b2g-inbound 2013-11-05 15:55:09 +01:00
Wes Kocher
d3d614d652 Merge m-c to inbound 2013-11-04 21:22:23 -08:00
Wes Kocher
32a09c5f75 Merge inbound to m-c 2013-11-04 21:09:17 -08:00
Matthew Gregan
3c153f450d Bug 848812 - Remove incorrect on-thread assertion from StopPlayback. r=cpearce 2013-11-05 17:12:01 +13:00
Matthew Gregan
28ccbdd7df Bug 934820 - Remove LoadedEvent from MediaResource.cpp since it's almost identical to DataEnded. r=cpearce 2013-11-05 16:19:50 +13:00
Karl Tomlinson
7a847783e0 Bug 933156 - Don't send null input to EqualPowerPanningFunction. r=roc 2013-11-04 14:22:37 -05:00
Jesse Ruderman
8b9f2d3f7b crashtest for bug 933151
--HG--
extra : transplant_source : %E5%D0%FB%18H%E3%7Dl%C8o%10m%BD%B6%E1%A0v8%12%AE
2013-11-05 13:02:55 +13:00
Karl Tomlinson
e59fa0ae11 b=856850 use PodMove for potentially overlapping buffers r=roc
--HG--
extra : transplant_source : %A2%F8%85%0C%08%86%CE%E2%7F%A7X%9F%F1%B7%0E%3F%16%1E%BF%3F
2013-11-05 13:02:55 +13:00
CJKu
ef3bba5dd0 Bug 924724 - Shutdown hang in Media Encoder when running state machine mochitest in bug 920595. r=roc 2013-11-04 17:27:39 -05:00
Jason Smith
664fb1c89d Bug 920595 - Mochitest for verifying state transitions in Media Recording API. r=roc 2013-10-08 13:15:09 -07:00
Steve Singer
cf6598b12c Bug 885002 - Fix casting on 64 bit Big Endian platforms. r=cpearce 2013-11-05 07:45:00 -05:00
Phil Ringnalda
f1dbfa19f5 Merge m-c to m-i 2013-11-03 16:38:02 -08:00
Phil Ringnalda
ccf7d2f18e No bug (or rather, too many), disable test_playback_rate.html for constant timeouts and crashes in random locations across every platform it ever gets enabled on 2013-11-03 16:35:21 -08:00
Chris Pearce
8967534188 Bug 933579 - Export IsVideoContentType() to VideoUtils, so that it can be used elsewhere, and move all of VideoUtils into namespace mozilla. r=kinetik 2013-11-04 11:45:19 +13:00
Matthew Gregan
d66dde322d Bug 933552 - Enable audio/mpeg MIME type in MediaSource. r=doublec 2013-11-01 14:07:22 +13:00
Bruce Sun
0d03bd6791 Bug 933091 - Re-enable MP3FrameParser to parse MP3 duration. r=sotaro, r=doublec 2013-11-01 11:02:53 +08:00
Ryan VanderMeulen
c80a525c6d Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Sotaro Ikeda
2f8ac74186 Bug 932076 - Add check for MediaExtractor creation failure. r=doublec 2013-10-30 15:41:07 -04:00
Gian-Carlo Pascutto
a53914c3fd Bug 902000 - Make the load adaption depend on a pref. r=jesup 2013-10-29 15:00:28 +01:00
Gian-Carlo Pascutto
f7eb963a90 Bug 902000 - Add a service that monitors the system load. r=jesup 2013-10-29 15:00:20 +01:00
Andrew Quartey
43d98eabcb Bug 893880 - Check TextTrackCueList before trying to update its cues. r=rillian 2013-10-28 22:18:35 -04:00
Andrea Marchesini
eb960d6739 Bug 925594 - WebIDL enum for AudioChannel in HTMLMediaElement, r=ehsan, r=khuey 2013-10-28 17:08:14 -07:00
Ed Morley
400d15ba65 Merge mozilla-central and inbound 2013-10-28 18:36:22 +00:00
Ed Morley
f8854d4989 Bug 751539 - Disable test_played.html again because surprise surprise it is still failing 2013-10-28 17:45:33 +00:00
Carsten "Tomcat" Book
c225f46a40 Backed out changeset 5506e7033c85 (bug 925594) perma-orange mochitest test-failure on b2g-ics
--HG--
extra : transplant_source : %19E%9F_%BF%84%27%11%0D%DE%CA.%E7%09%9D%FD3%1A2U
2013-10-28 15:34:08 +01:00
Andrea Marchesini
60548554c9 Bug 925594 - WebIDL enum for AudioChannel in HTMLMediaElement, r=ehsan, r=khuey 2013-10-28 03:45:10 -07:00
Andrew Quartey
f1ca7b2f1f Bug 931453 - Ensure TextTrack's media element reference is not null. r=khuey 2013-10-28 12:32:51 -04:00
Carsten "Tomcat" Book
48a2fe2e87 Backed out changeset 5506e7033c85 (bug 925594) perma-orange mochitest test-failure on b2g-ics 2013-10-28 15:34:08 +01:00
Bill Gianopoulos
683730b5d9 Bug 931428 - Include NullPtr.h in GStreamerLoader.cpp; r=ehsan 2013-10-26 20:42:34 -04:00
Phil Ringnalda
0f6fec1509 Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
a003dbc862 Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical 2013-10-27 17:53:27 -04:00
David Zbarsky
79f6eb5139 Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical 2013-10-27 17:53:26 -04:00
Randy Lin
314a2ff822 Bug 919905 - Media Recording - Refactor encoder architecture to support the video encoder module. r=roc, r=cjku 2013-10-25 10:59:52 +08:00
Chris Pearce
69f7502c38 Bug 930833 - Extract more WMF utility functions to WMFUtils.h/cpp. r=padenot 2013-10-26 15:23:37 +13:00
Randell Jesup
933821ecb9 Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot 2013-10-25 18:13:42 -04:00