Commit Graph

1470 Commits

Author SHA1 Message Date
Towkir Ahmed
63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Nicholas Nethercote
bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicholas Nethercote
d1b1a7d71d Bug 1293117 (part 3) - Remove some unnecessary |virtual| annotations. r=froydnj.
This patch changes |virtual NS_IMETHODIMP| occurrences to |NS_IMETHOD|, which
is equivalent and the more standard way of marking in-class virtual XPCOM
methods.

--HG--
extra : rebase_source : c0ad273d8e341a7601466f33420a62742130e4a6
2016-08-08 10:45:56 +10:00
Dan Minor
cd36d5b8e3 Bug 1274340 - Call SetReceiveCodec for RED and ULPFEC when FEC is enabled; r=jesup
We need to call SetReceiveCodec for RED and ULPFEC so we know how to handle
those packets when received.

MozReview-Commit-ID: A9EluM7p2NH

--HG--
extra : rebase_source : 14033558254e7b8c7bc8dc38c1b77ad371b4e6a5
2016-06-30 12:20:19 -04:00
Nicholas Nethercote
e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Randell Jesup
1f1ea0ef58 Bug 1271585: Proxy audio data to a separate thread for encoding r=pehrsons 2016-05-12 15:34:13 -04:00
ctai
749ec15b11 Bug 1201363 - MediaStreamVideoSink for MediaPipelineTransmit case. r=jesup
Replace |MediaPipelineTransmit::PipelineListener::NotifyQueuedTrackChanges| with |MediaPipelineTransmit::PipelineVideoSink::SetCurrentFrames|. We only need to deal with the video case since audio will be routed to |NotifyQueuedAudioData|.

MozReview-Commit-ID: EVpMVgJynGT

--HG--
extra : transplant_source : %0By%B5%91Fr%5B%BA%F7%D4%EE%FBs7%0C%F2%84%EC%5C5
2016-05-31 14:59:13 +08:00
Dan Minor
a096887e44 Bug 1279135 - Reattach Pipeline to PipelineTransport in AttachTransport_s; r=jesup
When we call MediaPipeline::UpdateTransport_s we in turn call DetachTransport_s
which detaches the pipeline from PipelineTransport. The subsequent call to
AttachTransport_s does not currently reattach the pipeline, causing
subsequent sends to fail due to a detached pipeline. Since
PipelineTransport::SendRtpRtcpPacket_s returns NS_OK if a send fails due to a
detached pipeline, this failure is not straightforward to detect.

This patch adds an Attach() method to PipelineTransport and calls it from
AttachTransport_s.

MozReview-Commit-ID: Kfc3TH1YOno

--HG--
extra : rebase_source : 91dbb07973b62e410541150805a918e4375643af
2016-07-29 11:04:49 -04:00
Michael Froman
089e002c9b Bug 1275360 - Add sdp handling for video FEC (red/ulpfec). r=drno
MozReview-Commit-ID: BIt7SkSEquj

--HG--
extra : transplant_source : %A9%27%7B%D7%AA%FBI%94%9D%EC%9E%A2%2C%ED%3D%06%2C%90f%DB
2016-06-30 00:40:40 -05:00
Sotaro Ikeda
061a24e917 Bug 1284803 part 9 - Make sure NEON ifdefs match r=jesup 2016-07-26 00:01:53 -07:00
Iris Hsiao
1b709aa294 Backed out changeset faf44eac1bb7 (bug 1284803) 2016-07-26 10:21:09 +08:00
Sotaro Ikeda
b2ca5d6504 Bug 1284803 part 9 - Make sure NEON ifdefs match r=jesup 2016-07-25 18:22:51 -07:00
Carsten "Tomcat" Book
8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Paul Ellenbogen
332fcd9fc9 Bug 1204099 - RTP payload type validation. r=docfaraday
MozReview-Commit-ID: LYNcxKqKwiC

--HG--
extra : transplant_source : %16c%B5%CF%0C%20%05Rn%AB4%F4e%B9%EF%E7%0A%09%FDR
2016-07-19 13:56:29 -07:00
Jim Chen
ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
Iris Hsiao
cb196ead23 Backed out changeset 9fa64e0224e2 (bug 1204099) for bustage JsepSessionImpl.cpp 2016-07-21 16:13:50 +08:00
Paul Ellenbogen
050f67b249 Bug 1204099: check payload type. r=bwc
MozReview-Commit-ID: 1QEDswjrGuo

