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

4019 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] c2d6cc516f Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : fd5d972f042baf0007d09579fe43893c1a787836
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc] ac965bfc5a Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : d611712e2a7f0a29063ee5765dc66fb7ed9e5b0f
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc] 5fd2e18004 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : 590238bca757ff3e7c13202f5db1971084fe538d
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc] ff7fa1e45c Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : 12e1d24a7324ff1d87954fa1b56d83d2adaaa530
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc] 73c29a05f5 Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 7b9b7cc850a7968e9ad778a42e87b9df196307f1
2016-03-04 15:45:57 -06:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Andi-Bogdan Postelnicu 66da00b99b Bug 1268449 - prevent memory leak in Resolve. r=ekr
MozReview-Commit-ID: 7K94oXrkhne

--HG--
extra : rebase_source : 3d7e08a7f50f8ac4550167f23d1334e941133e23
2016-04-28 14:13:55 +03:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Byron Campen [:bwc] ca09368d22 Bug 1234578: Add an assertion. r=drno, a=abillings
MozReview-Commit-ID: 5Mq8CBmSDsu
2016-04-06 14:19:53 -05:00
Paul Adenot 3b6d6ce4d6 Bug 1267930 - When the wasapi rendering loop is stuck and we're shuttin down, leak the thread and continue the shutdown process. r=kinetik
It's probably better to not TerminateThread here, because we don't really know
what happened down the stack of the rendering loop, so we just leak it. This
happens during shutdown so it's not really an issue, it's going to be cleaned
up by the OS anyways.

MozReview-Commit-ID: 4o3Krj7L7m2
2016-04-28 12:02:14 +02:00
Wes Kocher 6a486eb10c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 56rcBPa9a6G
2016-04-27 14:16:30 -07:00
Wes Kocher 20598f44f6 Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
MozReview-Commit-ID: EoGyz071RoN

--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Wes Kocher 55d7bfae3f Backed out changesets 8ed054e5853e,d56adef9c8e0,408df9f84697,7092e498ac3a,29dce05596c6,ae1dc75009e7 (bug 1231975) for breaking local mochitests a=backout
MozReview-Commit-ID: 17mJDyZMVju

--HG--
extra : histedit_source : cf965b94d4b36cc1b4ce0a89272f9c355ae1b82e%2C72cefdebce52a0e6653a87dd0ef0a1316fe0ec18
2016-04-27 10:20:42 -07:00
Matthew Gregan de83009807 Bug 1267513 - Update libnestegg to pick up BlockGroup parsing fixes. r=giles 2016-04-27 15:25:26 +12:00
Yoshi Huang 7ae2e09f40 Bug 1263496 - Part 2: fix for NS_NULLPRINCIPAL_CONTRACTID. r=bholley
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=NS_NULLPRINCIPAL_CONTRACTID&redirect=true
2016-04-27 18:38:03 +08:00
Nils Ohlmeier [:drno] 49438ee761 Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
MozReview-Commit-ID: ETkx1Z56bI8

--HG--
extra : rebase_source : c3221aa336beb5fcf450754537a5cd1856357494
2016-04-08 16:51:21 -07:00
Nils Ohlmeier [:drno] 696852ce71 Bug 929977: Add support for RFC 7675 ICE consent freshness. r=bwc,mt
MozReview-Commit-ID: HGRM10L0R3M

--HG--
extra : rebase_source : c50f8665230140096dd163bb5fbb13482a976c91
2016-04-26 13:11:25 -07:00
Byron Campen [:bwc] 475039d8aa Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : 9ba82ea745c3aa8f4e3c14291aca36d68b775f7e
extra : source : e215c66a184b9424e76892673f2849d3bf262606
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc] d99ec1f82d Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : 162ab84cf48171a818e3aff7c65b4964a4989b05
extra : source : 99b6fffc375214bd061e729ed0462edbaec844ce
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc] 0654267081 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : d42f45b1e2bd7b96808ca814d25258904ce6ebfe
extra : source : 68ac205949c9b5d57f85689f660ebf9de119d384
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc] 18f4a13f02 Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : d5fa4d0138112d5932f4db43958b60f1606f0af2
extra : source : 81271ec54981bd4c7b0fa72889ba509e5c434ff4
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc] 903901c97b Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 81f06e74ab74558cfba435cac79bc6fee0d7409c
extra : source : 9249495e35aa39f4cf4f5604a9e1b56608c8775a
2016-03-04 15:45:57 -06:00
ctai 4e89100cf8 Bug 1266644 - Rename DOMMediaStream:: CreateXXXStream to DOMMediaStream:: CreateXXXStreamAsInput. r=jesup r=pehrsons
MozReview-Commit-ID: 4X0Q1XuENa4
2016-04-25 11:43:27 +08: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
Charles Collicutt 5d60c22c60 Bug 1261414 - Don't build libav with sysctl on Unix (it's not used anyway). r=glandium 2016-04-12 13:15:00 +02:00
Jean-Yves Avenard 71b5b956c8 Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w

