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

6823 Коммитов

Автор SHA1 Сообщение Дата
Dan Minor 26b33f86b5 Bug 1496359 - Make pipewire desktop capture support compile; r=ng
This removes references to abseil which is not yet used by the version of
webrtc.org in tree. It also removes a duplicate definition of a kBytesPerPixel,
which is probably results from our use of unified builds.

With these changes and some hacking of moz.build files I was able to get the
pipewire support to compile but not link. I don't have an environment set up
to build and test this properly, so I didn't take it any further.

Depends on D27373

Differential Revision: https://phabricator.services.mozilla.com/D27374

--HG--
extra : moz-landing-system : lando
2019-04-15 17:11:06 +00:00
Dan Minor 7867b77643 Bug 1496359 - Update moz.build file; r=ng
Depends on D27372

Differential Revision: https://phabricator.services.mozilla.com/D27373

--HG--
extra : moz-landing-system : lando
2019-04-15 17:43:54 +00:00
Dan Minor aececea885 Bug 1496359 - Update gn configs (part 2); r=ng
Depends on D27371

Differential Revision: https://phabricator.services.mozilla.com/D27372

--HG--
extra : moz-landing-system : lando
2019-04-15 17:33:26 +00:00
Dan Minor 022a4a4b78 Bug 1496359 - Update gn configs (part 1); r=ng
Since the only change for non-pipewire builds is moving some files, I
regenerated the x64_True_x64_linux.json file using gn, then generated
a patch file for the other configurations. This will hopefully remove
the need for non-Tier 1 platform maintainers to re-run gn for their
platforms.

Depends on D27369

Differential Revision: https://phabricator.services.mozilla.com/D27371

--HG--
extra : moz-landing-system : lando
2019-04-15 17:32:11 +00:00
Dan Minor 971eaccaa1 Bug 1496359 - Conflict resolutions for Pipewire support patch; r=ng
Depends on D27368

Differential Revision: https://phabricator.services.mozilla.com/D27369

--HG--
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_linux.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/desktop_device_info_x11.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.h => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/desktop_device_info_x11.h
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/shared_x_util.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.h => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/shared_x_util.h
extra : moz-landing-system : lando
2019-04-15 17:31:02 +00:00
Dan Minor c3c7cc825b Bug 1496359 - Add PipeWire support to desktop capture; r=ng
This is an import of upstream commit 318da51f99f91e3de1192f29d7f1824958f9f13e.

Depends on D27367

Differential Revision: https://phabricator.services.mozilla.com/D27368

--HG--
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/mouse_cursor_monitor_x11.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/screen_capturer_x11.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/shared_x_display.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.h => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/shared_x_display.h
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_capturer_x11.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/window_finder_x11.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_finder_x11.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/window_finder_x11.h => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_finder_x11.h
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/window_list_utils.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_list_utils.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/window_list_utils.h => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/window_list_utils.h
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_atom_cache.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_atom_cache.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_atom_cache.h => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_atom_cache.h
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_error_trap.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.h => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_error_trap.h
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_server_pixel_buffer.cc
rename : media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h => media/webrtc/trunk/webrtc/modules/desktop_capture/linux/x_server_pixel_buffer.h
extra : moz-landing-system : lando
2019-04-15 17:26:27 +00:00
Dan Minor 9cd9d371d9 Bug 1496359 - Don't set _GLIBCXX_DEBUG in webrtc.org build config; r=ng
This define is not set in the current gn generated json and moz.build files.
If I rerun gn, this define ends up being set, and the build will fail with
a variety of link time errors.

My guess is that enable_iterator_debugging was not set when I last ran gn for
x64 Linux, and that it was subsequently enabled without regenerating the gn
files and noticing that it causes problems.

Differential Revision: https://phabricator.services.mozilla.com/D27367

