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

4173 Коммитов

Автор SHA1 Сообщение Дата
Anthony Jones 434a36aad7 Bug 1142455 - Tweak MediaCache parameters. r=roc 2015-08-28 14:12:11 +12:00
Jan Henning 7e0079f5ec Bug 1197985 - Part 2 - Prevent potential overflows of the input buffer pointer when skipping large ID3 headers. r=esawin 2015-09-04 18:00:09 +02:00
Jan Henning aa608ef285 Bug 1197985 - Part 1 - Successfully skip ID3 tags stretching beyond the current input buffer. r=esawin
This also slightly tightens up invalid header detection for both ID3 and MPEG frame headers.
2015-09-07 19:18:31 +02:00
Robert O'Callahan cfb5a21039 Bug 1201393. Remove usage of FLAG_BLOCK_INPUT from AudioParam/AudioNode. r=padenot
We don't need AudioNodes to block each other anymore.

--HG--
extra : commitid : 9rtWh5A3YY2
extra : rebase_source : cdd5c28b11602e53aaee178d3978b3e983ba5195
2015-08-31 16:58:10 +12:00
Robert O'Callahan 07c25fad56 Bug 1201393. Make suspended MediaStreams implicitly always block. r=padenot
To make this work, we have to iterate over suspended MediaStreams in a few
more places. We don't need START_TIME_DELAYED anymore since blocking takes
care of that. I think it's good to allow suspended MediaStreams to notify
the main thread that they're finished; we might need that later when
we have non-AudioNode streams being suspended.

--HG--
extra : commitid : AZKt73Eg3rQ
extra : rebase_source : a662e9c85453212299f30085c1228ec959355440
2015-09-04 17:01:01 +12:00
Robert O'Callahan a4974cf43a Bug 1201393. Create an iterator for MediaStreamGraph to iterate over all its streams. r=karlt
--HG--
extra : commitid : AYDeVMfjwxF
extra : rebase_source : 299db7189438a230e3f6c9123793bd3395a8784f
2015-09-08 16:18:15 +12:00
Robert O'Callahan c642f85a62 Bug 1201393. Remove irrelevant ProcessedMediaStream for nsSpeechTask. r=eitan
--HG--
extra : commitid : CuwvyZLm6ch
extra : rebase_source : 79b50e27404eb4d069fceabca6f91d883b1ef277
2015-09-01 16:49:50 +12:00
Robert O'Callahan 49d3b935f2 Bug 1201393. Remove usage of FLAG_BLOCK_INPUT from MediaStreamAudioSourceNode. r=jwwang
There's no reason why WebAudio should block an incoming MediaStream.

--HG--
extra : commitid : IjUoo3OFdq9
extra : rebase_source : 5df1530c9d927e30194931c15f97389b7b74b524
2015-08-31 16:56:33 +12:00
Robert O'Callahan 2da19b0669 Bug 1201393. Remove usage of FLAG_BLOCK_INPUT from MediaRecorder. r=jwwang
FLAG_BLOCK_INPUT is not needed on mPipeStream because nothing should cause
mPipeStream to block.

--HG--
extra : commitid : 660ZZiOdNCM
extra : rebase_source : 065351c8f7233072afa623d4e8ec0fb1dc2ceb47
2015-08-31 16:54:39 +12:00
Robert O'Callahan 4f744b98c0 Bug 1201393. Remove usage of FLAG_BLOCK_OUTPUT from MediaRecorder. r=jwwang
Blocking on the source stream will be treated as silence/no video change.

--HG--
extra : commitid : 6SiGcY4ED4a
extra : rebase_source : c28d291fbcb01c04b85906a1cd7859515193972e
2015-08-31 16:50:35 +12:00
Robert O'Callahan c578c7e771 Bug 1201393. Remove usage of FLAG_BLOCK_* from OutputStreamData::Connect. r=jwwang
We don't want to block stream decoding on the output MediaStream, or vice
versa.

