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

3901 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup cb5f591b1b Bug 1263735: Update libcubeb to remove wasapi stubbing for enumeration r=kinetik
Also removes two spurious includes that were landed as possible bustage fixes in mozilla

MozReview-Commit-ID: 5PIxLpEAFmI
2016-04-11 17:19:46 -04:00
Michael Froman 438bea1ee6 Bug 906986 - Rework rollback/finalize to include a committed state. r=bwc, r=drno
MozReview-Commit-ID: z7uEn5xEBf

--HG--
extra : rebase_source : 18565a3c49045af9445a93de8753110169caf465
2016-04-05 20:12:04 -05:00
Michael Froman e2e642f12e Bug 906986 - Ice restart and tests. r=bwc, r=drno, r=smaug
MozReview-Commit-ID: AMEi7SZebBG
MozReview-Commit-ID: GS2EkamNGc7

--HG--
extra : rebase_source : f715bc837331028f6b5e22820c530e34ca5bedb8
2016-04-08 09:20:53 -05:00
Michael Froman 3afe176e86 Bug 906986 - Wrap NrIceCtx in NrIceCtxHandler which will allow us to handle ice restart. r=bwc, r=drno
MozReview-Commit-ID: 8MEfEBf2Pvi

--HG--
extra : rebase_source : ca23f499f155593e0601f918ab16ee38fae35f42
2016-03-31 14:12:19 -05:00
Michael Froman ae71fe6a8c Bug 906986 - Genericize some of the test setup and improve logging. r=bwc, r=drno
MozReview-Commit-ID: 7HddAbcncFC

--HG--
extra : rebase_source : fd418ab3493011f25ed8aaaea50549474d29108b
2016-03-31 11:31:58 -05:00
Michael Froman d4c059685e Bug 906986 - Use the streams from the ice_ctx, don't hold a separate set. r=bwc, r=drno
MozReview-Commit-ID: FwomOrICh70

--HG--
extra : rebase_source : bdb08ab1cb8e6c5779171e30aecb282bd5e30e24
2016-03-31 10:17:28 -05:00
Michael Froman ac55e03a26 Bug 906986 - Rework fix for Bug 1241690 to avoid reliance on NrIceCtx inside NrIceMediaStream. r=bwc, r=drno
MozReview-Commit-ID: 1QCfbZUGdwM

--HG--
extra : rebase_source : e47546e226839410b65013c66eab53b0212e86fe
2016-03-31 09:24:17 -05:00
Michael Froman 04ec3df956 Bug 906986 - Disable TestSrflxCandPairingFilter until bug 1226838 is fixed. r=bwc, r=drno
MozReview-Commit-ID: 5QFUeqDG4dh

--HG--
extra : rebase_source : a7c3f93e33072d0645339a6a169d49a9f58b04f2
2016-03-31 09:16:23 -05:00
Nils Ohlmeier [:drno] 4d0aaaafea Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
MozReview-Commit-ID: 8PpL6Z0za71

--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
Ralph Giles 2a3fb1bc74 Bug 1262637 - Remove rust mp4parse sse2 check. r=ajones
This reverts bug 1255869 which added a runtime check for sse2
support to work around sse2 instructions in the rust standard
library targeting i686-pc-windows-msvc.

We now make official builds against i586-pc-windows-msvc which
should omit the sse2 instructions which aren't supported for
all our current users.
2016-04-06 15:30:00 -07:00
Andreas Pehrson 92b0ad8df1 Bug 1248154 - Default to 0x0 frame size before receiving any frames. r=pkerr
MozReview-Commit-ID: 50et98ezPvV

--HG--
extra : rebase_source : c51bf77774e2d088ca8613b9b661d66133e9bb9b
2016-04-07 17:50:53 +02:00
Andreas Pehrson a64c4b22bd Bug 1208371 - Do image format conversion async in MediaPipeline. r=jesup
This is necessary since frame conversion could stall the MediaStreamGraph,
causing delay buildups and other junk.

