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

255 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd 3e814c0f2a Bug 1263197 - part 3 - remove GetUserMediaLog function from MediaEngineWebRTC.cpp; r=jesup
GetUserMediaLog is a holdover from when when used PRLogModule and needed
to avoid a static constructor.  Now we have LazyLogModule, which doesn't
invoke static constructors, and so we can use that directly, rather than
indirecting through GetUserMediaLog.  This change also helps avoid an
unused function warning when logging is disabled.
2016-05-06 09:11:17 -04:00
Vivien Nicolas 766c525d44 Bug 1268428 - Use the raw mic data if all the constraints to disable processing have been passed to gUM. r=jesup
MozReview-Commit-ID: LWvjPsEiHhk

--HG--
extra : rebase_source : c9dcaf99b04ab0cba9e28f33c1aee6f5edf3fcb1
2016-04-29 14:08:47 +02:00
Paul Adenot 32e1303937 Bug 1243857 - Enable duplex audio for Windows/WASAPI. r=jesup
MozReview-Commit-ID: 4h1JTGSHr2v
2016-03-30 17:21:16 +02:00
ctai 8fcb64e480 Bug 1266644 - Rename StreamBuffer to StreamTracks. r=jesup r=pehrsons
Rename StreamBuffer to StreamTracks. We still need a place to keep the track information in every MediaStream, even the StreamBuffer::Track::mSegment is empty.

--HG--
rename : dom/media/StreamBuffer.cpp => StreamTracks.cpp
rename : dom/media/StreamBuffer.h => StreamTracks.h
2016-01-26 10:49:01 +08:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Paul Adenot b3adcea90b Bug 1266438 - Reset the AEC and other processing when audio devices change. r=jesup
MozReview-Commit-ID: Jrr9E9ZSukv
2016-04-22 16:24:17 +02:00
Randell Jesup 7d950772fc Bug 1266285: Don't include UNPLUGGED cubeb devices in getUserMedia list, and use correct default r=kinetik
MozReview-Commit-ID: 1hBNLCAu2rW
2016-04-21 01:42:50 -04:00
Randell Jesup 90f6a18287 Bug 1265641: Move AEC tail length and delay-agnostic settings to getUserMedia r=padenot
MozReview-Commit-ID: 6vHQlmt9lxR
2016-04-19 20:20:45 -04:00
Wes Kocher d2b8d72891 Backed out changeset 3016dc350c6d (bug 1243857) for Windows dt2 bustage in browser_wa_properties-view-media-nodes.js
MozReview-Commit-ID: Cu6chuq0wmL
2016-04-19 16:33:12 -07:00
Paul Adenot 850cb41501 Bug 1243857 - Enable duplex audio for Windows/WASAPI. r=jesup
MozReview-Commit-ID: 4h1JTGSHr2v
2016-03-30 17:21:16 +02:00
Sotaro Ikeda 3b81e9dd7d Bug 1262278 - Rename PlanarYCbCrImage::SetData and PlanarYCbCrImage::SetDataNoCopy r=nical 2016-04-18 20:12:41 -07:00
Milan Sreckovic e0b2b9e425 Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
MozReview-Commit-ID: rHhLEDZEQt

--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Thomas Zimmermann 448805f444 Bug 1262808: Fix use of |PrincipleHandle| in |MediaEngineGonkVideoSource| r=rjesup 2016-04-12 16:54:43 +02:00
Paul Adenot f57cd3383d Bug 1260745 - Null-check the `friendly_name` field in a `cubeb_device`. r=jesup
They can be null, according to the cubeb API.

MozReview-Commit-ID: FOKG2kTy9NX

--HG--
extra : rebase_source : 256101a51f7ae24dd073a3dcbf3b94af22b4db94
2016-03-30 16:47:02 +02:00
Andreas Pehrson faaa43e374 Bug 1208371 - Don't push frames as they come in to MediaEngine. r=jesup
That this caused problems is probably related to video not being supported for
direct track listeners. Frames could pile up under load and delay the MSG
since there were so many frames queued for processing.

With a direct listener the MediaPipeline processing would occur on the
MediaEngine's thread.

MozReview-Commit-ID: DjKblA7dMz9

