gecko-dev/dom/media
Paul Adenot bb8066315b Bug 1575883 - Handle SIGXCPU in Gecko. r=kinetik,glandium
This allows installing a SIGXCPU handler, which will simply set an atomic to
true when reached.

Another function allows querying this atomic.

Finally, another function allows demoting the current thread from real-time
priority.

This is per-process currently, as there is only one audio callback thread that
is set to RT scheduling per process, servicing all HTMLMediaElements and MSGs.
Whenever any of those go over the soft limit, the thread is demoted.

Differential Revision: https://phabricator.services.mozilla.com/D43404

--HG--
extra : moz-landing-system : lando
2019-10-11 16:02:36 +00:00
..
benchmark
bridge
doctor
eme Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
encoder Bug 1512175 - Extend the constrained MediaRecorder mime type when needed. r=jib 2019-10-04 09:06:08 +00:00
fake-cdm
flac
fuzz
gmp Bug 1583861 - Replace usages of GMP_LOG with GMP_LOG_DEBUG and remove GMP_LOG. r=alwu 2019-09-27 17:57:24 +00:00
gmp-plugin-openh264
gtest Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
hls
imagecapture Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
ipc Bug 1584721 - P4. Recycle all ShmemBuffer including for video. r=mjf 2019-10-01 11:28:06 +00:00
mediacapabilities Bug 1581278 part 4. Stop incorrectly rejecting promises in MediaCapabilities. r=jya 2019-09-19 02:03:07 +00:00
mediacontrol Bug 1582802 - part3 : add a basic request and revoke test for audio focus. r=chunmin 2019-10-08 18:38:14 +00:00
mediasession Bug 1580602 - P3: Implement setActionHandler API. r=bzbarsky 2019-10-11 02:47:54 +00:00
mediasink Bug 1579127 - part2 : always present a valid timestamp on image. r=jolin 2019-10-08 08:06:13 +00:00
mediasource Bug 1581902 - p2: add HW H.264 check and rename methods. r=esawin 2019-10-08 17:15:23 +00:00
mp3
mp4 Bug 1454998 - Move TrackInfo::mTrackId away from TrackID as they're independent. r=karlt 2019-10-02 10:22:46 +00:00
ogg Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden 2019-09-18 08:26:34 +00:00
platforms Bug 1509316 - p3: transfer image ownership when constructing VideoData. r=jya 2019-10-09 23:08:31 +00:00
systemservices Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
test Bug 1512175 - Make test_mr_creation_fail.html spec compliant and test the error name. r=jib 2019-10-03 22:10:52 +00:00
tests Bug 1509316 - p4: disable HW codec in WebRTC tests. r=pehrsons,drno 2019-10-09 23:15:56 +00:00
wave Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden 2019-09-18 08:26:34 +00:00
webaudio Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
webm Bug 1582518 - Replace IntervalSet.Length usages with IsEmpty where appropriate. r=dminor 2019-09-20 19:41:53 +00:00
webrtc Bug 1583996 - Unlock CubebDeviceEnumerator mutex during call to cubeb_enumerate_devices. r=achronop 2019-10-08 18:53:55 +00:00
webspeech Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
webvtt Bug 1580015 - part1 : do not reentry function 'processCues()'. r=heycam 2019-09-12 08:13:46 +00:00
ADTSDecoder.cpp
ADTSDecoder.h
ADTSDemuxer.cpp
ADTSDemuxer.h
AsyncLogger.h
AudioBufferUtils.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
AudioCaptureTrack.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
AudioCaptureTrack.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
AudioChannelFormat.cpp
AudioChannelFormat.h
AudioCompactor.cpp
AudioCompactor.h
AudioConfig.cpp
AudioConfig.h
AudioConverter.cpp
AudioConverter.h
AudioDeviceInfo.cpp
AudioDeviceInfo.h
AudioMixer.h
AudioNotificationReceiver.cpp
AudioNotificationReceiver.h
AudioNotificationSender.cpp
AudioNotificationSender.h
AudioPacketizer.h
AudioSampleFormat.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
AudioSegment.cpp
AudioSegment.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
AudioStream.cpp Bug 1584523 - Add tracing statements to `AudioStream.cpp` to diagnose real-time safety issues. r=pehrsons 2019-10-02 12:16:24 +00:00
AudioStream.h Bug 1544997 - Propogate cubeb stream error to AudioSink to handle loss of audio device. r=padenot 2019-10-01 12:14:44 +00:00
AudioStreamTrack.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
AudioStreamTrack.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
AudioTrack.cpp
AudioTrack.h
AudioTrackList.cpp
AudioTrackList.h
AutoplayPolicy.cpp Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug 2019-09-20 20:51:25 +00:00
AutoplayPolicy.h
BackgroundVideoDecodingPermissionObserver.cpp
BackgroundVideoDecodingPermissionObserver.h
BaseMediaResource.cpp
BaseMediaResource.h
Benchmark.cpp
Benchmark.h
BitReader.cpp
BitReader.h
BitWriter.cpp
BitWriter.h
BufferMediaResource.h
BufferReader.h
ByteWriter.h
CanvasCaptureMediaStream.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
CanvasCaptureMediaStream.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
ChannelMediaDecoder.cpp
ChannelMediaDecoder.h
ChannelMediaResource.cpp
ChannelMediaResource.h
CloneableWithRangeMediaResource.cpp
CloneableWithRangeMediaResource.h
CubebUtils.cpp Bug 1575883 - Remove the code that created a couple threads at startup, in Gecko. r=kinetik 2019-10-11 16:01:24 +00:00
CubebUtils.h Bug 1575883 - Remove the code that created a couple threads at startup, in Gecko. r=kinetik 2019-10-11 16:01:24 +00:00
DOMMediaStream.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
DOMMediaStream.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
DecoderTraits.cpp
DecoderTraits.h
DriftCompensation.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
FileBlockCache.cpp
FileBlockCache.h
FileMediaResource.cpp
FileMediaResource.h
ForwardedInputTrack.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
ForwardedInputTrack.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
FrameStatistics.h
GetUserMediaRequest.cpp
GetUserMediaRequest.h
GraphDriver.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
GraphDriver.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
GraphRunner.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
GraphRunner.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
IdpSandbox.jsm
ImageToI420.cpp
ImageToI420.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
Intervals.h Bug 1582518 - Restyle some of media's Intervals.h. r=dminor 2019-09-20 19:11:28 +00:00
MediaBlockCacheBase.h
MediaCache.cpp
MediaCache.h
MediaChannelStatistics.h
MediaContainerType.cpp
MediaContainerType.h
MediaData.cpp Bug 1509316 - p1: move composite listening out of VideoData/VideoSink. r=jya,mattwoodrow 2019-10-09 23:08:12 +00:00
MediaData.h Bug 1509316 - p1: move composite listening out of VideoData/VideoSink. r=jya,mattwoodrow 2019-10-09 23:08:12 +00:00
MediaDataDemuxer.h
MediaDecoder.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaDecoder.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaDecoderOwner.h Bug 1454998 - Move TrackInfo::mTrackId away from TrackID as they're independent. r=karlt 2019-10-02 10:22:46 +00:00
MediaDecoderStateMachine.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaDecoderStateMachine.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaDeviceInfo.cpp
MediaDeviceInfo.h
MediaDevices.cpp
MediaDevices.h
MediaEventSource.h
MediaFormatReader.cpp Bug 1582518 - Replace IntervalSet.Length usages with IsEmpty where appropriate. r=dminor 2019-09-20 19:41:53 +00:00
MediaFormatReader.h
MediaInfo.cpp
MediaInfo.h Bug 1454998 - Move TrackInfo::mTrackId away from TrackID as they're independent. r=karlt 2019-10-02 10:22:46 +00:00
MediaMIMETypes.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
MediaMIMETypes.h
MediaManager.cpp Bug 1568169 - Remove SourceListener from window listener in all gUM failure paths. r=jib 2019-10-03 20:12:22 +00:00
MediaManager.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaMetadataManager.h
MediaPlaybackDelayPolicy.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaPlaybackDelayPolicy.h Bug 1578615 - part11 : remove usages of 'AudibleState::eMaybeAudible' in media element. r=chunmin 2019-09-25 23:55:42 +00:00
MediaPromiseDefs.h
MediaQueue.h
MediaRecorder.cpp Bug 1586328 - Make Extract take an aNow argument to avoid pushing a blob the very first call. r=bryce 2019-10-10 16:24:56 +00:00
MediaRecorder.h Bug 1512175 - Implement MediaRecorder MIME type constraining to spec. r=jib,smaug,bryce 2019-10-03 22:09:38 +00:00
MediaResource.cpp
MediaResource.h
MediaResourceCallback.h
MediaResult.h Bug 1582353 - P1. Add MediaResult serializer. r=mjf 2019-09-26 14:51:56 +00:00
MediaSegment.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaShutdownManager.cpp
MediaShutdownManager.h
MediaSpan.h
MediaStatistics.h
MediaStreamError.cpp
MediaStreamError.h
MediaStreamTrack.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaStreamTrack.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaStreamWindowCapturer.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaStreamWindowCapturer.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaTimer.cpp
MediaTimer.h
MediaTrack.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaTrack.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaTrackGraph.cpp Bug 1586387 - Don't append a device change message to a graph that is going away. r=padenot 2019-10-08 21:39:30 +00:00
MediaTrackGraph.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaTrackGraphImpl.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaTrackList.cpp
MediaTrackList.h
MediaTrackListener.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MediaTrackListener.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
MemoryBlockCache.cpp
MemoryBlockCache.h
PeerConnection.jsm Backed out changeset 62b78793d12e (bug 1583867) for WPT failures in webrtc/RTCRtpReceiver-getSynchronizationSources.https.html 2019-10-03 02:43:28 +03:00
PeerConnectionIdp.jsm
PrincipalChangeObserver.h
PrincipalHandle.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
QueueObject.cpp
QueueObject.h
RTCStatsReport.jsm
ReaderProxy.cpp
ReaderProxy.h
SeekJob.cpp
SeekJob.h
SeekTarget.h
SelfRef.h
SharedBuffer.h
TextTrack.cpp
TextTrack.h
TextTrackCue.cpp
TextTrackCue.h
TextTrackCueList.cpp
TextTrackCueList.h
TextTrackList.cpp
TextTrackList.h
TextTrackRegion.cpp
TextTrackRegion.h
ThreadPoolCOMListener.cpp
ThreadPoolCOMListener.h
TimeUnits.h
Tracing.cpp Bug 1584522 - Change the audio callback trace logger to be more ergonomic. r=pehrsons 2019-10-02 12:16:22 +00:00
Tracing.h Bug 1584522 - Change the audio callback trace logger to be more ergonomic. r=pehrsons 2019-10-02 12:16:22 +00:00
UnderrunHandler.h Bug 1575883 - Handle SIGXCPU in Gecko. r=kinetik,glandium 2019-10-11 16:02:36 +00:00
UnderrunHandlerLinux.cpp Bug 1575883 - Handle SIGXCPU in Gecko. r=kinetik,glandium 2019-10-11 16:02:36 +00:00
UnderrunHandlerNoop.cpp Bug 1575883 - Handle SIGXCPU in Gecko. r=kinetik,glandium 2019-10-11 16:02:36 +00:00
VideoFrameContainer.cpp Bug 1509316 - p1: move composite listening out of VideoData/VideoSink. r=jya,mattwoodrow 2019-10-09 23:08:12 +00:00
VideoFrameContainer.h
VideoFrameConverter.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
VideoLimits.h
VideoOutput.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
VideoPlaybackQuality.cpp
VideoPlaybackQuality.h
VideoSegment.cpp
VideoSegment.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
VideoStreamTrack.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
VideoStreamTrack.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
VideoTrack.cpp
VideoTrack.h
VideoTrackList.cpp
VideoTrackList.h
VideoUtils.cpp Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
VideoUtils.h Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug 2019-10-02 10:23:02 +00:00
VorbisUtils.h
WavDumper.h
WebMSample.h
WebVTTListener.cpp
WebVTTListener.h
XiphExtradata.cpp
XiphExtradata.h
components.conf
moz.build Bug 1575883 - Handle SIGXCPU in Gecko. r=kinetik,glandium 2019-10-11 16:02:36 +00:00
nsIAudioDeviceInfo.idl
nsIAutoplay.idl
nsIDOMNavigatorUserMedia.idl
nsIDocumentActivity.h
nsIMediaManager.idl