Commit Graph

3998 Commits

Author SHA1 Message Date
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Jan-Ivar Bruaroey
a3f46f7289 Bug 907352 - Part 7: Width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:37 -04:00
Jan-Ivar Bruaroey
662705b4ac Bug 907352 - Part 6: Change media.navigator.video.default_width to 0. r=mt 2014-04-24 19:30:08 -04:00
Jan-Ivar Bruaroey
3e2d86f0b8 Bug 907352 - Part 5: Wiring for width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:10 -04:00
Jan-Ivar Bruaroey
2ff8cc766a Bug 907352 - Part 4: Normalized constraints to relieve downstream width/height/frameRate implementation. r=mt 2014-04-18 15:16:08 -04:00
Jan-Ivar Bruaroey
2a3906470e Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 14:00:16 -04:00
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
JW Wang
7972af61bf Bug 843265 - Remove the check for 'canplaythrough' since the purpose of this test is test the 3 ways to register an event handler. r=kinetik 2014-04-24 23:49:00 -04:00
Matthew Gregan
dbe9c4100e Bug 881512 - Use MediaTaskQueue to run MSE tasks rather than a per-MSE thread. r=cajbir 2014-04-25 22:42:00 +12:00
JW Wang
d7d852eaa4 Bug 969392 - remove the check for 'canplaythrough' in 'ended' event handler r=kinetik 2014-04-26 00:46:32 -04:00
cajbir
f73a1081a6 Bug 1000608 - Populate active source buffers and fix/rename ContainsTime - r=kinetik 2014-04-23 19:44:00 +12:00
cajbir
ff8b2f2881 Bug 1000608 - Implement cue-less seeking on WebM Reader - r=kinetik 2014-04-23 19:47:00 +12:00
cajbir
af943fb408 Bug 1000608 - Implement seeking on MediaSourceDecoder - r=kinetik 2014-04-23 19:46:00 +12:00
cajbir
5d2491e7bc Bug 1000608 - Allow querying source buffers to see if they contain data for a given time - r=kinetik 2014-04-23 19:45:00 +12:00
Matthew Gregan
59b06dbdf1 Bug 881512 - Make sure any released decoders are destroyed on the main thread. r=cajbir 2014-04-24 00:44:00 +12:00
Matthew Gregan
7d7f4a76d1 Bug 881512 - Explicitly initialize ReadMetadata's aTags parameter to null. Also add some null deref tests. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
8c0bef6f0d Bug 881512 - Fix bogus indexing of audio/video readers by ditching audio/video reader arrays and using the parent decoder directly. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
a9c7d69c02 Bug 881512 - Delay decoder initialization by indicating that we're waiting for subdecoders to be created. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
5cbaa3d53a Bug 881512 - Don't mix refcounting with auto ptr use. Rather than try to hang on to the reader, punch the appropriate holes through via the state machine class. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
91fe868e8b Bug 881512 - Remove useless static_casts. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
02cc6eb8bf Bug 881512 - Use the base video and audio queues. Currently works by shifting media data from the sub-reader queues on each decode call. Future work could allow the sub-readers to use the base queues directly. r=cajbir 2014-04-22 01:33:00 +12:00
Matthew Gregan
a10589242d Bug 881512 - Don't pretend the entire resource is always completely cached. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
84774788fb Bug 881512 - Temp fix: don't call mParentDecoder functions while SBD runs off decode thread. Revert when SBD runs on state machine's task queue. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
c8588b5b0f Bug 881512 - Crude attempt at segment parser for WebM. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
2aec6e3155 Bug 881512 - Switch video readers on EOF. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
42c5690b52 Bug 881512 - Start processing multiple decoders. r=cajbir 2014-04-22 01:30:00 +12:00
Matthew Gregan
8873c272f6 Bug 881512 - Add hidden pref to ignore MIME type in AddSourceBuffer and IsTypeSupported. For experimental/debugging use only. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
e50f2da194 Bug 881512 - Hide MediaSourceResource implementation details from HTMLMediaElement. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
d17c1a9a70 Bug 881512 - Allow a SourceBuffer to own multiple subdecoders. Switch decoders on abort(). r=cajbir 2014-04-14 23:24:00 +12:00
Ryan VanderMeulen
2a22e940cd Merge b2g-inbound to m-c. 2014-04-25 16:12:25 -04:00
JW Wang
156303d605 Bug 981153 - Fix and re-enable test_seek.html. r=cpearce
* Enable test on Windows.
* Longer timeout for it could take over 10 mins on B2G.
* Release decoder to avoid timeout on waiting for decoding resource.
2014-04-24 20:45:00 -04:00
Benjamin Chen
12fab85fa3 Bug 990908 - Revert the change of bug 938512 and let the RTSP's code flow align to others. r=cpearce 2014-04-24 14:45:31 +08:00
Star Cheng
2d091525bf Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Carsten "Tomcat" Book
cac8e6e93b Backed out changeset c07bced21c89 (bug 984498) for mochitest-1 bustage on a CLOSED TREE 2014-04-25 12:09:54 +02:00
Star Cheng
f4ff6a62d2 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Paul Adenot
9a84687a23 Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc
Use the sample rate passed to the OfflineAudioContext constructor in
MediaStreamGraph::CreateOfflineInstance, and pass the preferred mixer sample
rate to the (real time) MediaStreamGraph constructor.