--HG--
extra : moz-landing-system : lando
2019-04-15 17:12:31 +00:00
Paul Adenot c9069544bd Bug 1531833 - Update libcubeb to 241e3c (and rebase an in-tree patch). r=kinetik
This has been reviewed by snorp, kinetik, achronop, in bug 1531833, and the
rollup has been rubberstamped by achronop in
https://github.com/kinetiknz/cubeb/pull/501.

Differential Revision: https://phabricator.services.mozilla.com/D26937

--HG--
extra : moz-landing-system : lando
2019-04-16 15:44:47 +00:00
Byron Campen [:bwc] c8b347cbbe Bug 1543427 - Part 1: Do not prevent rollback from disassociating a stopped transceiver. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D26934

--HG--
extra : moz-landing-system : lando
2019-04-16 14:53:03 +00:00
Byron Campen [:bwc] 48689b5718 Bug 1543425 - Part 1: Ensure that just-added (and just-stopped) transceivers do not have their m-section recycled just because that m-section was disabled last negotiation. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D26932

--HG--
extra : moz-landing-system : lando
2019-04-11 15:08:21 +00:00
Byron Campen [:bwc] ad9aca54ac Bug 1072388 - Part 2: Don't stomp level assignments on local offer rollback, since those are set by createOffer, not sLD. r=mjf
Depends on D26780

Differential Revision: https://phabricator.services.mozilla.com/D26781

--HG--
extra : moz-landing-system : lando
2019-04-10 15:57:14 +00:00
Byron Campen [:bwc] a5a8793e9f Bug 1072388 - Part 1: Allow createOffer to be called in have-local-offer, and allow repeated setting of offers. r=mjf
Depends on D26779

Differential Revision: https://phabricator.services.mozilla.com/D26780

--HG--
extra : moz-landing-system : lando
2019-04-10 15:56:20 +00:00
Coroiu Cristina 8442bbf9c9 Backed out 3 changesets (bug 1525640) for causing leaks a=backout
Backed out changeset efdd32c00dc6 (bug 1525640)
Backed out changeset e71641f0465b (bug 1525640)
Backed out changeset e3539a40afdf (bug 1525640)
2019-04-13 14:57:11 +03:00
Valentin Gosu f172b45edc Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26882

--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:08 +00:00
Boris Zbarsky d0bcf72821 Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27027

--HG--
extra : moz-landing-system : lando
2019-04-11 14:12:43 +00:00
Jean-Yves Avenard fd742471ad Bug 1493898 - P4. Add BT2020 YUV->RGB conversion. r=jgilbert
This is used by the basic compositor.
Re-using existing logic, however as with other conversion it only handles limited 8 bits ranges (16-235) and to make things worse is rounded aggressively as the focus is on speed.

Differential Revision: https://phabricator.services.mozilla.com/D25345

--HG--
extra : moz-landing-system : lando
2019-04-11 16:57:39 +00:00
Nico Grunbaum 560f318141 Bug 1532898 - have VideoConduit directly record its telemetry r=mjf
moves where the VideoConduit related telemetry is recorded, so that non-standard stats can be removed from the stats report

Differential Revision: https://phabricator.services.mozilla.com/D22259

--HG--
extra : moz-landing-system : lando
2019-04-11 00:46:45 +00:00
Oana Pop Rus 212a653d81 Backed out 6 changesets (bug 1531833) for geckoview failures on PermissionDelegateTest.media CLOSED TREE
Backed out changeset f90ad6bb8ebd (bug 1531833)
Backed out changeset 465570a54b46 (bug 1531833)
Backed out changeset e725253ee976 (bug 1531833)
Backed out changeset 74ad8e7a722b (bug 1531833)
Backed out changeset b1268e5f7023 (bug 1531833)
Backed out changeset e3ec78b2db1f (bug 1531833)

--HG--
extra : amend_source : 81aa19c352e72cac2369e014d19ec5a896538b21
2019-04-11 21:16:55 +03:00
Paul Adenot b774a54cc4 Bug 1531833 - Update libcubeb to c0a717 (and rebase an in-tree patch). r=kinetik
This has been reviewed by snorp, kinetik, achronop, in bug 1531833, and the
rollup has been rubberstamped by achronop in
https://github.com/kinetiknz/cubeb/pull/501.

