Commit Graph

2209 Commits

Author SHA1 Message Date
Nils Ohlmeier [:drno]
45e84a2ec3 Bug 1323723: update a=setup tests. r=bwc
MozReview-Commit-ID: LEKNXjKy80R

--HG--
extra : rebase_source : 0ab6554f534f44ffc46505c18cc6c0e92814edab
2017-03-15 15:52:06 -07:00
Nils Ohlmeier [:drno]
451faf7781 Bug 1323723: reject setup value actpass in answers. r=bwc
MozReview-Commit-ID: FnuiLB6OjbL

--HG--
extra : rebase_source : c1e133d3e0baa056b2238b7ec9e96e1194c32506
2017-03-13 21:38:25 -07:00
Nils Ohlmeier [:drno]
d42d78db4e Bug 1323723: enforce a=setup in SDP offers. r=bwc
MozReview-Commit-ID: 88y11CrXdhf

--HG--
extra : rebase_source : 4148ee5b1e408350328efe7f1cf45199fbc26404
2017-03-14 14:39:54 -07:00
Nico Grunbaum
194702d7ab Bug 1343691 - fix missing rtcp stats;r=jib
Omitting the RTT when it is not available breaks a lot of tests (as jesup warned).
I am going to fix the RTT behavior and the tests in bug 1344970, for now RTT will
be zero when unavailable.

MozReview-Commit-ID: 9x3eQfbM3ZT

--HG--
extra : rebase_source : f8d46d7232455a3038fd99ffb6cc14111c44a794
2017-03-08 23:26:24 -08:00
David Major
dc67bfc9a3 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo

--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Iris Hsiao
5cece96e1c Backed out 12 changesets (bug 1344629) for stylo build bustage
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major
40f4821701 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo

--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Wes Kocher
8010f266fb Merge m-c to autoland, a=merge
MozReview-Commit-ID: Hikpu6ARByb
2017-03-13 16:40:18 -07:00
Randell Jesup
ed0d72a181 Bug 1346005: add audio samples-inserted logging using AudioLatency:4 r=padenot
MozReview-Commit-ID: JZukIfjapuy
2017-03-10 15:22:42 -05:00
Iris Hsiao
6b7f00782d Backed out changeset 2b23902cadd8 (bug 1346005) for bustage in MediaPipeline.cpp 2017-03-13 14:14:16 +08:00
Randell Jesup
269eb591be Bug 1346005: add audio samples-inserted logging using AudioLatency:4 r=padenot
MozReview-Commit-ID: JZukIfjapuy
2017-03-10 15:22:42 -05:00
Sebastian Hengst
6117caed69 Backed out changeset 31656946aa03 (bug 1346005) for bustage in MediaPipeline.cpp. r=backout on a CLOSED TREE 2017-03-10 21:50:22 +01:00
Randell Jesup
220412f9f7 Bug 1346005: add audio samples-inserted logging using AudioLatency:4 r=padenot
MozReview-Commit-ID: KuL1nNEmOnl
2017-03-10 15:22:42 -05:00
Dan Minor
2f2e51556a Bug 1343557 - Update build for gtest and gmock 1.7.0; r=ted.mielczarek
I've moved the mozilla specific gtest stuff to link directly in xul-gtest
rather than in the gtest static library to make it possible for standalone
programs to link against this library and not have to link
against other mozilla libraries. This allows us to build
media/webrtc/signaling/fuzztest against this version of gtest rather than the
webrtc version of gtest, which I plan to remove in a follow on bug.

I had to add a global disable for -Wgnu-zero-variadic-macro-arguments as we
hit that everywhere we use the INSTANTIATE_TEST_CASE_P macro.

This brings forward the fix from Bug 844630 to the visibility of environ in
gtest-death-test.cc.

I also removed code that set GTEST_API_ to a visibility that conflicts with
what we've defined elsewhere in tree.

MozReview-Commit-ID: 3cfuapC6vn0