Then, always use this sample rate for the lifetime of the graph.

This patch needed to pass the sample rate to the AudioMixer class to avoid
relying on globals like it was done before.

--HG--
extra : rebase_source : 2802208819887605fe26a7040998fc328b3c9a57
2014-04-23 11:20:56 +02:00
Robert O'Callahan
dba7d4c6ba Bug 998284. When entering the buffering state from AdvanceFrame, be prepared to accept a second's delay before reevaluating whether to exit buffering. r=cpearce
--HG--
extra : rebase_source : 2a7aab19c998f6977cb47d6300e2967be69bcbdf
2014-03-25 00:58:11 +13:00
Paul Kerr [:pkerr]
2435cef6ad Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Robert O'Callahan
ec44fe9ea2 Bug 998282. Ensure cancellable_request.sjs massively overfills the default 100K media cache size.
This ensures a test can make such a request, receive the event that the
load has been suspended, and cancel the request, all before the load has
completed.

--HG--
extra : rebase_source : c7ea934a1745004872d8529bb99241e2e376759c
2014-03-11 17:30:27 +08:00
John
aec1baf311 Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
Wes Kocher
bd5e387b25 Backed out 2 changesets (bug 970691) for build bustage on a CLOSED TREE
Backed out changeset 83f7aec5a083 (bug 970691)
Backed out changeset 94348d189ed5 (bug 970691)
2014-04-23 18:26:05 -07:00
Paul Kerr [:pkerr]
8a77293ef3 Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Carsten "Tomcat" Book
7d66b2a945 Merge m-c to mozilla-inbound 2014-04-23 15:00:31 +02:00
Ehsan Akhgari
66ed3f1461 Bug 999908 - Remove support for the Web Audio legacy prefs for AudioBufferSourceNode, AudioContext, and AudioParam; r=padenot 2014-04-23 08:56:42 -04:00
JW Wang
22158c2aa1 Bug 998168 - nsITimer functions should be only called in the event target thread of the timer. r=cpearce. 2014-04-23 05:29:14 -04:00
JW Wang
77af058043 Bug 998168 - add decoder pointer to the log message of MediaDecoderStateMachine/MediaDecoder for debugging. r=cpearce 2014-04-23 05:29:04 -04:00
Carsten "Tomcat" Book
410267e783 Backed out changeset 1f410dde84d9 (bug 984498) 2014-04-23 08:20:37 +02:00
Benjamin Chen
a75d3ed394 Bug 994557 - part2: 1. fix bug in finishCluster function. 2. Can flush metadata only. 3. Ensure the keyframe is placed at the beginning of cluster. r=rillian 2014-04-23 12:04:27 +08:00
Sotaro Ikeda
db7a0e4e36 Bug 994889 - Fix how to get video size from OMXCodec r=cajbir 2014-04-22 20:21:29 -07:00
Benjamin Chen
1009c20413 Bug 994557 - part1:fix formatting, typo, 80 characters. r=rillian 2014-04-23 10:32:46 +08:00
Star Cheng
d77d681816 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=padenot 2014-04-23 09:58:38 +08:00
Wes Kocher
20d24e2d94 Merge inbound to m-c 2014-04-22 17:54:44 -07:00
Ryan VanderMeulen
2144e66473 Merge b2g-inbound to m-c. 2014-04-22 12:50:29 -07:00
Randell Jesup
1f9314c7a8 Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
Ethan Tseng
5f43c64159 Bug 992568 - Part 2: Refactor RtspChannel to support redirection. r=sworkman 2014-04-03 19:08:34 +08:00
Ethan Tseng
7d80196a9c Bug 992568 - Part 1: Render RTSP in the browser. r=sworkman 2014-01-20 18:54:33 +08:00
Ethan Tseng
0e5f7890cc Bug 998239 - [RTSP] Follow up of 877193 to refine RtspTrackBuffer size. r=sworkman 2014-04-18 15:54:00 +08:00
JW Wang
e8b41fbc67 Bug 995090 - Update MediaCache again when there are changes in |MediaCache::mStreams|. r=roc 2014-04-22 08:37:01 -04:00
Vasanthakumar Pandurangan
bcf38b36c6 Bug 994881 - Release audio offload player resources after pause timeout. r=roc 2014-04-21 16:47:04 +05:30
Jan Beich
f5c3201a40 Bug 996433 - Sprinkle MOZ_WEBRTC ifdefs to unbreak --disable-webrtc after bug 694814. r=jesup 2014-04-21 09:15:34 +02:00
Ryan VanderMeulen
6c9a60d624 Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
a46b5ab059 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Ryan VanderMeulen
a9cc5ff586 Backed out changesets 1e581e74878d, 7d2138e87ca0, and 7cc66aee4341 (bug 942367) for B2G mochitest failures.
CLOSED TREE
2014-04-17 22:26:07 -04:00
Randell Jesup
061c1534da Bug 996853: handle AUDIO_FORMAT_SILENCE in MediaPipeline and AudioSegment::WriteTo r=roc 2014-04-17 17:45:25 -04:00
Eric Rahm
0c4d54b70f Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
Martin Thomson
41016bdb71 Bug 942367 - Part 3: Stream isolation for WebRTC. r=jib, r=bholley 2014-04-10 11:52:08 -07:00
Martin Thomson
3fbfe60643 Bug 942367 - Part 2: DOMMediaStream support for PeerIdentity. r=bholley, r=roc 2014-04-10 11:51:29 -07:00
Randell Jesup
7164e62f23 Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg 2014-04-17 15:13:44 -04:00
Ralph Giles
0a786adb41 Bug 995289 - Use fmod to wrap custom waveform phase. r=padenot
From 4156df84046e8c0be31f02a9ac0ffac1cb9fe668 Mon Sep 17 00:00:00 2001
2014-04-14 19:12:13 -07:00
Birunthan Mohanathas
623dc45b86 Bug 997208 - Remove unnecessary nullptr checks before deleting in content/media. r=cajbir 2014-04-17 09:23:16 -04:00
Paul Adenot
df3abc4a21 Bug 997229 - Don't call IdealAudioRate on an offline MediaStreamGraph r=roc
--HG--
extra : rebase_source : 44aec47b98965a663600a84c630c0f89239842a6
2014-04-17 11:15:47 +02:00
Ethan Tseng
b679219e9b Bug 877193 - Reduce memory usage for RTSP streaming. r=sworkman 2014-04-16 21:07:17 +08:00
Randell Jesup
2e6f61e3bb Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg 2014-04-16 16:39:16 -04:00
Carsten "Tomcat" Book
1d7f94aeb5 Backed out changeset 3d0426ac98f1 (bug 942367) 2014-04-16 09:54:33 +02:00
Carsten "Tomcat" Book
85d97d12db Backed out changeset e6c72bcaa64c (bug 942367) 2014-04-16 09:54:31 +02:00
Martin Thomson
b068285328 Bug 942367 - Stream isolation for WebRTC. r=jib,bholley 2014-04-15 14:36:00 +02:00
Martin Thomson
d12717bd09 Bug 942367 - DOMMediaStream supports PeerIdentity. r=bobbyholley 2014-04-15 13:46:00 +02:00
Kyle Huey
3be8fc6baf Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
b6957123df Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
CJKu
c1a308666a Bug 951044 - [MediaEncoder::GTest] Implement unit test of VP8 video track encoder. r=rillian 2014-04-15 12:51:19 -04:00
Ming
00e45da717 Bug 994015 - [tarako]some mp4 video plays not smoothly r=cpearce 2014-04-11 02:10:00 +02:00
Rick Eyre
1d6973a0c5 Bug 974017 - Update vtt.js r=rillian.
This update contains the optimization for rendering cues
with large line values. It also reverts the change to clamp
parsed line values to between -1000 and 1000.
2014-04-14 07:57:00 +02:00
Chris Pearce
5205d683d0 Bug 993753 - Don't set media decoders idle while seeking. r=kinetik 2014-04-15 15:01:34 +12:00
Ryan VanderMeulen
1823db3230 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Randell Jesup
cec7b451da Bug 919215: Drop queued audio data on low-latency startup, make AudioStream::Init() async r=roc,padenot 2014-04-09 15:59:07 -04:00
Ryan VanderMeulen
601b02224e Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
a50fb4de7c Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
acd8c16b76 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Ryan VanderMeulen
9358e99d5e Backed out changeset b026cd9460ed (bug 995637) for mochitest-1 failures.
CLOSED TREE
2014-04-13 21:26:52 -04:00
Ehsan Akhgari
9ba140580d Bug 995637 - Remove the MochiKit includes from content/media tests; r=roc 2014-04-13 18:52:07 -04:00
Jan Beich
d08da323e7 Bug 995543 - Unbreak libc++ build after bug 982490 by using more portable mozilla::Abs. r=jesup 2014-04-13 15:41:07 -04:00
Benjamin Chen
ba7042f6f2 Bug 993303 - Correct the VorbisTrackEncoder::WriteLacing function. r=rillian 2014-04-11 13:54:15 +08:00
Andrea Marchesini
eaa3ff4eed Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Rick Eyre
ce6c727cbe Bug 976580 - Set cue state to dirty when video resize happens. r=rillian, r=bz
This way when the video is resized the rendering algorithm for the cues
will run again and hence, the caption size will be increased/decreased
for the new size of the video.
2014-04-07 15:42:33 -04:00
Paul Adenot
0813ec1527 Bug 991504 - Detect silent chunk when resampling, and properly handle them. r=roc 2014-04-07 18:22:11 +02:00
Chris Peterson
9af02d7f44 Bug 984071 - Part 2: Fix Linux warnings about unused LoadManager member variables. r=gcp 2014-04-07 17:36:41 -07:00
Ryan VanderMeulen
411811f032 Merge m-c to inbound on a CLOSED TREE. 2014-04-11 16:24:56 -04:00
Sotaro Ikeda
8305355d18 Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir 2014-04-11 06:13:12 -07:00
Ryan VanderMeulen
67a863c0c5 Merge m-c to inbound on a CLOSED TREE. 2014-04-10 22:16:50 -04:00
Mike Habicher
148549b192 Bug 981047 - enable torch mode in low light when video recording, r=dhylands,ehsan 2014-04-09 11:53:41 -04:00