--HG--
extra : commitid : 7YVsark1y97
extra : rebase_source : 81ab806d4ab93a2b4077fff27587014d5d04fa0f
2015-08-19 14:12:16 +12:00
JW Wang 6861793f66 Bug 1202533 - Fix naming convention of MediaSink::PlaybackParams. 2015-09-08 10:58:11 +08:00
Matthew Gregan 7c325c2df4 Bug 1202332 - XiphExtradataToHeaders miscalculates final header length. r=derf 2015-09-08 11:33:16 +12:00
JW Wang 246dd8805c Bug 1199155. Part 3 - rename mDecodedStream to mStreamSink. r=roc. 2015-09-07 19:32:16 +08:00
JW Wang b853505d1f Bug 1199155. Part 2 - fix includes and forward declarations. r=roc. 2015-09-07 19:32:04 +08:00
JW Wang e5956970d2 Bug 1199155. Part 1 - move dom/media/DecodedStream.* to dom/media/mediasink/ and implement the interface of MediaSink. r=roc.
--HG--
rename : dom/media/DecodedStream.cpp => dom/media/mediasink/DecodedStream.cpp
rename : dom/media/DecodedStream.h => dom/media/mediasink/DecodedStream.h
2015-09-07 19:31:51 +08:00
Jan-Ivar Bruaroey b490b98cfc Bug 1194640 - add NSPR logging of camera capabilities, r=jesup
--HG--
extra : transplant_source : %DD%14b%BA2%1D%B9%83%06%1B%94%E3%0C%EE%92%B6%BD%81%E9%08
2015-09-03 15:07:45 -04:00
Jan-Ivar Bruaroey c64c66da29 Bug 1201197 - add dedicated listener to enumerateDevices. r=jesup
--HG--
extra : transplant_source : %AF3%DCR%D41%91%FD4U%C1%5E%03%1C%0F%AE%92o%95U
2015-09-03 19:09:34 -04:00
JW Wang e6b2fb5ebf Bug 1199121. Part 3 - remove unused code. r=kinetik. 2015-09-07 11:58:27 +08:00
JW Wang 11100ac183 Bug 1199121. Part 2 - handle the case where audio ends before video and switch to system clock for calculating playback position. r=kinetik. 2015-09-07 11:58:11 +08:00
JW Wang 3fe397c6bb Bug 1199121. Part 1 - add the ability to handle video-only streams to AudioSinkWrapper. r=kinetik.
Note AudioSinkWrapper can now report correct playback position when the media is video-only or audio-only.
We will handle the case where audio ends before video in next patch where it needs to switch to system clock when audio reaches the end.
2015-09-07 11:56:52 +08:00
JW Wang d5b1c53fd7 Bug 1195158. Part 5 - 1. Fix insufficient includes and sort out include order. 2. Only disconnect |mTimedMetadataListener| when the state machine is created. r=cpearce. 2015-09-07 11:39:46 +08:00
JW Wang 7cab08fca3 Bug 1195158. Part 4 - remove unused code. r=cpearce. 2015-09-07 11:39:16 +08:00
JW Wang 09c4ea2b2e Bug 1195158. Part 3 - connect listeners. r=cpearce.
a. MediaMetadataManager is connected to MediaDecoderReader::mTimedMetadataEvent to receive TimedMetadata events.
b. OggReader publish TimedMetadata events through MediaDecoderReader::mTimedMetadataEvent.
c. MDSM calls MediaMetadataManager::DispatchMetadataIfNeeded to publish metadata if playback positoin reaches the publish time.
d. MediaDecoder is connected to MediaMetadataManager::mTimedMetadataEvent to receive TimedMetadata events.
e. MediaDecoder updates its metadata when TimedMetadata events are received.
2015-09-07 11:38:34 +08:00
JW Wang 300d859812 Bug 1195158. Part 2 - Have OggReader send TimedMetadata events through a event source instead of direct calls to AbstractMediaDecoder::QueueMetadata. r=cpearce. 2015-09-07 11:37:32 +08:00
JW Wang 687046dd09 Bug 1195158. Part 1 - Have MediaMetadataManager listen to an event source to receive TimedMetadata events. OggReader will send TimedMetadata events through an event source. This will break OggReader's dependency on AbstractMediaDecoder::QueueMetadata which then can be removed for it is against our goal to run all MediaDecoder's methods on the main thread. r=cpearce. 2015-09-07 11:37:27 +08:00
Jan-Ivar Bruaroey f777a670cd Bug 1187315 - Refactor out Constraints.webidl. r=bz
--HG--
extra : transplant_source : r%D6%95%C3%AE%3F%98%E5%2C%2C%067%B8%ABX%90%9F%5D%0Dz
2015-07-29 01:16:19 -04:00
Andrew McCreight 13445609b8 Backed out changeset 351d5f864f9e for not compiling. 2015-09-04 09:52:24 -07:00
Andrew McCreight cc00f8d5c9 Bug 1201271 - Warn about unused results for more methods of nsTArray. r=froydnj
This leaves alone the AppendElement methods.
2015-09-04 09:45:44 -07:00
Michael Froman 5b41dcab91 Bug 1051052 - Made mid an outparam in JsepSession::AddLocalIceCandidate. r=bwc
--HG--
extra : transplant_source : %A4P%E5%0CuZ%DE%86%D2%C5u%3FhV%DBe%A9%CD%BC%8C
2015-09-01 16:40:00 -05:00
Matt Woodrow c09902f664 Bug 1198202 - Increase hardware video decoding fallback threshold. r=ajones 2015-09-03 20:37:31 -04:00
Karl Tomlinson b02fb63b9a back out 0b4230b29db5,c8d987aeaece from bug 1197028 2015-09-02 23:44:37 +12:00
Karl Tomlinson 72bf6e31a4 bug 1193922 skip SetIsOnlyNodeForContext after shutdown r=padenot
This works around bug 1200514 but also avoids some unnecessary work.