This passes frames to a TaskQueue that converts on its own thread pool and
passes them on to VideoConduit when converted.

If the TaskQueue already has some buffered tasks (3 for now) we will drop new
frames coming in.

MozReview-Commit-ID: FXQyN0LecrX

--HG--
extra : rebase_source : 235789ba34608071e1934215f730e9b3493051a0
2016-03-18 11:01:26 +01:00
Andreas Pehrson 3693b06c8b Bug 1208371 - Update sink identity after adding track. r=mt
MozReview-Commit-ID: HL4YvBe3SuN

--HG--
extra : rebase_source : 50fde927644202fee6f7d08cbf5b0efaba3e75d8
2016-03-14 11:53:21 +01:00
Andreas Pehrson 3f68d5c8e1 Bug 1208371 - Don't treat audio chunks as mutable in MediaPipeline. r=padenot
MozReview-Commit-ID: 26VPBK2WOsB

--HG--
extra : rebase_source : e66f941c8ea41af28245991e2daeeb76ca4dea47
2016-03-10 15:36:10 +01:00
Andreas Pehrson 056ff9c9d0 Bug 1208371 - Never send more than one disabled frame in a row to the WebRTC encoder. r=jesup
MozReview-Commit-ID: 1F7zjGz32ad

--HG--
extra : rebase_source : 57a55bdaaa24b62654f2c4c78ffb038085fbd1b9
2016-03-10 14:35:50 +01:00
Andreas Pehrson 785d6859a4 Bug 1208371 - Forward declare MediaStreamGraph classes in MediaPipeline.h. r=bwc
MozReview-Commit-ID: DsDHelzMsz0

--HG--
extra : rebase_source : b83f9298795de1ae803930f17df4ba18f00e8425
2016-01-26 16:19:08 +08:00
Andreas Pehrson ee5913bb8b Bug 1208371 - Move MediaStreamTrack's label to MediaStreamTrackSource. r=jib
MozReview-Commit-ID: Aj7Cht4zxc6

--HG--
extra : rebase_source : c454a9f2b81a6a1eb574c1abee0fab64abbe5b72
2016-01-22 16:27:37 +08:00
Andreas Pehrson 3d73308fdd Bug 1208371 - Clean up unnecessary virtuals in MediaPipeline. r=bwc
MozReview-Commit-ID: 1XTgE5oSdAs

--HG--
extra : rebase_source : f285efd02d8f409bc5c97cc9750b832f073944c0
2016-01-22 11:34:15 +08:00
Andreas Pehrson ae216eef78 Bug 1208371 - Forward declare MediaStreamTrack in MediaPipeline.h. r=bwc
MozReview-Commit-ID: C6PCMIEJVQD

--HG--
extra : rebase_source : 616306c7cd1f773bc31a3fbe24c32d56961b4b90
2016-01-22 11:33:43 +08: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 2fb962f7fd Bug 1208371 - Let PeerConnection consume principals from tracks instead of streams. r=mt
MozReview-Commit-ID: 4kp8wTFohxZ

--HG--
extra : rebase_source : 02cc59262bd2574686d5bb41b49768814afd52b7
2016-03-10 17:35:35 +01:00
Andreas Pehrson f1662d16c9 Bug 1208371 - Switch MediaPipeline to use direct listeners on tracks. r=jesup,bwc
MozReview-Commit-ID: BSSfkTwXoVN

--HG--
extra : rebase_source : 8f001d4513062bb426f0a18670a3692ecf737a52
2016-03-18 14:21:51 +01:00
Andreas Pehrson cee42d7c20 Bug 1208371 - Move PeerConnection to use PeerIdentity on MediaStreamTrack. r=mt
MozReview-Commit-ID: ILNizs4dzmx

--HG--
extra : rebase_source : f0a6aa81a6b04e2db6c8bc746fe19c2ba92e18b4
2016-01-05 10:16:29 +08: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 0decc9b8a0 Bug 1208371 - Resolve ambiguous symbol MediaStreamTrack. r=bwc
MozReview-Commit-ID: KaFvTMxOiJQ

