Commit Graph
359 Commits
Author SHA1 Message Date
Andreas Pehrson d6259111fd Bug 1319446 - DirectMediaStreamListener, you are dead to me. r=padenot
MozReview-Commit-ID: KwztE5ogSj9
2017-09-27 12:01:46 +02:00
Andreas Pehrson 4cddb84855 Bug 1296531 - Make logic that passes buffered data to direct listener generic. r=jesup
MozReview-Commit-ID: GdGFJHTNBS
2017-05-24 18:54:40 +02:00
Andreas Pehrson ff7c33813d Bug 1296531 - Don't notify of ended tracks when adding a direct listener. r=jesup
There were some cases where these tracks were detected as ended when they were
in fact not. That result in problems in the MediaRecorder.

MozReview-Commit-ID: 4CNUYRvzOgK
2017-05-23 16:00:42 +02:00
Andreas Pehrson 7e2c6dd2d5 Bug 1296531 - Break out ShutdownTicket and GetShutdownBarrier from MSG to MediaUtils. r=jib
MozReview-Commit-ID: HVCfuJz1zoA
2017-05-16 12:39:02 +02:00
Andreas Pehrson 34e2ce4161 Bug 1296531 - Notify MSG track listeners of removal during shutdown. r=jesup
MozReview-Commit-ID: BnWrUUvE5qk
2017-02-23 11:08:57 +01:00
Andreas Pehrson ee343f1f9d Bug 1296531 - Change MSG ControlMessages from virtual to override. r=jesup
MozReview-Commit-ID: 5cCbIG4gpd0
2017-02-23 11:08:26 +01:00
Andreas Pehrson dccafb3e57 Bug 1296531 - Notify of realtime data after NotifyDirectListenerInstalled. r=jesup
MozReview-Commit-ID: Byw5PZTHdLC
2016-11-17 09:59:49 +01:00
Wes Kocher 6ad0f8aebd Merge m-c to autoland, a=merge
MozReview-Commit-ID: BlE0HFQUP9c
2017-08-31 16:56:58 -07:00
Paul Adenot 5bc2601e60 Bug 1335029 - Take into account SystemClockDrivers in fallback mode when dealing with AudioContext promises. r=jesup
MozReview-Commit-ID: HBS6XGXDGf1
2017-08-30 15:18:10 +02:00
Paul Adenot e1d0783128 Bug 1395593 - Don't query the maximum channel count in ::PlayAudio using cubeb. r=achronop
MozReview-Commit-ID: 97ri5vhzsRF
2017-08-31 17:14:34 +02:00
Matthew Gregan 732e0cc4ee Bug 1388236 - Remove B2G-only AudioChannel code from MSG. r=padenot 2017-08-10 13:00:08 +12:00
Carsten "Tomcat" Book 3fe83e45ea merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Bevis Tseng 59627df038 Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
Kartikaya Gupta 14424677af Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.

MozReview-Commit-ID: 6s78RvPFMzv
2017-07-26 16:03:57 -04:00
Andrea Marchesini 9e8ae1dfd0 Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
Carsten "Tomcat" Book 8f40d14bcc merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Paul Adenot aadd3c3a24 Bug 1341555 - Consolidate use of the MSG's AbstractMainThread, and stop having AbstractMainThread on MediaStreams. r=pehrsons
MozReview-Commit-ID: 5hGDQcfpH6a
2017-06-29 11:30:57 -07:00
Paul Adenot 5be210e90e Bug 1341555 - Label MSG runnables. r=pehrsons
MozReview-Commit-ID: 4sfRH3FxtBT
2017-06-29 11:31:17 -07:00
Paul Adenot b501ebc61e Bug 1330360 - Create new MSGs for each nsPIDOMWindow. r=jesup
MozReview-Commit-ID: 5m1MGcLmT7J
2017-06-23 16:18:34 -07:00
Paul Adenot 7a539b407c Bug 1372247 - Make the AudioOutputObserver a member of the MediaEngineWebRTCMicrophoneSource so it's not a global singleton anymore. r=jesup
MozReview-Commit-ID: 3yC1PvG3sW7
2017-06-12 17:14:26 +02:00
Alex Chronopoulos 0839dd5fa7 Bug 1213414 - Implement channelCount audio constraint. r=jib,padenot
MozReview-Commit-ID: K95iBYOE1nR
2017-06-29 21:01:17 -07:00
Bill McCloskey ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng e6dc9e02bc Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Paul Adenot 6e5125d3dc Bug 1369422 - Simplify MediaStreamGraph::IsNonRealtime and make it not lock. r=jesup
MozReview-Commit-ID: HAHR97y6zfh
2017-06-01 17:51:15 +02:00
Bill McCloskey c402a046c2 Bug 1363560 - Name more runnables (r=mccr8)
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Andreas Pehrson 6f4127973c Bug 1342950 - Assert false, not true, on failure in debug. r=jesup
MozReview-Commit-ID: EQ9NESBhRdK
2017-04-26 14:02:09 +02:00
Jan-Ivar Bruaroey 83de036235 Bug 1354642 - Add MakeRefPtr<> helper class. r=Ehsan
MozReview-Commit-ID: es34uMTZ00
2017-04-07 15:08:42 -04:00
Paul Adenot fb31129fa6 Bug 1341666 - Allow running a close message during an MSG shutdown. r=jesup
MozReview-Commit-ID: Hqg0porLEXT
2017-03-20 16:25:19 +01:00
Tom Tromey a4b717ab39 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Bill McCloskey f79edeabc9 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Paul Adenot 09edbc0cfe Bug 1336945 - Modernize MSG/GraphDriver logging. r=jesup
MozReview-Commit-ID: 5Redgg5uaQG
2017-02-06 16:22:36 +01:00
Jean-Yves Avenard fa1fcd710b Bug 1319987: P9. More coding style fixes. r=gerald
MozReview-Commit-ID: DhFRqkWQZny
2017-01-27 13:20:37 +01:00
Bevis Tseng d028a1f078 Bug 1314833 - Part 2.2: Use AbstractThread::CreateDirectTaskDrainer() to Drain Direct Tasks Dispatched to MediaStreamGraph. f=rjesup,r=padenot,jwwang
MozReview-Commit-ID: 1KgE3uKu4CG
2016-12-07 22:00:12 -10:00
Randell Jesup 4d2f5e8b5a Bug 1330212: Release GraphDrivers outside of StableState runnable to avoid spinning the event queue r=smaug,padenot 2017-01-13 13:54:20 -05:00
Paul Adenot 5e27fd0949 Bug 1228226 - Backed out changeset 2553c3b5ba89.
This causes a number of issues, like bug 1329082, where we don't swap the
message queues of the MSG where we should, and blows up an assert in debug.