--HG--
extra : rebase_source : 6e5d2684718b6ddaa5a64c1f26a0172c91b5a719
2017-03-03 14:54:05 -05:00
Randell Jesup
7a19f87fd9 Bug 1339246: force rebuild of Send/RecvStream if the SSRCs have been changed r=bwc
MozReview-Commit-ID: HWZ8MXjtWzg
2017-03-08 00:24:21 -05:00
Iris Hsiao
6ee4c39904 Backed out changeset 4e90c48f2617 (bug 1339246) for media test failure in test_peerConnection_addtrack_removetrack_events.html 2017-03-08 14:44:35 +08:00
Randell Jesup
6274280496 Bug 1339246: force rebuild of SendStream if the SSRCs have been changed r=bwc
MozReview-Commit-ID: 5RNrkBZFmV3
2017-03-08 00:24:21 -05:00
Wes Kocher
9d3f12083b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1Kk6k8R6WCf
2017-03-07 16:45:07 -08:00
Wes Kocher
dac8dc0c7b Merge inbound to central, a=merge
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Michael Layzell
1957fbfa92 Bug 1331434 - Part 3: Return early after throwing an error in PeerConnectionImpl::Initialize, r=bwc
MozReview-Commit-ID: AU2V0dtmcLO
2017-03-07 19:06:48 -05:00
Joel Maher
43d997b5a3 Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot
MozReview-Commit-ID: C7xWOE0OwIK
2017-03-07 13:06:45 -05:00
Randell Jesup
bd828a2434 Bug 1337810: use sender SSRC for receivers r=drno
MozReview-Commit-ID: 1ErpaFbU6pZ
2017-03-07 16:24:00 -05:00
Byron Campen [:bwc]
408ae2fda0 Bug 1342523 - Part 3: Remove old Telemetry probes. r=drno
MozReview-Commit-ID: CkwIMn9Y6sJ

--HG--
extra : rebase_source : 9a6eb6f9d720392de352c6df8c68a17b40dade40
2017-02-24 15:07:08 -06:00
Byron Campen [:bwc]
42465ae6db Bug 1342523 - Part 1: Clean up how controlling/offerer is specified. r=drno
MozReview-Commit-ID: D8qPAPUZC1J

--HG--
extra : rebase_source : dec5598ee2edd9168bd5c93be222cc409a7db096
2017-02-24 14:05:27 -06:00
Nico Grunbaum
f587b4fa3f Bug 1325173 - read full RtpStreamId when parsing RTP header extensions. r=drno
MozReview-Commit-ID: CHkqA0MM3fx

--HG--
extra : rebase_source : 84c0e85c9f214f1bc7403256d8c2d80809305e13
2017-03-05 23:37:51 -08:00
Randell Jesup
c5f6a79a17 Bug 1337777: ensure mSend/RecvStream access is locked r=bwc
MozReview-Commit-ID: 5wBkKheve2K
2017-03-02 15:11:28 -05:00
Randell Jesup
f709468851 Bug 1337777: if no receive-SSRC was signaled for video, on the first packet reset the VideoReceiveStream r=bwc
Note that this stumbles over the use of the PCHandle as a global when
initializing the OpenH264 gmp plugin.

MozReview-Commit-ID: 7GEvIwwsitk
2017-03-02 15:11:22 -05:00
Randell Jesup
1ce411e0e1 Bug 1342727: Handle all bitrates in VideoConduit as bps, instead of mix of kbps and bps r=drno
MozReview-Commit-ID: CQrvswMkh7G
2017-03-02 15:10:13 -05:00
Nils Ohlmeier [:drno]
e4c43ec7d3 Bug 1343640: dump RT(C)P as raw hex into log files. r=bwc
MozReview-Commit-ID: 5vNitjQJmih

--HG--
extra : rebase_source : ff49349423419cf8a568fd3dcd96f2421a880fad
2017-03-01 23:22:36 -08:00
Dan Minor
fdcc85b73e Bug 1341995 - Use negotiated values for RED and ULPFEC payload types; r=bwc
MozReview-Commit-ID: 33jkKWThcL2

--HG--
extra : rebase_source : 60a2c467bea46aec48fe2a1f73d260cb68b1a61d
2017-02-27 09:37:30 -05:00
Dan Minor
ed2ee4c67e Bug 1341995 - Make ULPFEC and RED payload types configurable in VideoCodecConfig; r=jesup
MozReview-Commit-ID: 74ncVSIYWzS

--HG--
extra : rebase_source : 588ae3dc4a2475f683e248cb60cda7c3fa7e81de
2017-02-24 13:45:07 -05:00
Wes Kocher
e84fc624ff Merge inbound to central, a=merge
MozReview-Commit-ID: DpCZgRV1csS
2017-02-24 16:46:12 -08:00
Randell Jesup
8ad25a673c Bug 1284800: Fix build fallout from moving libyuv into a subdirectory r=ted
MozReview-Commit-ID: CDMDXqpGueS
2017-02-24 14:01:56 -05:00
Wes Kocher
47dc9207cd Backed out changeset 20a81b2adf80 (bug 1330240) under suspicion of turning android mda1 nearly permafail a=backout
MozReview-Commit-ID: LUKhxorIzwU
2017-02-23 16:25:18 -08:00
Carsten "Tomcat" Book
e6b82618f4 merge mozilla-inbound to mozilla-central a=merge 2017-02-23 14:59:37 +01:00
Jeff Walden
a457461dd8 Bug 1287006 - Followup bustage fix. r=bustage in a CLOSED TREE 2017-02-22 20:41:37 -08:00
Dan Minor
71b7ced622 Bug 1332622 - Remove MOZILLA_INTERNAL_API macro from webrtc; r=jesup
I've also cleaned up a few leftover references to USE_FAKE_MEDIA_STREAMS,
MOZILLA_EXTERNAL_LINKAGE and MOZ_WIDGET_GONK where I noticed them.