--HG--
extra : rebase_source : 71292f9f45e8a2d7e02e720ce367f291edaf00b8
2016-04-19 14:39:39 +10:00
Matthew Gregan ff1d7be7b4 Bug 1266623 - Up/down mix WASAPI capture streams when stream formats don't match. r=padenot 2016-04-26 13:31:49 +12: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
Carsten "Tomcat" Book 94cebd7b33 Backed out changeset a9fcd0e98cc3 (bug 1231981) 2016-04-25 16:28:53 +02:00
Carsten "Tomcat" Book 42f342e18c Backed out changeset 4cff2bed6747 (bug 1231975) 2016-04-25 16:28:47 +02:00
Carsten "Tomcat" Book f49979964c Backed out changeset 1913c67263eb (bug 1231975) 2016-04-25 16:28:44 +02:00
Carsten "Tomcat" Book 8353eec0ac Backed out changeset 9d0c273048d6 (bug 1231975) 2016-04-25 16:28:42 +02:00
Carsten "Tomcat" Book 7cc02680ae Backed out changeset b21f8efbd341 (bug 1231975) 2016-04-25 16:28:41 +02:00
Byron Campen [:bwc] 543c799051 Bug 1266468: Respond to STUN requests with 400 if the component is failed. r=drno
MozReview-Commit-ID: 106OvQ7WLvp

--HG--
extra : rebase_source : 797c932080d07ff3d0be2fd20d9082944f1ac51d
2016-04-21 13:00:26 -05:00
Byron Campen [:bwc] f508596540 Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : 4fa178e6b2d715d5f7e56e7dd19d607830c31ff7
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc] 4262b60302 Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : 3fdcbf69370a69556b6b34d1a9c8c142732e21f8
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc] fb77b5d2b8 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : efc3eb166d01de91c2d628540fda625155d8cd26
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc] 98c17059df Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : 20d6bc3424e433fbc0a98739310598c3c9433c87
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc] 50135632ac Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : f52583fe21269d4d4214b93315cc75f0535de55d
2016-03-04 15:45:57 -06:00
Michael Froman 7de8875d6b Bug 1264416 - RollbackIceRestart wasn't resetting mIceRestartState. r=drno
MozReview-Commit-ID: BPmHKOCt9Im

--HG--
extra : transplant_source : %D7q%D9%A6%89%8C%B0C%1B%F5%B0%85%0E%C2%B0%03%C9%16u%B6
2016-04-21 00:35:57 -05:00
Jacek Caban 92367ea979 Bug 1244773 - Fixed ffvpx compilation on mingw. r=jya 2016-04-23 14:34:59 +02:00
Nils Ohlmeier [:drno] 9e5040ab92 Bug 1264351: removed hand break which disables ICE TCP on e10s r=jesup
MozReview-Commit-ID: 8Llssz59QwM

--HG--
extra : rebase_source : 0b624b9fc0e758eb7d09084493b4dcfe4ae0a0ec
2016-04-13 10:16:35 -07:00
Alex Chronopoulos 6f159ce8bf Bug 1266753 - Fix mac bustage: use the old enum values, on a CLOSED TREE. r=padenot
MozReview-Commit-ID: 3wr3iTG6IWY
2016-04-22 18:42:11 +02:00
Alex Chronopoulos a60e62f398 Bug 1266753 - Update cubeb to revision dbdfb to pick up OSX device notification changes. r=padenot
MozReview-Commit-ID: 7N66FmG9P5u
2016-04-22 16:36:39 +02:00
Andreas Pehrson 54d652f0b5 Bug 1266685 - Don't pass too many frames to the MediaPipelineTransmit VideoFrameConverter. r=jesup
MozReview-Commit-ID: 4XwcfBW9nkY

--HG--
extra : rebase_source : 80a61240a214633f1023043b9cc3846df3fc2df9
extra : source : b9e6df3042ec08778f3c5f85d093367f8f9bce52
2016-04-15 16:00:09 +02:00
Chris Peterson 78f3e767ba Bug 1266293 - Remove unnecessary compiler version check and stdint polyfill for MSVS 2010 in webrtc/signaling/. r=drno 2016-04-18 22:51:47 -07:00
Carsten "Tomcat" Book 9d468452aa Backed out changeset a9bfe66b235c (bug 1264199)
--HG--
extra : rebase_source : f8151216bd24997a1f0de70ec515c920151a7dc4
2016-04-21 16:31:52 +02:00
Jean-Yves Avenard a0ff91528b Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w

--HG--
extra : rebase_source : 592c0dcb4e01308116e0ea264a59fe9e592986b3
2016-04-19 14:39:39 +10:00
Wes Kocher c65b052530 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aas4kEyBseh
2016-04-20 14:19:25 -07:00
Wes Kocher e5a7b1fed7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1WOpYvB2IHo
2016-04-20 13:54:50 -07:00
Wes Kocher b8f98ffe9f Backed out 8 changesets (bug 1264199) for permafailing media mochitests on OSX 10.6 a=backout
Backed out changeset 0f20f2080824 (bug 1264199)
Backed out changeset 90351d2719be (bug 1264199)
Backed out changeset f484b42cbdda (bug 1264199)
Backed out changeset b79b62146120 (bug 1264199)
Backed out changeset f587df589b69 (bug 1264199)
Backed out changeset 02f781a573b4 (bug 1264199)
Backed out changeset d3677ae4c8ec (bug 1264199)
Backed out changeset d08288654ec9 (bug 1264199)

