gecko-dev/media
Andreas Pehrson 18c4e9ab29 Bug 1212237 - Use a content principal by default for received tracks. r=bwc
This swaps things around so that received tracks in peer connections have a
content principal instead of a null principal initially.

This puts an extra requirement on us to not output any frames under the content
principal after ALPN has been negotiated with requested privacy, but before this
private principal has been signaled to the MediaPipelines. The private principal
is signaled from the STS thread, via the main thread, whereas media is consumed
directly by MediaPipelines after being received on the STS thread.

This patch adds an extra signaling path directly from the STS thread that tells
MediaPipelines to make their PrincipalHandle private, and to ignore any data
until the private PrincipalHandle is set. It also moves the responsibility of
updating the principal of the received MediaStreamTracks from TransceiverImpl
to MediaPipeline, so it's all in the same path.

This lets all MediaStream and MediaStreamTrack APIs consume received tracks
directly after getting exposed to JS without errors. In case privacy is later
requested, consumers that have already been set up must handle this on the fly.
(They do, in specs and impls)

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:04:45 +00:00
..
audioipc Backed out 2 changesets (bug 1590249) for causing a spike in webgl crashes. CLOSED TREE 2019-10-29 03:04:11 +02:00
ffvpx Bug 1582271 - pt4 - add ffvpx mp3 decoding for android32. r=jya 2019-09-25 14:50:02 +00:00
gmp-clearkey/0.1 Bug 1579506 - Remove OpenAES source code and references r=bryce,mhoye 2019-09-12 23:27:08 +00:00
kiss_fft
libaom Bug 1592855 - run mach vendor aom with python3 r=dminor 2019-11-04 20:31:43 +00:00
libcubeb Bug 1591249 - Bump coreaudio-sys to 0.2.3. r=glandium 2019-10-31 20:14:00 +00:00
libdav1d Bug 1588123 - Update libdav1d to head; r=TD-Linux 2019-10-24 18:58:15 +00:00
libjpeg Bug 1508198 - Update libjpeg-turbo to 2.0.3. r=aosmond 2019-09-05 16:49:12 +00:00
libmkv Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libnestegg Bug 1592193 - Update libnestegg to b50521d4. r=bryce 2019-11-05 00:08:16 +00:00
libogg Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libopus Bug 1496746 - Remove VPATH; r=glandium 2019-09-09 17:44:47 +00:00
libpng
libsoundtouch Bug 1299139 - Don't export symbols from soundtouch on Windows; r=padenot 2019-06-11 10:01:54 +00:00
libspeex_resampler
libtheora Bug 1496746 - Remove VPATH; r=glandium 2019-09-09 17:44:47 +00:00
libtremor
libvorbis Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libvpx Bug 1585358 - Remove mingw-gcc configuration stuf from libvpx r=jya 2019-10-10 18:30:56 +00:00
libwebp Bug 1556062 - Add additional libfuzzer instrumentation for WebP. r=posidron 2019-05-31 19:26:23 +00:00
libyuv
mp4parse-rust Bug 1567359 - Update mp4parse-rust to 201556d3. r=me 2019-07-19 14:32:44 +12:00
mtransport Bug 1212237 - s/nsIEventTarget/nsISerialEventTarget/ in media/webrtc. r=bwc 2019-11-05 20:04:29 +00:00
openmax_dl
openmax_il/il112
psshparser
webrtc Bug 1212237 - Use a content principal by default for received tracks. r=bwc 2019-11-05 20:04:45 +00:00
moz.build
update-libjpeg.sh