Differential Revision: https://phabricator.services.mozilla.com/D26937

--HG--
extra : moz-landing-system : lando
2019-04-11 09:19:39 +00:00
Thomas Daede 235611f71b Bug 1543419 - Fix libdav1d moz.yaml quoting. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D26927

--HG--
extra : moz-landing-system : lando
2019-04-10 15:59:00 +00:00
Ryan VanderMeulen 0ae7b79a49 Bug 1542829 - Backport an upstream libpng patch. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D26575

--HG--
extra : moz-landing-system : lando
2019-04-08 19:00:31 +00:00
Geoff Brown 8d88b9a596 Bug 1318091 - Disable failing android gtests; r=bc
Disable gtests observed to fail on Android. Some of these are simple build
failures and failures due to file permissions or paths, while other failures
are more obscure.
Once Android gtests are running on mozilla-central, I will file follow-up
bugs inviting teams to investigate the failures and re-enable Android gtests
that are important to them.

Differential Revision: https://phabricator.services.mozilla.com/D26606

--HG--
extra : moz-landing-system : lando
2019-04-08 20:58:21 +00:00
Byron Campen [:bwc] 12b283cba1 Bug 1288105 - Part 2: Fix longstanding bug where rollback could wipe out the codecs in a transceiver, that was being hidden by a bug fixed in part 1. r=mjf
Depends on D26238

Differential Revision: https://phabricator.services.mozilla.com/D26348

--HG--
extra : moz-landing-system : lando
2019-04-05 17:41:25 +00:00
Byron Campen [:bwc] 51a4f641d7 Bug 1288105 - Part 1: Do not set recv tracks' payload types based on the remote SDP. Some related simplifications/fixes. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D26238

--HG--
extra : moz-landing-system : lando
2019-04-05 17:23:45 +00:00
Byron Campen [:bwc] 97b3b82aeb Bug 1288105 - Part 0: Add some unit-tests related to payload type asymmetry. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D26237

--HG--
extra : moz-landing-system : lando
2019-04-05 17:23:22 +00:00
Byron Campen [:bwc] e9c4cbb352 Bug 1511542: Send RefPtr<WebrtcVideoConduit> back to main to be released in STS dispatches. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D26312

--HG--
extra : moz-landing-system : lando
2019-04-05 17:24:31 +00:00
Sylvestre Ledru 03fc65347c Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26280

--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru 03c8e8c2dd Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Nico Grunbaum ec5fcb2581 Bug 1541553 - allow RTCRtpReceiverStats roundTripTime of 0 after non-zero values have been reported r=bwc
roundTripTime can be zero once it has been non-zero this should help with intermitents in WPT and mochitests

Differential Revision: https://phabricator.services.mozilla.com/D25981

--HG--
extra : moz-landing-system : lando
2019-04-05 19:40:04 +00:00
Csoregi Natalia ba58e936bd Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE 2019-04-05 09:48:19 +03:00
Sylvestre Ledru d1c1878603 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu 24dbe577a5 Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru 399dbd28fe Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Ciure Andrei 58c8915ecd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-04 00:57:38 +03:00
Alex Chronopoulos 925ad97bb4 Bug 1541101 - Update cubeb from upstream to 66d9c48. r=kinetik 2019-04-03 12:50:40 +03:00
Nico Grunbaum 8c19e6d0db Bug 1534466 - implement getContributingSources and getSynchronizationSources for video r=jib
Bug 1534466 - P1 refactor RtpSourceObserver to accept RTPHeader

Bug 1534466 - P2 Add RtpSourceObserver to VideoConduit

Bug 1534466 - P3 Update WPT ini to reflect newly passing tests

Differential Revision: https://phabricator.services.mozilla.com/D23434

--HG--
extra : moz-landing-system : lando
2019-04-01 21:22:42 +00:00
Byron Campen [:bwc] e5bd78effc Bug 1536631 - Part 7: Fix some test-cases that were expecting InvalidStateError when they should have been expecting InvalidModificationError. r=jib
Rebasing on top of bug 1531110 found some more bugs, and more bad tests.