MozReview-Commit-ID: 2I3IjfK8L8r
2017-01-13 16:15:27 +01:00
Andreas Pehrson 87c3da2e52 Bug 1305949 - Use the same path for passing on missed data to video sink, as during normal operation. r=ctai
MozReview-Commit-ID: FDKFf1skYVe
2016-10-13 11:18:53 +02:00
Andreas Pehrson 1c2c6092bf Bug 1305949 - Refactor code that feeds video stream sink when it gets added. r=ctai
This mostly simplifies the code, but there are two changes to the logic as well.

1) The decision to install the listener or not used to be based on if the track
   existed in mUpdateTracks, while feeding the sink would look at the
   StreamTracks as well. This now looks at StreamTracks since an ended track is
   kept there but removed from mUpdateTracks. That means that we also
   NotifyEnded() if the track was in the StreamTracks but not in mUpdateTracks.

2) I removed the code that feeds a video stream sink with the last chunk in
   case the graph's current time has passed the end of the track. Tests should
   be written so that we have guarantees that there will be video data when a
   video stream sink gets added. If this fails we should fix the root cause of
   such a timing issue instead of wallpapering it with an old frame. I think
   this could be masking other issues. We'll see how this acts out on try.

MozReview-Commit-ID: KKr9JhVpxZt
2016-09-28 16:12:20 +02:00
Andrea Marchesini 4990e5c72d Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-21 10:52:50 +01:00
Sebastian Hengst 284d84177a Backed out changeset 50a74758ee7d (bug 1324352) for failing webaudioeditor devtools tests like test/browser_audionode-actor-bypass.js. r=backout 2016-12-20 23:03:36 +01:00
Andrea Marchesini a26b7bb27c Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-20 20:20:41 +01:00
Dan Minor daee673a83 Bug 1172997 - Track suspended MediaStream inputs separately to optimize input processing; r=karlt
MozReview-Commit-ID: Id7vVSCFO76
2016-08-24 13:04:33 -04:00
Dan Minor b9583e3f83 Bug 1157635 - Use DenormalDisabler.h to automatically flush subnormals; r=karlt
This adds a DenormalDisabler instance at the beginning of each
MediaStreamGraph iteration. On supported platforms, this will cause subnormal
numbers to be flushed automatically.

MozReview-Commit-ID: JGtunsqSirR
2016-08-05 15:33:08 -04:00
Alex Chronopoulos f8a679a251 Bug 1221574 - [05] Fix MediaStreamGraph lifecycle logs in case of Android. r=jesup
MozReview-Commit-ID: czoHOOCqSu
2016-11-18 18:00:48 +02:00
Alex Chronopoulos 6831c8ec23 Bug 1221574 - [02] Fix build erros with the new backend. r=jesup
MozReview-Commit-ID: n27saMBWfw
2016-11-18 18:00:48 +02:00
Andreas Pehrson c93dc674e4 Bug 1302612 - SourceMediaStream: Don't lock mMutex when disconnecting consumers. r=jesup
MozReview-Commit-ID: 7F4BXQbzUSx
2016-10-24 07:46:21 +02:00
Dan Minor 12fa7cdc24 Bug 1228226 - Fix clicks with new playing AudioContext; r=padenot
When switching from the SystemClockDriver to another driver, for instance,
during a page reload or reopening a closed tab, the first iteration will
execute on the SystemClockDriver which can cause clicking when the switch
actually occurs if part of the ramp up is lost. This changes the iteration
time period so that no time advances when a switch from the SystemClockDriver
is in progress.

MozReview-Commit-ID: 8uEBsJc0vPR
2016-09-26 14:04:56 -04:00