MozReview-Commit-ID: HVtiBSOxf7t
2016-04-20 11:01:36 -07:00
Jean-Yves Avenard 1d8e31734e Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w
2016-04-20 15:03:46 +10:00
Benoit Girard 85ba14a3e5 Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
MozReview-Commit-ID: JveFLuIcbaN

--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
Andreas Pehrson 34fc67e392 Bug 1246310 - Let MediaPipelineReceive tracks start at 0. r=jesup
We create the tracks with a segment lasting from 0 to current time,
so there's no need to offset them with the same amount again.

MozReview-Commit-ID: DPPgxWM2oeR

--HG--
extra : rebase_source : 585d9bec5a157d05239f572626f98506764dc3f6
extra : source : d22823bbe4816c03bbdb3f2c52e5d2043244d014
2016-04-15 15:59:31 +02: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
Paul Adenot f1ecd64200 Bug 1265692 - Update cubeb to 0bc02f9. r=padenot,kinetik
This picks up fixes for:

- bug 1264892
- bug 1265541
- bug 1263514
- bug 1263505

MozReview-Commit-ID: CaNRARFO9UD
2016-04-19 14:02:23 +02:00
Sotaro Ikeda 3b81e9dd7d Bug 1262278 - Rename PlanarYCbCrImage::SetData and PlanarYCbCrImage::SetDataNoCopy r=nical 2016-04-18 20:12:41 -07:00
Nils Ohlmeier [:drno] 3ccfa94608 Bug 1264726: ignore unsupported SDP bandwidth parameters. r=bwc
MozReview-Commit-ID: WIsWIllUph

--HG--
extra : rebase_source : 23e48ad729bb1e5478c23e20ba5139e8d4f444ee
2016-04-15 22:29:26 -07:00
Nils Ohlmeier [:drno] df7216ecb4 Bug 1259842: allow RFC1918 pairing again r=mjf
MozReview-Commit-ID: 6afbRF64PM2

--HG--
extra : rebase_source : fbdf8db55ed9fb22cf39b375551741a5e75aac14
2016-04-05 17:10:03 -07:00
Paul Adenot 3ef0477eee Bug 1269692 - Update cubeb to revision 17e3048d0afa1152776fb1867cdb61c49fae69e4.
This picks up the fixes for bug 1268675 and bug 1268499, both reviewed by
kinetik.

MozReview-Commit-ID: GLIDQgIGqch
2016-05-03 11:53:19 +02:00
Thomas Zimmermann 4fd6e14941 Bug 1264892: Use system declaration of |__system_property_get| on B2G, r=padenot 2016-04-18 14:32:29 +02:00
Jan Beich 33681ffdb9 Bug 1239550 - Apply bug 1228230 against media/ffvpx. r=glandium,jya
MozReview-Commit-ID: EGLaoJnSaWY

--HG--
extra : rebase_source : cb63892bbe75a6eabbd318d179797218254cf2f1
2016-04-09 10:48:50 +00:00
Randell Jesup fc63a4eb34 Bug 1263384: validate input frames against configured resolution in vp8 r=rillian
MozReview-Commit-ID: BxDCnJe0mzs
2016-04-15 23:11:01 -04:00
Andreas Pehrson aed4228f29 Bug 1262970 - Change PRINCIPAL_HANDLE_NONE to a nullptr #define. r=froydnj
MozReview-Commit-ID: A69mWTDTkkP

--HG--
extra : rebase_source : 24c885f5078c723fce709c3d498c39b312c12e39
extra : amend_source : afd886cd8c4264ee152a059fc2feda59220f281a
2016-04-14 11:39:11 +02:00
Jean-Yves Avenard c2567cb4bd Bug 1264622: [MP4] Resync stagefright's updateAudioTrackInfoFromESDS_MPEG4Audio with upstream. r=kentuckyfriedtakahe
This adds support for parsing AOT audio specific config (which contains extended channels layout).

MozReview-Commit-ID: 7yNGBEAI7sv

--HG--
extra : rebase_source : 6f29c04f1f29785ba097d64df13794f80672fb50
2016-04-14 23:32:40 +10:00
Chris Peterson 4a84eac069 Bug 1264208 - Enable libav assertions. r=jya
--HG--
rename : media/ffvpx/cpu_perms.h => media/ffvpx/libavutil_visibility.h
2016-04-10 22:25:56 -07:00
Michael Froman eeafb75c78 Bug 1264344 - Don't restart ICE on first CreateOffer call if iceRestart option is true. r=bwc
MozReview-Commit-ID: 18qpyjAo0By

--HG--
extra : rebase_source : 172dcd1dfe95bdad684a4ce9a352183f2e77bafc
2016-04-13 11:41:05 -05:00
Paul Adenot c769964bb2 Bug 1264594 - Update libcubeb to revision 727121. r=kinetik
MozReview-Commit-ID: 26uBiAvDcFy
2016-04-14 12:33:18 +02:00
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