Differential Revision: https://phabricator.services.mozilla.com/D25478

--HG--
extra : moz-landing-system : lando
2019-04-02 13:10:01 +00:00
Byron Campen [:bwc] aae4a5ec0d Bug 1536631 - Part 4: JsepSessionTest fixes. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D25149

--HG--
extra : moz-landing-system : lando
2019-04-02 13:09:11 +00:00
Byron Campen [:bwc] 9c408b0d7b Bug 1536631 - Part 3: Get JsepSession and PCImpl using the new error enum from part 1. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D25148

--HG--
extra : moz-landing-system : lando
2019-04-02 13:08:53 +00:00
Byron Campen [:bwc] 244e1297e3 Bug 1539809 - Part 1: Relax an assertion; allow transceiver level assignments to change on rollback, provided they weren't negotiated. r=mjf
Depends on D25443

Differential Revision: https://phabricator.services.mozilla.com/D25444

--HG--
extra : moz-landing-system : lando
2019-03-29 18:43:36 +00:00
Dan Minor f601335666 Bug 1540251 - Workaround unset NAL size in WebrtcGmpVideoEncoder::Encoded; r=pehrsons
OpenH264 1.8.1 occasionally generates a size of 0x01000000. This is a magic
value in the NAL which should be replaced with a valid size, but for some
reason this is not always happening. If we return early here, encoding will
continue to work as expected. This workaround can be removed once this issue is
addressed upstream, although that may require a new release of OpenH264.

Differential Revision: https://phabricator.services.mozilla.com/D25468

--HG--
extra : moz-landing-system : lando
2019-04-01 13:47:29 +00:00
Christian Holler d933845b5d Bug 1540096 - Handle AArch64 in libaom fuzzing target. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D25366

--HG--
extra : moz-landing-system : lando
2019-04-01 06:59:47 +00:00
Dan Minor 1f715c49e2 Bug 1539220 - Prefer non-RGB24 capabilities when available; r=pehrsons
We've hit a number of problems with handling of RGB24 video capture on
Windows. This adds a check that will ignore any RGB24 capture capabilities
when determining a best match if there are other capabilities available to
workaround the problems.

Differential Revision: https://phabricator.services.mozilla.com/D25449

--HG--
extra : moz-landing-system : lando
2019-03-29 18:43:38 +00:00
Oana Pop Rus dc9eba46cc Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-30 00:05:29 +02:00
Byron Campen [:bwc] 37a61dcc31 Bug 1534692 - Part 3: Fix bug where PeerConnectionImpl::GetPeerIdentity would always return the empty string. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24788

--HG--
extra : moz-landing-system : lando
2019-03-29 18:37:33 +00:00
Dan Minor f0eb613282 Bug 1506884 - Remove capture_delay pref; r=padenot
This is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D25057

--HG--
extra : rebase_source : 8ee009d508db3e340a77e4afe0efb16a1743ddca
extra : source : c7cd1b79da381624f2c17207662d0ba6a8ddc670
extra : histedit_source : 432816435e01238f733af17ae1857ebd3cd1b3e7
2019-03-26 14:12:00 -04:00
Byron Campen [:bwc] e44b904d59 Bug 1535442 - Part 9: Do not re-open RTCP-mux transports on renegotiation. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24523

--HG--
extra : moz-landing-system : lando
2019-03-27 21:55:21 +00:00
Byron Campen [:bwc] 09ee880077 Bug 1535442 - Part 5: Use ufrag when incorporating local candidates into SDP. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24279

--HG--
extra : moz-landing-system : lando
2019-03-27 21:54:36 +00:00
Byron Campen [:bwc] b1a7a65902 Bug 1535442 - Part 3: Fire per-transport end-of-candidates signals, with ufrag. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24277