--HG--
extra : rebase_source : 60bbc5f1add65f3cf5c2cfeadb915c79d33acc0a
extra : source : 6e6636eea735795dfcae9779ea8f71e8df9516ce
2016-03-08 12:13:22 +01:00
Andreas Pehrson b631e13d54 Bug 1208371 - Hook up MediaPipeline with PrincipalHandle. r=mt,bwc
MozReview-Commit-ID: DLyLZu7kC3p

--HG--
extra : rebase_source : 839de544b55fb98e610fec04d45551249d1af57b
2016-03-03 17:30:39 +01:00
Andreas Pehrson be74876e25 Bug 1208371 - Add PrincipalHandle to MediaChunks. r=mt,jesup
PrincipalHandle is a thread safe pointer to a holder of (the main-thread-only
nsIPrincipal) that can be passed around the MSG.

A MediaStreamTrack whose source has just updated its principal, sets the new
principal aside (as its "pending principal"), and combines the new principal
into its current principal.

Then the source starts passing the new principal to the MediaStreamGraph as
a PrincipalHandle.

Changes to a track's PrincipalHandle on the MSG will be surfaced through the
MediaStreamTrackListener API. These changes are dispatched to main thread
and compared to a MediaStreamTrack's pending principal. In case of a match
the track knows the correct principal is flowing and can move the pending
principal to be the current principal and update any main thread principal
observers.

MozReview-Commit-ID: D0JXGWhQFFU

--HG--
extra : rebase_source : 296e269bb46fc5a85a9c3f90dfc0dc40e53572bc
2016-04-06 14:56:44 +02:00
Andreas Pehrson eb7cd31741 Bug 1208371 - Make PeerIdentity RefCounted. r=mt
This so it can be shared between multiple tracks.

MozReview-Commit-ID: 3mjQImVY0f8

--HG--
extra : rebase_source : 9c8d11bb38e06a2cf5f7bf1c24ca657e28387682
2016-01-05 10:16:28 +08:00
Andreas Pehrson 2a7a664d3b Bug 1208371 - Un-nest MediaEngineSource::PhotoCallback. r=roc
So it may be forward declared.

MozReview-Commit-ID: JLEsMt1fqKz

--HG--
extra : rebase_source : 6bf12bd61d1bd479a340b10cafca049ef3fd0fac
2016-01-05 10:16:21 +08:00
Randell Jesup ce36c0e082 Bug 1258942: Lock around DeviceID access for audio inputs r=padenot
MozReview-Commit-ID: DQ5FBW4H8mX
2016-04-01 00:18:13 -04:00
Alex Chronopoulos bc6563f248 Bug 1251502 - Use `devid` instead of `device_id` when getting the ID for a cubeb device. r=jesup
MozReview-Commit-ID: JojzRPFhYJ
2016-03-25 17:41:45 +01:00
Martin Thomson 2238c2d4d1 Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: K97lKyhlsW8
2016-03-24 16:12:56 +11:00
Phil Ringnalda fd64e52ef9 Back out 1726498035c1 (bug 1258299) for xpcshell failures in test_rtcIdentityProvider.js
CLOSED TREE
2016-03-23 19:25:39 -07:00
Martin Thomson 15fbbd24ab Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: EP1fCvQlYqH

--HG--
extra : rebase_source : df44c64ca5614b1ff351d3aa9ffc78e513f97d58
2016-03-24 03:03:06 +11:00
Gian-Carlo Pascutto 839aa03119 Bug 1254102 - Add "blackout" mode. If the window is not legal, output a black square. r=jesup
MozReview-Commit-ID: GlBy8fUZwIE

--HG--
extra : rebase_source : 7708bc0cb5da5a676ae75d9965ede16e944c8307
2016-03-16 19:21:17 +01:00
Gian-Carlo Pascutto fbdfd1759a Bug 1254102 - Don't skip Tab sources if the camera is in use. r=jesup
MozReview-Commit-ID: 7ZaebdnWj3R

--HG--
extra : rebase_source : 77f645aa109b805cfaf0039a9daab21339fb0ef9
2016-03-15 20:39:37 +01:00
Gregory Szorc 1fa003c29e Bug 1256482 - Disable C4312 to unblock compilation on VS2015; r=jesup
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings, of course.

Given that the warning is in WebRTC which is third party code, there
isn't much we can do about the warning. However, Google is building
Chrome with Visual Studio 2015, so I wouldn't be surprised if this
were fixed upstream or will be fixed upstream. Then again, we allow
warnings when building WebRTC. So perhaps not.