--HG--
extra : rebase_source : 1d85778755647cd4757b309634257b6d6d32f120
2016-01-05 10:16:27 +08:00
Andreas Pehrson a47ce20618 Bug 1208371 - Rename CreateOwnDOMTrack/CreateClonedDOMTrack to CreateDOMTrack/CloneDOMTrack. r=jib
MozReview-Commit-ID: DOGiwcYycJY

--HG--
extra : rebase_source : 197fc7a7c5d36200f987c38f26ab77ec8ea2d290
2016-01-05 10:16:26 +08:00
Andreas Pehrson 0396985d77 Bug 1208371 - Route ApplyConstraints through MediaStreamTrackSource. r=jib
MozReview-Commit-ID: CnJnxszKU4o

--HG--
extra : rebase_source : f5ef65897108b3feadd51b8b11a47f65a7a71ff1
2016-02-01 22:43:38 +08:00
Andreas Pehrson 5f32f21927 Bug 1208371 - Remove MediaStreamTrack::GetStream. r=jib
MozReview-Commit-ID: GP0Mo3CZZ8E

--HG--
extra : rebase_source : 196b149a180e033e021366790bf662037c4ec89f
2016-02-01 22:48:05 +08:00
Andreas Pehrson 84740b0197 Bug 1208371 - Make it possible to look up stream id by track in PeerConnectionImpl. r=jib
This attempts to get rid of uses of MediaStreamTrack::GetStream() in
PeerConnectionImpl but does unfortunately not go all the way. There's
still a use case in ReplaceTrack() so we handle it for now by making
PeerConnectionImpl a friend of MediaStreamTrack.

MozReview-Commit-ID: K4sKjWqjOSI

--HG--
extra : rebase_source : 913e7280151a275c8866ff44fa1886d8e2dc6660
2016-01-15 12:48:51 +08:00
Andreas Pehrson 4ce83c6b90 Bug 1208371 - Make PeerConnectionImpl pass its principal to MediaStreamTrack through a new RemoteTrackSource. r=mt
MozReview-Commit-ID: BxjQCHnmbDd

--HG--
extra : rebase_source : 475db7268fcb7b377c942c0999ab02967aa8a606
2016-01-14 21:07:12 +08:00
Andreas Pehrson 7d39fb28c3 Bug 1208371 - Break PCImpl::SetRemoteDescription into smaller pieces. r=mt,bwc
MozReview-Commit-ID: KzhcdLv4uen

--HG--
extra : rebase_source : 89177bd030e32206f67b617023846c43da6740c3
2016-01-22 14:38:50 +08:00
Andreas Pehrson 5cc032f3e6 Bug 1208371 - Turn DOMMediaStream::PrincipalChangeObserver into PrincipalChangeObserver<DOMMediaStream>. r=mt
MozReview-Commit-ID: JkBUEGdavZX

--HG--
extra : rebase_source : aca48148a30fc16db6a6435c592480a61174d96b
2016-01-22 12:10:41 +08:00
Andreas Pehrson f52f9b9310 Bug 1208371 - Add convenience method for checking if TrackID is explicit. r=roc
MozReview-Commit-ID: 330Fk17FJD4

--HG--
extra : rebase_source : 27395cdf427e6096f90097c1502b7930162d2c3e
2016-01-05 10:16:22 +08:00
Andreas Pehrson 9899305f28 Bug 1208371 - Add a MediaStreamTrackSource interface. r=roc
This lets a MediaStreamTrack communicate with its source/producer on the
main thread. It's for now used for stopping a track at the source and
retrieving some metadata, but it could also be a link between actual
sinks of a track and the source, to for instance let the source optimize
by scaling down the resolution when all sinks want lowres-video.

MozReview-Commit-ID: D4SJLr0aqhJ

--HG--
extra : rebase_source : ea511b5c86ca4836bfa980825f04617fef498261
2016-04-06 14:46:56 +02:00
Andreas Pehrson 88628853b2 Bug 1208371 - Move OnTracksAvailableCallback out of DOMMediaStream. r=roc
So it can be forward declared.