--HG--
extra : moz-landing-system : lando
2019-03-27 21:54:16 +00:00
Byron Campen [:bwc] f47f8a46a4 Bug 1535442 - Part 1: Pay attention to ufrag when incorporating candidates into remote SDP. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24275

--HG--
extra : moz-landing-system : lando
2019-03-27 21:53:55 +00:00
Byron Campen [:bwc] 39c5a6c329 Bug 1531110: Handle setLocalDescription (either offer or answer) with empty sdp string. r=mjf,jib
Depends on D24216

Differential Revision: https://phabricator.services.mozilla.com/D24245

--HG--
extra : moz-landing-system : lando
2019-03-28 20:36:45 +00:00
John Lin c668fd7d06 Bug 1308405 - p4: Separate buffer from sample object. r=snorp
To prevent new buffer object from being created per frame, either
Sample.CREATOR has to keep track of all buffers from every remote codec,
or the client must memorize seen buffers and avoid asking for them again
and again. The former saves client code from modifications but complicates
the implementation of Sample, a data structure class, while the latter
requires changes to client code but avoid overcomplicating Sample.CREATOR
implementation.

The 2nd approach is taken:
- move SampleBuffer out of Sample, and update clients accordingly
- add a new IPC method for clients to get the buffers only when needed

Differential Revision: https://phabricator.services.mozilla.com/D24590

--HG--
extra : moz-landing-system : lando
2019-03-28 18:06:23 +00:00
Oana Pop Rus 47e94b5d6e Merge inbound to mozilla-central. a=merge 2019-03-28 12:11:35 +02:00
Alex Chronopoulos 56a5006aee Bug 1538455 - Use the default stack alignment in windows x64 for libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D25123

--HG--
extra : moz-landing-system : lando
2019-03-27 20:46:11 +00:00
Noemi Erli 04bf88fa7d Backed out 4 changesets (bug 1506884) for mochitest failures CLOSED TREE
Backed out changeset c1e32495cfa2 (bug 1506884)
Backed out changeset 0182d6543001 (bug 1506884)
Backed out changeset 5837db3740b5 (bug 1506884)
Backed out changeset 1584d9804aa1 (bug 1506884)
2019-03-27 21:40:55 +02:00
Dan Minor c2cfec68fa Bug 1506884 - Remove capture_delay pref; r=padenot
This is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D25057

--HG--
extra : moz-landing-system : lando
2019-03-27 16:55:13 +00:00
Dan Minor b998c76bf5 Bug 1506884 - Document member thread access in AudioConduit; r=padenot
This also removes some unused member variables.

Differential Revision: https://phabricator.services.mozilla.com/D25056

--HG--
extra : moz-landing-system : lando
2019-03-27 16:55:04 +00:00
Dan Minor 2bafcb3c9a Bug 1506884 - Use DeleteStreams in AudioConduit; r=padenot
This makes the shutdown behaviour of AudioConduit consistent with
VideoConduit which should make the conduit code easier to read and
reason about.

Differential Revision: https://phabricator.services.mozilla.com/D25055

--HG--
extra : moz-landing-system : lando
2019-03-27 16:54:52 +00:00
Dan Minor 41dd6b09aa Bug 1506884 - Document thread usage of mRtpPacketQueue in VideoConduit; r=padenot
This was added during the branch 64 update, but was not documented at that time.

Differential Revision: https://phabricator.services.mozilla.com/D25054

--HG--
extra : moz-landing-system : lando
2019-03-27 16:54:38 +00:00
Jean-Yves Avenard 92b55dddb6 Bug 1538508 - P3. Add options to scan all frames for SPS/PPS change. r=bryce
While not required in the two examples provided, should those streams change resolution and continue to use the same type of bytstreams we would miss the changes as the keyframe never contains the new SPS/PPS NALs.

So we add an option to handle this case, so we can separate the cases where this could be needed without regressing bug 1469257

Differential Revision: https://phabricator.services.mozilla.com/D24854

--HG--
extra : moz-landing-system : lando
2019-03-27 11:03:23 +00:00
Jean-Yves Avenard cbb8423e50 Bug 1538508 - P1. Reset mError upon success. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D24869

