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

1815 Коммитов

Автор SHA1 Сообщение Дата
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
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
Nico Grunbaum f5e5add0aa Bug 1260784 - fix Stop Debug Mode button r=jesup
MozReview-Commit-ID: JHt5jWaY4xK
2016-03-30 09:12:15 -07: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
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
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Wes Kocher 739bbe42b0 Backed out changeset 5d1c109f708b (bug 1256430) for android build bustage CLOSED TREE
MozReview-Commit-ID: dVx9S3N7y5

--HG--
extra : amend_source : e68b76d577c0d8c3b6228782c9d937c6facd2417
2016-03-25 11:56:52 -07:00
[:ng] 8e69ead3a7 Bug 1256430: start AEC log independently of webrtc TRACE; r=pkerr
MozReview-Commit-ID: 9TlmjwjKXIL
2016-03-20 16:51:45 -07:00
Jan-Ivar Bruaroey 9ff449087b Bug 1259236 - throw NotSupportedError on pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: LBP9CybRmrI

--HG--
extra : rebase_source : f9deb3cca7e891562a3cbe5766f027dabcdf6ed9
2016-03-24 12:45:22 -04:00
Gregory Szorc 6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Trevor Saunders b744ac7d84 bug 1250492 - include sstream in SdpMediaSection.h instead of iostream r=jesup
It gets rid of a couple static constructors, and should make the build slightly
faster since we compile less code.
2016-03-23 09:26:01 -04:00
Trevor Saunders 4b87a31ba8 bug 1250492 - use tl::Max instead of std::max to get rid of a static constructor r=jesup
std::max is only constexpr in c++14 and >, but we build as c++11 so
initializing a constant with std::max ends up with a static constructor.
Fortunately we have tl::Max around which forces evaluation of the math at
compile time.
2016-03-23 09:25:48 -04:00
Randell Jesup 6f22cfc9fb Bug 1247574: Force webrtc audio input processing to resample to target rate to fix 16KHz mics. r=padenot
MozReview-Commit-ID: BBZcX03Z6Kn
2016-03-19 16:05:13 -04:00
Byron Campen [:bwc] 1327e24325 Bug 1256750: Remove unnecessary sscanf_s parameter on windows, and fix format string everywhere else. r=jesup
MozReview-Commit-ID: 3YFhTbGg5ec

--HG--
extra : rebase_source : 5a7de94ed893d9434b6195f029d7c634c9f848a0
2016-03-15 14:10:28 -05:00
Randell Jesup d6e073cec4 Bug 1254876: assert windows recording is shut down r=pkerr 2016-03-21 02:57:13 -04:00
Randell Jesup 9865e1f013 Bug 1257616: We can release Conduits immediately if we're on MainThread already r=drno 2016-03-17 20:45:09 -04:00
Nicholas Nethercote 3101dc7152 Bug 820972 - Comment out colorTable[] because we don't need it. r=jesup.
This saves 64 KiB of static data.
2016-03-11 12:41:30 +11:00
Ted Mielczarek 68bd5e8c4d bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
MozReview-Commit-ID: 9ip3qeAXFEe

--HG--
extra : commitid : H6aEkHprVyX
extra : rebase_source : e20d5f4b297caf66711c72cd55dd76f7f9ef9d9c
extra : histedit_source : 47545e0ea61eb66f16545f70e6d3792a389bedb1
2016-02-01 10:49:34 -05:00
Christoph Kerschbaumer b47c0eea98 Bug 1254691 - Remove SEC_NORMAL from webrtc/. r=bwc 2016-03-10 08:52:34 -08:00
Gian-Carlo Pascutto 568a64e79a Bug 1254507 - Fix leak in WebRTC DesktopApplication class. r=jesup
MozReview-Commit-ID: FLuQZcPyv0d

--HG--
extra : rebase_source : 24bc9507bb4abee94a1238176675948249c102f1
2016-03-08 14:14:05 +01:00
Byron Campen [:bwc] b0ba04fb55 Bug 1221473: Do not treat answer as authoritative wrt payload types. r=drno
MozReview-Commit-ID: 2uVn60j8QfC

--HG--
extra : rebase_source : 4f5ee469a514deb4e89745885cda34cb6061a660
2015-11-06 10:14:23 -06:00
[:ng] 9e95296e04 bug 1241064 - updating stats filter SSRC when audio channel SSRC changes; r=jib
bug: getStats was returning statistics for the shortlived, initial SSRC
now updating SSRC filter on statistics update callback to match audio channel ssrc
getStats API now returns statistics for correct SSRC: jitter, packets lost, etc.

MozReview-Commit-ID: WCd71WMkUW

--HG--
extra : rebase_source : 5d3a5a14e04313749173d264894e44411c3417bf
2016-03-03 08:03:06 -08:00