--HG--
extra : rebase_source : 9f442f7eeac65976a711d6cc8e3947276bada756
2015-09-01 18:20:24 +12:00
Benjamin Chen 781123c457 Bug 1197669 - Part3 - Ensure the start event comes before any blobs. r=jwwang 2015-08-27 15:35:30 +08:00
Benjamin Chen cb59611f93 Bug 1197669 - Part2 - 1. Ensure the EOS is sent to MediaCodec. 2. mEndOfStream should be protected by monitor. r=sotaro 2015-09-01 11:25:35 +08:00
Benjamin Chen 313b3a3e26 Bug 1197669 - Part1 - 1.Enable the testcase on B2G. 2. fix the mimetype check in testcase. r=jwwang 2015-08-27 11:23:12 +08:00
Gian-Carlo Pascutto 546ec0bfcb Bug 1200614 - Protect the capture engines array from concurrent access (during shutdown). r=jesup 2015-09-02 18:41:06 +02:00
Robert O'Callahan 6abd4c751d Bug 1200099. Stop using a distinct mPlaybackStream to play a media stream through an HTMLMediaElement. r=jwwang
--HG--
extra : commitid : 3xsVxxZxINX
extra : rebase_source : 7c51fb071f9f303919ece13ff44d7a9a4cc438a9
2015-08-31 23:33:53 +12:00
Robert O'Callahan 2299b65689 Bug 1200099. Relax test assumptions to accommodate streams not blocking. r=jwwang
--HG--
extra : commitid : CC0exrsItgv
extra : rebase_source : 3ea92854d4312e8b6c9bf4bf6cbbfd4549bb41cf
2015-09-01 10:47:48 +12:00
Robert O'Callahan 8bd21cdeac Bug 1200099. Add a test that captured cross-origin video streams render black. r=jwwang
--HG--
extra : commitid : CJc8Cfzpc6A
extra : rebase_source : 0ac9dc3d55150500092dff47adca5e44c9b3c611
2015-08-31 14:47:44 +12:00
Robert O'Callahan ce23a7a17c Bug 1200099. Ensure mSameOriginMedia is propagated to DecodedStream even if we don't get a watch notification. r=jwwang
--HG--
extra : commitid : IsCUK4H6VDg
extra : rebase_source : 6f9df1819ac565b0482e8b180374b10707c10cde
2015-08-31 14:50:54 +12:00
JW Wang e9850bb954 Bug 1199104. Part 3 - use AudioSinkWrapper in MDSM. r=kinetik. 2015-09-02 14:14:40 +08:00
JW Wang 8672e5e660 Bug 1199104. Part 2 - create AudioSinkWrapper. r=kinetik. 2015-09-02 14:11:28 +08:00
JW Wang ffa0ec4380 Bug 1199104. Part 1 - create MediaSink. r=kinetik. 2015-09-02 14:11:22 +08:00
Nils Ohlmeier [:drno] 29abc01590 Bug 1200823 - s/test.steeplechase/test.testOptions.steeplechase/. r=bwc
--HG--
extra : rebase_source : f9e2b5101807af944e4be6b7143828bf43e2f3c7
2015-09-01 13:59:03 -07:00
Paul Adenot 2e5e264e67 Bug 901633 - Part 16 - Remove another allocation in the sending side. r=jesup
--HG--
extra : rebase_source : 1bf54b42e91ad549e33fbe163097cff83085dde1
2015-09-01 14:26:14 +02:00
Paul Adenot 5d3591994f Bug 901633 - Part 15 - Remove an allocation on the sending side, out of the packetizer. r=jesup
--HG--
extra : rebase_source : c0fae0eb11531618e9f99e094082ef4ca30cff44
2015-09-01 14:26:13 +02:00
Paul Adenot 9fadc3a66c Bug 901633 - Part 14 - Add testing for our audio processing functions. r=jesup
--HG--
extra : rebase_source : 46548a338ad518f94855b15e863dc8d869f7566b
2015-08-11 13:49:29 +02:00
Paul Adenot a5e8e37e15 Bug 901633 - Part 13 - Teach the resampler at the input of the MSG to dynamically change its channel count if needed. r=jesup
When the audio comes from a PeerConnection, we don't know how many channels the
audio will have, and it can change anyways.

--HG--
extra : rebase_source : b4d78217db012d2d94ede6d6724209b6046fbb29
2015-09-01 14:25:48 +02:00
Paul Adenot 089ff9d73b Bug 901633 - Part 12 - Add a function to deinterleave and convert an audio buffer. r=jesup
--HG--
extra : rebase_source : 60200bdecfb896d17cf42f205aba2f08afe2e4ac
2015-09-01 14:25:48 +02:00