--HG--
extra : moz-landing-system : lando
2019-03-27 11:01:57 +00:00
Andreea Pavel ef6f8bfbc1 Backed out 3 changesets (bug 1538508) for assertion failure at IPCMessageUtils.h on a CLOSED TREE
Backed out changeset 2fc1fe023957 (bug 1538508)
Backed out changeset ff707483b5d4 (bug 1538508)
Backed out changeset 8a573000a49d (bug 1538508)
2019-03-27 08:32:40 +02:00
Ciure Andrei 540deebb08 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-03-27 18:43:28 +02:00
Jan Beich 448fe543a5 Bug 1530659 - Always pass -Isilk/fixed to unbreak on aarch64 after bug 1522016. r=glandium 2019-03-19 22:00:40 +00:00
Nico Grunbaum 32257b8b2e Bug 1531494 - remove all unimplemented RTCStats types from the WebIDL and prune related dead code r=bwc,smaug
This removes all the unimplemented RTCStats types from RTCStatsReport.webidl and deletes the related code

Differential Revision: https://phabricator.services.mozilla.com/D23276

--HG--
extra : moz-landing-system : lando
2019-03-26 17:21:02 +00:00
Nico Grunbaum bb330040b4 Bug 1512281 - Adding pref to turn off WebRTC RTCP reception for tests r=dminor
Adds a pref to turn off WebRTC RTCP reception for tests, and an associated mochitest.
Once fixed the RTCP regression should cause the mochitest to unexpectedly pass

Differential Revision: https://phabricator.services.mozilla.com/D14518

--HG--
extra : moz-landing-system : lando
2019-03-25 18:20:05 +00:00
Coroiu Cristina 5b81e1ad0b Backed out 10 changesets (bug 1535442) for mochitest failure at dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver_inproc.html
Backed out changeset fe0c1f8b519b (bug 1535442)
Backed out changeset 96249192254a (bug 1535442)
Backed out changeset 8342491a4e91 (bug 1535442)
Backed out changeset 53556fae6a9b (bug 1535442)
Backed out changeset 94781a70cd20 (bug 1535442)
Backed out changeset d31a37ebf804 (bug 1535442)
Backed out changeset 490575f0e834 (bug 1535442)
Backed out changeset 32f8c041f72d (bug 1535442)
Backed out changeset 124cf9c814eb (bug 1535442)
Backed out changeset 2326906f1874 (bug 1535442)

--HG--
extra : rebase_source : 98fb05156463cf79634c219eea60870ac22b3a12
2019-03-27 01:19:57 +02:00
Byron Campen [:bwc] 90be359c52 Bug 1535442 - Part 9: Do not re-open RTCP-mux transports on renegotiation. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24523

--HG--
extra : moz-landing-system : lando
2019-03-26 17:42:50 +00:00
Byron Campen [:bwc] 856f681f91 Bug 1535442 - Part 5: Use ufrag when incorporating local candidates into SDP. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24279

--HG--
extra : moz-landing-system : lando
2019-03-26 17:42:42 +00:00
Byron Campen [:bwc] 94a1db362c Bug 1535442 - Part 3: Fire per-transport end-of-candidates signals, with ufrag. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24277

--HG--
extra : moz-landing-system : lando
2019-03-26 17:41:01 +00:00
Byron Campen [:bwc] 282d145fb1 Bug 1535442 - Part 1: Pay attention to ufrag when incorporating candidates into remote SDP. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24275

--HG--
extra : moz-landing-system : lando
2019-03-26 17:40:29 +00:00
Csoregi Natalia 888d83038c Merge mozilla-central to autoland. CLOSED TREE 2019-03-26 19:45:08 +02:00
Csoregi Natalia d105b005e8 Merge inbound to mozilla-central. a=merge 2019-03-26 19:43:22 +02:00
Alex Chronopoulos dfc6cb0281 Bug 1537725 - Use the default stack alignment in windows x86 for libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24785

