Commit Graph

3920 Commits

Author SHA1 Message Date
Matthew Gregan
2cee6e38b1 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
3c60ecfba4 Merge b2g-inbound to m-c. 2014-04-25 16:12:25 -04:00
JW Wang
f065b28c64 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
dd4a20efc0 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
c6183f6ddf Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Carsten "Tomcat" Book
f4336f1541 Backed out changeset c07bced21c89 (bug 984498) for mochitest-1 bustage on a CLOSED TREE 2014-04-25 12:09:54 +02:00
Star Cheng
59feac455c Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Paul Adenot
aa81ed9e24 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
c14cfbf44f 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]
07fe6406b7 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
72885c0876 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
356b84852a Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
Wes Kocher
50c5a26e84 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]
7db94a6847 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
bf96d695e0 Merge m-c to mozilla-inbound 2014-04-23 15:00:31 +02:00
Ehsan Akhgari
6eeb144cc5 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
5bfcd08a49 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
ad59de6573 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
47979f8e8f Backed out changeset 1f410dde84d9 (bug 984498) 2014-04-23 08:20:37 +02:00
Benjamin Chen
1cb73ec373 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
decd53822e Bug 994889 - Fix how to get video size from OMXCodec r=cajbir 2014-04-22 20:21:29 -07:00
Benjamin Chen
2ce5fd2459 Bug 994557 - part1:fix formatting, typo, 80 characters. r=rillian 2014-04-23 10:32:46 +08:00
Star Cheng
857419fd92 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=padenot 2014-04-23 09:58:38 +08:00
Wes Kocher
7e12aa6d98 Merge inbound to m-c 2014-04-22 17:54:44 -07:00
Ryan VanderMeulen
e4daf0a0d5 Merge b2g-inbound to m-c. 2014-04-22 12:50:29 -07:00
Randell Jesup
a39021aa83 Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
Ethan Tseng
f2d1f8c08a Bug 992568 - Part 2: Refactor RtspChannel to support redirection. r=sworkman 2014-04-03 19:08:34 +08:00
Ethan Tseng
2ea30d25e4 Bug 992568 - Part 1: Render RTSP in the browser. r=sworkman 2014-01-20 18:54:33 +08:00
Ethan Tseng
059cac0e12 Bug 998239 - [RTSP] Follow up of 877193 to refine RtspTrackBuffer size. r=sworkman 2014-04-18 15:54:00 +08:00
JW Wang
79fabcdae3 Bug 995090 - Update MediaCache again when there are changes in |MediaCache::mStreams|. r=roc 2014-04-22 08:37:01 -04:00
Vasanthakumar Pandurangan
851264dc76 Bug 994881 - Release audio offload player resources after pause timeout. r=roc 2014-04-21 16:47:04 +05:30
Jan Beich
149bce343a 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
0ce621aabd Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
68500a88e9 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Ryan VanderMeulen
ecb85b74fb 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
dd18e038e2 Bug 996853: handle AUDIO_FORMAT_SILENCE in MediaPipeline and AudioSegment::WriteTo r=roc 2014-04-17 17:45:25 -04:00
Eric Rahm
314e9711f0 Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
Martin Thomson
33ae3b1f29 Bug 942367 - Part 3: Stream isolation for WebRTC. r=jib, r=bholley 2014-04-10 11:52:08 -07:00
Martin Thomson
18a7178383 Bug 942367 - Part 2: DOMMediaStream support for PeerIdentity. r=bholley, r=roc 2014-04-10 11:51:29 -07:00
Randell Jesup
b945edf9dc 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
a82d7f8191 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
c85411f987 Bug 997208 - Remove unnecessary nullptr checks before deleting in content/media. r=cajbir 2014-04-17 09:23:16 -04:00
Paul Adenot
3af065c262 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
9b511816f4 Bug 877193 - Reduce memory usage for RTSP streaming. r=sworkman 2014-04-16 21:07:17 +08:00
Randell Jesup
edc4e3927e 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
cecd1777d2 Backed out changeset 3d0426ac98f1 (bug 942367) 2014-04-16 09:54:33 +02:00
Carsten "Tomcat" Book
e285a213e7 Backed out changeset e6c72bcaa64c (bug 942367) 2014-04-16 09:54:31 +02:00
Martin Thomson
d27d0a86fc Bug 942367 - Stream isolation for WebRTC. r=jib,bholley 2014-04-15 14:36:00 +02:00
Martin Thomson
113397f3b5 Bug 942367 - DOMMediaStream supports PeerIdentity. r=bobbyholley 2014-04-15 13:46:00 +02:00
Kyle Huey
d001ae7759 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00