Commit Graph

1939 Commits

Author SHA1 Message Date
Wes Kocher
e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -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
Dan Minor
05fc0cdaee Bug 1274340 - Make RED and ULPFEC payload type match sdp values; r=jesup
To be able to send and receive video with FEC enabled it appears we need to
have matching constant values here and in sdp/sipcc/ccsdp.h.

MozReview-Commit-ID: LZzAyMW9eEu

--HG--
extra : rebase_source : 1b0588b53c3906659711ab39d51533ae38db2568
2016-06-30 12:20:04 -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
Dan Minor
3559474034 Bug 1293422 - Add PacketizeMode0 to RtpPacketizerH264; r=jesup
We were previously using PacketizeFuA which stripped the NAL header. Since the
fragment fit in a single packet it would then be sent without any header
causing difficulties on the receiving side. This adds a PacketizeMode0 which
leaves the header intact.

MozReview-Commit-ID: 91rbveSuXtT

--HG--
extra : rebase_source : 95092f5e3cbb31f9c4697ed4fd272cd458eb4e94
2016-08-09 15:59:48 -04: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
Randell Jesup
734482b5f4 Bug 1042631: Bustage fix for typo when resolving nits rs=bustage 2016-07-19 17:13:01 -04:00
Randell Jesup
1c7377b2ae Bug 1042631: Fix Linux mouse position when sharing a window in WebRTC screensharing r=ng 2016-07-19 16:07:32 -04: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
Jan Beich
71ac49183e Bug 1285501 - Build linux/ directory on DragonFly, NetBSD and Solaris as well. r=jesup
MozReview-Commit-ID: 46Z55h9oWIm

--HG--
extra : transplant_source : %AE%E7%0D%9EHg%84%17Z%07%7D%12%95%C1A3%F5%ECw%A1
2016-07-08 09:27:08 +00:00
Randell Jesup
ae674679d8 Bug 1286644: cherry-pick AEC fix from Chromium Issue 576624 r=pkerr 2016-07-13 17:47:00 -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
Randell Jesup
3cf9863b59 Bug 1273652: Always reinitialize the receiver/jitterbuffer when reseting video decoding r=pkerr 2016-07-12 15:42:59 -04: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
Munro Mengjue Chiang
b6bb031a33 Bug 1279036 - retrieve CMSampleBuffer via CMSampleBufferGetDataBuffer for mjpeg case. r=jib
--HG--
extra : rebase_source : 66513f41aefad8a03959dad10e59c64d62d48c71
2016-06-14 06:30:26 +01:00
Sebastian Hengst
f310d4012a Backed out changeset c89b8cc657b2 (bug 1266646) 2016-06-13 21:23:53 +02:00