--HG--
extra : moz-landing-system : lando
2019-03-26 09:45:21 +00:00
Csoregi Natalia 819dd52416 Backed out changeset abf6af5e36d6 (bug 1537725) for bustages on libdav1d/moz.build. CLOSED TREE 2019-03-26 11:32:42 +02:00
Alex Chronopoulos 9aff2faa39 Bug 1537725 - Use the default stack alignment in windows x86 for libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24785

--HG--
extra : moz-landing-system : lando
2019-03-25 22:51:31 +00:00
Nico Grunbaum f7e4ecddf4 Bug 1515716 - refactor the RTC RTP stats types to match spec r=jib,smaug
realigning the RTP stats types to match spec. This involves breaking out the remote dictionary types. This shouldn't create user space visible changes.

Differential Revision: https://phabricator.services.mozilla.com/D20432

--HG--
extra : moz-landing-system : lando
2019-03-26 06:06:36 +00:00
Byron Campen [:bwc] 1ff58a4f3c Bug 1240897 - Part 1: When creating an answer, do not allow DTLS role to change unless ICE is restarting. r=mjf
Depends on D24735

Differential Revision: https://phabricator.services.mozilla.com/D24736

--HG--
extra : moz-landing-system : lando
2019-03-26 04:24:04 +00:00
Byron Campen [:bwc] 289356a9b8 Bug 1240897 - Part 0: Test that we do not gratuitously switch DTLS roles on renegotiation. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24735

--HG--
extra : moz-landing-system : lando
2019-03-26 04:22:33 +00:00
Nils Ohlmeier [:drno] 92a38b7c16 Bug 1535868: don't send SRTP when not negotiated. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D23805

--HG--
extra : moz-landing-system : lando
2019-03-22 23:31:44 +00:00
Alex Chronopoulos fe1ca24c8b Bug 1536070 - Enable ASM in dav1d for Tier3 platforms. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24361

--HG--
extra : moz-landing-system : lando
2019-03-22 14:18:27 +00:00
Andreas Pehrson 021e97c215 Bug 1423253 - Make future frames in MediaPipeline black when a track is disabled. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22928

--HG--
extra : moz-landing-system : lando
2019-03-22 11:45:15 +00:00
Andreas Pehrson a35ff7f46e Bug 1423253 - Move VideoFrameConverter to its own file. r=dminor
This lets us unit test it in a future patch.

Differential Revision: https://phabricator.services.mozilla.com/D24233

--HG--
extra : moz-landing-system : lando
2019-03-22 11:45:23 +00:00
Andreas Pehrson e57962eea8 Bug 1423253 - Remove durations from VideoSegment::AppendFrame. r=padenot
VideoSegments still have durations, and they are still needed by the
MediaStreamGraph as it shuffles MediaSegments around.
They do not have a say in the wall-clock duration of video frames however.
Removing this should prevent any producers starting to add video chunks with
durations in the future.

Differential Revision: https://phabricator.services.mozilla.com/D22914

--HG--
extra : moz-landing-system : lando
2019-03-22 11:43:40 +00:00
Andreas Pehrson 0bb89b2b34 Bug 1423253 - Remove pulling (and mutex) from MediaPipelineReceiveVideo. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22912

--HG--
extra : moz-landing-system : lando
2019-03-22 11:43:32 +00:00
Andreas Pehrson 9ca802f154 Bug 1423253 - Use a timer to make sure we keep sending video over a peer connection when there's no input. r=dminor
The webrtc-pc spec says:
> If track is ended, or if the track's output is disabled, i.e. the track is
> disabled and/or muted, the RTCRtpSender MUST send silence (audio),
> black frames (video) or a zero-information-content equivalent.
> In the case of video, the RTCRtpSender SHOULD send one black frame per second.

This patch covers the case when the output is disabled, and the case when no
frames reach the MediaPipeline, for both direct and non-direct video listeners.

Differential Revision: https://phabricator.services.mozilla.com/D22898