MozReview-Commit-ID: G6JP9fkCzfn

--HG--
extra : rebase_source : bf5c9a049230bb8e483f6a85bdbc2ca20eb3ab45
2016-03-14 16:05:06 -07:00
Fabrice Desré 72233b19c7 Bug 1254515 - GonkCameraImage.cpp:16:5: error: class 'mozilla::GonkCameraImage' does not have any field named 'mThread' r=reuben 2016-03-08 18:23:43 -08:00
Randell Jesup 8851505a96 Bug 1250934: Modify MediaEngine shutdown to allow neutering the AudioDataListener r=padenot
MozReview-Commit-ID: 7LeFAbaTHMY
2016-03-08 12:11:09 -05:00
Randell Jesup a237d6632f Bug 1250934: Only dig out cubeb deviceIDs immediately before use since they can be freed r=padenot
MozReview-Commit-ID: CyIk4WCuJ9s
2016-03-08 12:11:09 -05:00
Tim Taubert 0d2f5760da Bug 1250930 - Use correct global when creating a key in GenerateAsymmetricKeyTask r=bz 2016-03-08 11:15:58 +01:00
Jonathan Watt a73bd8c354 Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
sakshi 1af0b67296 Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00
Nathan Froyd 3f6ef6aa59 Bug 1252198 - use UniquePtr instead of ScopedFreePtr in MediaEngineTabVideoSource; r=gerald
UniquePtr is more standard than ScopedFreePtr; using standard constructs
whenever possible is preferable.  In this case, we're allocating a
simple block of memory, so we can allocate an |unsigned char[]| via
MakeUnique for the same effect.
2016-02-29 10:20:01 -05:00
Carsten "Tomcat" Book 372be7a1e1 Backed out changeset b1b50935ab45 (bug 1249313) for for making Bug 1207431 worse 2016-03-01 11:21:55 +01:00
Gian-Carlo Pascutto 0cc14f2a8b Bug 1249313 - Don't shut down the entire Cameras IPC if a single source is shut down. r=jesup 2016-02-23 15:20:26 +01:00
Kan-Ru Chen 31705a1450 Bug 1249244 - Add missing argument to MediaEngineGonkVideoSource::Allocate. r=cyu
MozReview-Commit-ID: 5va5cHFqlja

--HG--
extra : rebase_source : ca16b27f315b06468c93dcfd25ad9fc739dc1021
2016-02-18 18:52:37 +08:00
Randell Jesup 674904d269 Bug 1237816: count open input sources for MediaStreams to release inputs on Destroy() r=roc,padenot
MozReview-Commit-ID: LkCBqPXAWBP
2016-02-03 21:12:51 -05:00
Randell Jesup 325a83f9f0 Bug 1245216: Avoid reallocating and leaking AudioPacketizer output buffer r=padenot
MozReview-Commit-ID: JAeodWyowex
2016-02-17 13:19:02 -05:00
Randell Jesup 53115cc247 Bug 1245216: white-list the fake 440Hz audio source used in automation for getUserMedia enumeration r=padenot
MozReview-Commit-ID: Gor7DsJlI2r
2016-02-17 13:19:02 -05:00
Randell Jesup 85f3c6a92d Bug 1245216: Fix getUserMedia input in full_duplex mode coming from the wrong place r=padenot
Also cleanup of an leftover overrridden interface, and re-add a line lost in merges

MozReview-Commit-ID: 7sjtbbtq1RG
2016-02-17 13:19:02 -05:00
Randell Jesup 0a6b21aecf Bug 1245216: plumb preferred sample rate from full_duplex cubeb through NotifyInput/Output r=padenot
MozReview-Commit-ID: 4F9LwSIZ5OA
2016-02-17 13:19:01 -05:00
Gian-Carlo Pascutto 546b46fa4c Bug 1177242 - Verify whether sandboxed Content process has permissions to access the camera/mic. r=jesup 2016-02-17 18:57:26 +01:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bill McCloskey c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Paul Kerr [:pkerr] 447a27169b Bug 1209252: add buttons to clear session and signaling logs. r=jib, r=sicking 2016-01-27 16:05:10 -08:00
Randell Jesup 69ee4cadcc Bug 1242061: remove small strdup() leak of devicename strings in getUserMedia enumeration rs=jib
--HG--
extra : commitid : 9FT4rttdtMx
2016-01-23 02:03:29 -05:00