MozReview-Commit-ID: 4RH7p8AzO84

--HG--
extra : rebase_source : e9c4ef72029de4ed09dca3b51ba2b46829f41d14
2016-01-05 10:16:21 +08:00
bechen fd7bde80bb Bug 1215115 - part2: Mux opus into webm, remove bitdepth. r=rillian
MozReview-Commit-ID: 7D74vONbkFP

--HG--
extra : transplant_source : 2%AA%C8%F34%1E%CF%3C%9B%88%AC%AD%9F-%DC%7C%FE%B1m%5D
2016-04-01 11:04:00 +08:00
Makoto Kato 933513d8df Bug 1262335 - Part 4. Remove Android GB/HC OMX code. r=snorp
MozReview-Commit-ID: 4mkPBNXG6Jl

--HG--
extra : rebase_source : c186dc855cc1dc2bbb731a7b05fa52aca5beb169
2016-04-06 17:31:13 +09:00
Makoto Kato daa228c32b Bug 1262335 - Part 2. Remove Android GB/HC defines from OMX. r=snorp
MozReview-Commit-ID: HKbYZXftKBc

--HG--
extra : rebase_source : ac07306100914857848ca58714a517c4069711da
2016-04-06 17:30:17 +09:00
Nico Grunbaum f5e5add0aa Bug 1260784 - fix Stop Debug Mode button r=jesup
MozReview-Commit-ID: JHt5jWaY4xK
2016-03-30 09:12:15 -07:00
Nathan Froyd d7dfb00a02 Bug 1261116 - only compile libcubeb's test_resampler if PulseAudio is enabled; r=kinetik 2016-03-31 13:06:04 -04:00
Jan-Ivar Bruaroey aa408de276 Bug 1254187: Fix maxBitrate to respect simulcast. r=jesup
MozReview-Commit-ID: 51dz5y0q6qQ

--HG--
extra : rebase_source : 2b25f67832214cc9f6f816e9a70c119329a7b083
2016-04-01 15:10:47 -05:00
Byron Campen [:bwc] 7325e61fd6 Bug 1258753: Base candidate pair priority on controlling/controlled. r=drno
MozReview-Commit-ID: 6RAFaAtBbJq

--HG--
extra : rebase_source : 976b63d44fc7c50efa8f40b067cf45b56c66ed09
extra : source : 7b6263bcd3d7e9148914f5aaace10fc69ea0395d
2016-03-22 12:22:56 -05:00
Mike Hommey d06322ac66 Bug 1257888 - Link chromium mutex-based atomics implementation to webrtc signaling tests. r=froydnj 2016-03-30 07:21:07 +09:00
Randell Jesup bbbc6476fd Bug 1256430: start AEC log independently of webrtc TRACE r=jesup,pkerr 2016-03-29 11:32:54 -04:00
Nicholas Nethercote ea9bc73f05 Bug 1254780 (attempt 2) - Shrink log_types from 1024 entries to 16. r=ekr.
MozReview-Commit-ID: KWrOTuTlt6H

--HG--
extra : rebase_source : 36ec95f4584ea0d67286e9956456dffbe5294401
2016-03-11 10:06:32 +11:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Randell Jesup e8ac0554c8 Bug 1251502: _XOPEN_SOURCE level fix rs=bustage
on a CLOSED TREE

MozReview-Commit-ID: JUCRshXkC83
2016-03-27 19:06:37 -04:00
Randell Jesup 21d6b08430 Bug 1251502: include bustage fix rs=bustage
MozReview-Commit-ID: HTnSyDGKddY
2016-03-27 17:32:33 -04:00
Alex Chronopoulos 8747368bb1 Bug 1251502 - Add a duplex AudioUnit implementation. r=kinetik,padenot
MozReview-Commit-ID: Fbx9Qlsc50j
2016-03-25 17:44:37 +01:00