Name Description Size Coverage
android_video_capture -
CamerasChild.cpp 20412 93 %
CamerasChild.h 10797 93 %
CamerasParent.cpp 63213 85 %
CamerasParent.h 13359 88 %
CamerasTypes.cpp 722 88 %
CamerasTypes.h 1896 -
DesktopCaptureInterface.h 702 -
EmptyDesktopCapturer.cpp 745 -
fake_video_capture 85 %
FakeVideoSource.cpp 6293 93 %
FakeVideoSource.h Called by mTimer when it's time to generate a new image. 2207 100 %
MediaChild.cpp 3062 96 %
MediaChild.h 1509 100 %
MediaParent.cpp 17154 83 %
MediaParent.h Dummy class to avoid a templated class being passed to the refcounting macro (see Bug 1334421 for what happens then) 2691 43 %
MediaSystemResourceClient.cpp 1563 0 %
MediaSystemResourceClient.h This is a base class for listener callbacks. This callback is invoked when the media system resource reservation state is changed. 2678 -
MediaSystemResourceManager.cpp static 10528 2 %
MediaSystemResourceManager.h Manage media system resource allocation requests within a process. 2041 0 %
MediaSystemResourceManagerChild.cpp 1113 0 %
MediaSystemResourceManagerChild.h Handle MediaSystemResourceManager's IPC 1700 0 %
MediaSystemResourceManagerParent.cpp fail 2175 0 %
MediaSystemResourceManagerParent.h Handle MediaSystemResourceManager's IPC 1765 0 %
MediaSystemResourceMessageUtils.h 695 -
MediaSystemResourceService.cpp static 6238 3 %
MediaSystemResourceService.h Manage media system resource allocation requests within system. 2509 0 %
MediaSystemResourceTypes.h 600 -
MediaTaskUtils.h media::NewTaskFrom() - Create a Task from a lambda. Similar to media::NewRunnableFrom() - Create an nsRunnable from a lambda, but ignore the return value from the lambda. Prefer NS_NewRunnableFunction(), which provides a specific name, unless the lambda really must have a non-void return value that is to be ignored. 1395 100 %
MediaUtils.cpp 9231 91 %
MediaUtils.h Utility function, given a string pref and an URI, returns whether or not the URI occurs in the pref. Wildcards are supported (e.g. *.example.com) and multiple hostnames can be present, separated by commas. 11779 86 %
moz.build 3705 -
objc_video_capture -
OSXRunLoopSingleton.cpp This is needed so that AudioUnit listeners get called on this thread, and not the main thread. If we don't do that, they are not called, or a crash occur, depending on the OSX version. 1363 -
OSXRunLoopSingleton.h This function tells CoreAudio to use its own thread for device change notifications, and can be called from any thread without external synchronization. 650 -
PCameras.ipdl 3239 -
PMedia.ipdl Requests a potentially persistent unique secret key for each principal. Has no expiry, but is cleared by age along with cookies. This is needed by mediaDevices.enumerateDevices() to produce persistent deviceIds that wont work cross-origin. If this OriginAttributes dictionary has the privateBrowsing flag set to false, a key for this origin is returned from a primary pool of temporal in-memory keys and persistent keys read from disk. If no key exists, a temporal one is created. If aPersist is true and key is temporal, the key is promoted to persistent. Once persistent, a key cannot become temporal again. If the OriginAttributes dictionary has the privateBrowsing flag set to true, a different key for this origin is returned from a secondary pool that is never persisted to disk, and aPersist is ignored. 1937 -
PMediaSystemResourceManager.ipdl The PMediaSystemResourceManager is a sub-protocol in PImageBridge 967 -
ShmemPool.cpp 2482 77 %
ShmemPool.h 5477 86 %
video_engine 75 %
VideoEngine.cpp 4787 100 %
VideoEngine.h Returns an existing or creates a new DeviceInfo. Camera info is cached to prevent repeated lengthy polling for "realness" of the hardware devices. Other types of capture, e.g. screen share info, are cached for 1 second. This could be handled in a more elegant way in the future. @return on failure the shared_ptr will be null, otherwise it will contain a DeviceInfo. @see bug 1305212 https://bugzilla.mozilla.org/show_bug.cgi?id=1305212 3071 100 %
VideoFrameUtils.cpp 3405 79 %
VideoFrameUtils.h namespace mozilla 1560 -