--HG--
extra : rebase_source : f77de71a1b8231c5b005abd2b5bba6d28ba71469
2016-07-12 11:15:10 -07:00
Carsten "Tomcat" Book
e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Jim Chen
78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Jan-Ivar Bruaroey
9e1ebfb7eb Bug 1213517 - make track.applyConstraints() store constraints on success. r=jesup
MozReview-Commit-ID: CqTgWuBXSyD

--HG--
extra : rebase_source : c65cf51dfd3279820e2cb6262a369ce12490c946
2015-11-18 22:17:09 -05:00
Iris Hsiao
3366ed3525 Backed out changeset 015cb0829df5 (bug 1213517) 2016-07-18 15:41:47 +08:00
Jan-Ivar Bruaroey
9f04ae2af4 Bug 1213517 - make track.applyConstraints() store constraints on success. r=jesup
MozReview-Commit-ID: CqTgWuBXSyD

--HG--
extra : rebase_source : c65cf51dfd3279820e2cb6262a369ce12490c946
2015-11-18 22:17:09 -05:00
Boris Zbarsky
e84fe03fe3 Bug 933378 part 3. Fix the ErrorResult usage in PeerConnectionImpl to not use ErrorResult directly anymore. r=jib 2016-07-15 22:35:13 -04:00
Carsten "Tomcat" Book
fa869d9ca1 Backed out changeset b33a9a88daa6 (bug 933378) 2016-07-16 10:03:09 +02:00
Boris Zbarsky
61261a6a39 Bug 933378 part 3. Fix the ErrorResult usage in PeerConnectionImpl to not use ErrorResult directly anymore. r=jib 2016-07-15 22:35:13 -04:00
Sotaro Ikeda
af38b3a39c Bug 1284803 part 9 - Make sure NEON ifdefs match r=jesup 2016-07-12 23:02:12 -07:00
Nicholas Nethercote
a913f99107 Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more

--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00
Carsten "Tomcat" Book
e9a4666c05 Merge mozilla-central to autoland 2016-07-07 11:44:49 +02:00
Nils Ohlmeier [:drno]
aee07d68e0 Bug 1283619: enable far end REMB support for sending conduits depending on signaling. r=mjf
MozReview-Commit-ID: BBuhSHw2Wyb

--HG--
extra : rebase_source : fc512ea95644cc1b62e53a4f88df589f4912dffc
2016-06-30 14:22:38 -07:00
Chris Peterson
2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
ctai
fd36b32d94 Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons
This can reduce the include header dependency. MediaStreamVideoSink will inherit from DirectMediaStreamTrackListener. But we can't use forward declaration on MediaStreamListener because the usage of nsTArray<RefPtr<MediaStreamVideoSink>>.

MozReview-Commit-ID: 328s4Kw9NvW

--HG--
extra : transplant_source : %D2%18%E3%3B%0C%D8%F04%F3%EB%EB%A0%A7%8B%B1%A9%AB%97rY
2016-06-30 15:07:48 +08:00
ctai
533acf2e59 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : transplant_source : %5C%1C%23%AC%D7%0D%97%24%CB%ED%8E%D5%60/%5E%07%F2%85Z%DA
2016-04-29 11:45:25 +08:00
Nils Ohlmeier [:drno]
ccfaf882c5 Bug 1275119: remove mRecvCodecList from VideoConduit. r=jesup
MozReview-Commit-ID: 5Wgc0NDkyps

--HG--
extra : rebase_source : b796d12ae0a87533df30372ee6da232fdefaff80
2016-06-06 23:40:37 -07:00
Chris Pearce
e0a9078a6f Bug 1267918 - Add GMPCrashHelper to GMPService::GetGMP* functions. r=gerald
This enables callers to specify a way to determine the correct window to
dispatch the PluginCrashed event to should the GMP actor crash.

We need a way to determine the correct window at crash time, as the GMP's
window can change at runtime. For example, if the GMP is being used for
unencrypted decoding, the <video> element can be moved to a new browser window
at runtime.