--HG--
extra : moz-landing-system : lando
2019-03-22 11:42:11 +00:00
Andreas Pehrson 5fa61e274d Bug 1423253 - Remove mMutex from VideoFrameConverter. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D23708

--HG--
extra : moz-landing-system : lando
2019-03-22 11:42:04 +00:00
Andreas Pehrson a8f25bd13a Bug 1506093 - Remove MediaStreamVideoSink. r=padenot
The way it's implemented it only adds plumbing and overhead, no value.
This patch moves it to a thin wrapper around DirectMediaStreamTrackListener,
managed by VideoStreamTrack, instead.

Differential Revision: https://phabricator.services.mozilla.com/D22895

--HG--
extra : moz-landing-system : lando
2019-03-22 11:41:39 +00:00
Byron Campen [:bwc] d931e71177 Bug 1531122 - Part 1: Keep generated offers and answers separate. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24216

--HG--
extra : moz-landing-system : lando
2019-03-20 19:03:32 +00:00
Alex Chronopoulos 30586d8fe5 Bug 1535631 - Use 16 byte stack alignment on dav1d in OSX. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24382

--HG--
extra : moz-landing-system : lando
2019-03-21 19:43:15 +00:00
Matthew Gregan ac231ff9f9 Bug 1536605 - Update audioipc to 9bb53d5ba11b. r=chunmin
Also includes fix for bug 1536613.

Differential Revision: https://phabricator.services.mozilla.com/D24441

--HG--
extra : moz-landing-system : lando
2019-03-21 22:08:16 +00:00
Matthew Gregan 3716371465 Bug 1533539 - Revert ClientContext::init's error handling behaviour. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D24267

--HG--
extra : moz-landing-system : lando
2019-03-21 22:09:09 +00:00
Dan Minor 803d8e1547 Bug 1535584 - Restore UpdateCodecFrameSize to vp9_impl.cc; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D23713

--HG--
extra : moz-landing-system : lando
2019-03-21 15:48:46 +00:00
Dan Minor a18b131623 Bug 1532465 - Ensure we AddRef prior to early return in MediaType::Assign; r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D23143

--HG--
extra : rebase_source : dbfef9c4e527182e23ff9e944b9eccebe5dd58b1
2019-03-12 07:15:58 -07:00
Dan Minor d34f886b2d Bug 1521169 - Ensure that streamCount is at least one in CreateEncoderStreams; r=pehrsons
We currently have a check that we create at least one stream in
CreateEncoderStreams. This is failing occasionally. This adds a new check to the
top of the method to check that at least one stream has been requested. This will
help to narrow down where the problem is occurring.

Differential Revision: https://phabricator.services.mozilla.com/D24550

--HG--
extra : rebase_source : c9890a7ebb2ac860cd2147470ab1d5796618f481
2019-03-22 15:25:27 -04:00
Boris Zbarsky f81be92ae2 Bug 1535384 part 2. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on some webrtc callbacks. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23773

--HG--
extra : moz-landing-system : lando
2019-03-19 04:32:43 +00:00
Byron Campen [:bwc] b6c6f6df02 Bug 1518672: Sync transceivers before firing signalingstatecheanged. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23906

--HG--
extra : moz-landing-system : lando
2019-03-19 21:07:30 +00:00
Alex Chronopoulos 15f9cf5662 Bug 1536538 - Improve a check in config file and correct typos. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24071

--HG--
extra : moz-landing-system : lando
2019-03-20 14:24:23 +00:00
Byron Campen [:bwc] 3d252b6e25 Bug 1534673 - Part 4: Stop comparing track ids in jsep_track_unittest. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23704

--HG--
extra : moz-landing-system : lando
2019-03-19 16:21:13 +00:00
Byron Campen [:bwc] b550a2d16a Bug 1534673 - Part 3: Some updates to jsep_session_unittest to avoid comparing track-ids, and stop using msid-semantic. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23208

--HG--
extra : moz-landing-system : lando
2019-03-19 16:21:29 +00:00