MozReview-Commit-ID: Cdo1Y4IrFqp

--HG--
extra : rebase_source : 4f7debb5ebc3e024410ec6456fae0d3463ca1d10
2017-02-22 09:07:32 -05:00
Jeff Walden
c7aace8b67 Bug 1287006 - Make JsepTrackPair::mBundleLevel size_t instead of Maybe<size_t>, with SIZE_MAX encoding the previous not-size_t state. (mBundleLevel counts things in memory, so SIZE_MAX is excluded from the typical semantics.) r=bwc
--HG--
extra : rebase_source : 580a13b93cbec088c8937172948b30b4881d31ec
2017-02-21 23:57:56 -08:00
Jeff Walden
d73ce21741 Bug 1287006 - Adjust media/ code to not pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer. r=jw_wang, r=rjesup
--HG--
extra : rebase_source : 176a2afde5772bbdf43f0f6dc8082201acadcf4f
2017-02-13 09:07:40 -08:00
Carsten "Tomcat" Book
9d982b9508 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00
Boris Zbarsky
aed0bcf617 Bug 1340760. Link sdp_file_parser against mozglue, since it uses the PrintfTarget stuff from there. r=froydnj
MozReview-Commit-ID: K3nkeLd3oCs
2017-02-21 19:50:22 -05:00
Chris Peterson
436fefadc2 Bug 1341162 - Fix -Wunreachable-code-return warning in webrtc/signaling. r=bwc
The WebrtcVideoConduit::GetRTCPSenderReport() member function has an unnecessary scope block and unreachable `return false`.

media/webrtc/signaling/src/media-conduit/VideoConduit.cpp:847:10 [-Wunreachable-code-return] 'return' will never be executed

MozReview-Commit-ID: 1GFcupqcA9k

--HG--
extra : rebase_source : c46a012a99c66b3953262ba5f86810d62a5b48cf
extra : source : 6ca7c167f10cb234f67c89fb8b64c67f87ca5453
2017-02-20 14:45:30 -08:00
Jan Beich
959d5215d6 Bug 1330240 - Limit -Wthread-safety to WebRTC due to lack of annotations. r=cpeterson,froydnj,jesup
MozReview-Commit-ID: HuoXFwZkdYo

--HG--
extra : rebase_source : 8f07a7a6de6d794b26b0f2b18eb95452d65c8f40
2017-01-11 16:50:18 +00:00
Jan Beich
b2013667fb Bug 1330240 - Limit -Wthread-safety to WebRTC due to lack of annotations. r=cpeterson,froydnj,jesup
MozReview-Commit-ID: HuoXFwZkdYo

--HG--
extra : rebase_source : 8f07a7a6de6d794b26b0f2b18eb95452d65c8f40
2017-01-11 16:50:18 +00:00
Dan Minor
f41633e415 Bug 1319489 - Make it possible for "fake" media streams to inherit from real streams; r=jesup
MozReview-Commit-ID: 8sBzMmTVhQU

--HG--
extra : rebase_source : 4aeb46774df76b170abbd47b239457519b81615c
2017-01-10 09:57:16 -05:00
Dan Minor
3c06acab52 Bug 1319489 - Remove MOZILLA_EXTERNAL_LINKAGE; r=jesup
MozReview-Commit-ID: G98qrMnJ0lK

--HG--
extra : rebase_source : f6f9e7bee64c6863c6aab951221c259800782e27
2017-01-02 08:09:03 -05:00
Dan Minor
68972c13d0 Bug 1319489 - Remove USE_FAKE_MEDIA_STREAMS; r=jesup
MozReview-Commit-ID: 4CdECHBNmDs

--HG--
extra : rebase_source : 78a8b4534e561afe31383ec8fd21200e96f7f5ef
2017-01-02 11:52:48 -05:00
Dan Minor
267e335e87 Bug 1319489 - Stop building signalingtest libraries; r=jesup
MozReview-Commit-ID: 80UZqfsgnKj

--HG--
extra : rebase_source : d729a8e2fa215178ce526ac9aefc933731e59784
2016-12-22 14:59:54 -05:00
Wes Kocher
8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Vedant Sareen
7d4bd52fae Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30