Note: I don't handle disconnecting the GMPCrashHandlers in this patch; we do
delete the GMPCrashHandlers in this patch when their associated GMP crashes, and
in the next patch we handle disconnecting GMPCrashHandlers in the case where
we don't crash.

MozReview-Commit-ID: DrwcZAB6Ys0

--HG--
extra : rebase_source : 8da188b68456914773e6adae8cbccd6bf6a6e7a7
2016-06-29 11:41:56 +12:00
Nils Ohlmeier [:drno]
8a525ec4ae Bug 1282792: start transmitting OR receiving if track is active r=bwc
MozReview-Commit-ID: GaT5v9UN6ox

--HG--
extra : rebase_source : d7140ffe87f9ea42cc29cc96c3a92270c34d88a8
2016-06-28 01:16:08 +02:00
Byron Campen [:bwc]
577b657567 Bug 1280215 - Stop using the nsresult in OnProxyAvailable to determine whether the PCM is still interested. r=drno
MozReview-Commit-ID: AIZm4VNZJtV
2016-06-15 13:38:26 +01:00
Nils Ohlmeier [:drno]
1f4ba9256c Bug 1280259: clear the remote SSRC vector on a track. r=bwc
MozReview-Commit-ID: 9LtaqeiIQoY

--HG--
extra : rebase_source : e063a7965c9daabd7191cdbcadaaf7838032feb5
2016-06-15 16:33:43 +01:00
Chris Peterson
b650b6987e Bug 1280283 - Fix uchex warnings about null-check after pointer deref in webrtc/signaling. r=drno 2016-06-15 17:19:29 +01:00
Sebastian Hengst
f310d4012a Backed out changeset c89b8cc657b2 (bug 1266646) 2016-06-13 21:23:53 +02:00
ctai
4b40fd1bc1 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=jesup,pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : rebase_source : e0f2ac5de75d54a870f5a99f08505e40aa0696d9
2016-04-29 11:45:25 +08:00
Dan Minor
8d9d9ee459 Bug 1210660 - Change vp8 threshold for static images in screensharing mode; r=jesup
This changes the static threshold in screensharing mode and ensures that the
screensharing mode is in fact passed to the codec.

This also causes the peer connection to update the media pipelines when a track is
replaced to cause the codec to be notified that the source has changed and to
change settings appropriately. It seems to be a common use case to have a camera
track be replaced by a screenshare track during a call.

MozReview-Commit-ID: HbV14uL4kIL

--HG--
extra : rebase_source : 34d9fff2efb777bdfd5887db879184bc4ffc7442
2016-06-09 13:38:43 -04:00
Dan Minor
53c5fb9e43 Bug 1167544 - OpenH264 should not send STAP-A aggregation packets in mode 0; r=jesup
MozReview-Commit-ID: IY2mu9dVKHK

--HG--
extra : rebase_source : 77e455651ebf39cf56ca9892be59bd50622b8cc3
2016-06-01 14:28:43 -04:00
Michael Froman
f1dd9b78e0 Bug 1279049 - add sdp handling for audio FEC, r=jesup
MozReview-Commit-ID: J0ax8TnR3p8

--HG--
extra : transplant_source : %D5Y%15%E6%C3d%F5%BD%9B%D7%CC%BA%DA%DE%12.%88%DD%A1%5B
2016-06-08 16:24:23 -05:00
Andrea Marchesini
64734bf74c Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Andrea Marchesini
d84e87b425 Bug 1278843 - Move PerformanceTiming code in separate files, r=smaug 2016-06-09 12:43:56 +02:00
Nils Ohlmeier [:drno]
dda722b328 Bug 1279004: do RTCP decryption after filtering. r=jesup
MozReview-Commit-ID: 2VIgy6czdNp

--HG--
extra : rebase_source : 2e92f947bc802fc87db3c3f990aa86623f19ac61
2016-06-08 11:44:46 -07:00
Dan Minor
ce4b3363d9 Bug 1274340: enable FEC during video codec setup when negotiated; r=jesup
MozReview-Commit-ID: 3gpxobPGV7M

--HG--
extra : rebase_source : b83f1a4aa6f7959d406d285fe9a01f1320e97b48
2016-05-26 15:28:54 -04:00