Commit Graph

3218 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
fd880e95f8 Bug 1545827: Use TabId instead of PBrowserOrId, use LoadInfoArgs to avoid using the system principal on the socket process, and use PSocketProcess for the WebrtcProxyChannel when on the socket process. r=kershaw,mjf
Differential Revision: https://phabricator.services.mozilla.com/D28239

--HG--
extra : moz-landing-system : lando
2019-04-26 14:46:26 +00:00
Ryan Hunt
d6509bb237 Bug 1534395 - Rename TabChild to BrowserChild. r=nika
This commit renames TabChild to BrowserChild.

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

--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Kershaw Chang
5f5d6f4c69 Bug 1540289 - Don't init socket process bridge if the pref is disabled r=dragana,bwc
Differential Revision: https://phabricator.services.mozilla.com/D25571

--HG--
extra : moz-landing-system : lando
2019-04-23 13:06:05 +00:00
Byron Campen [:bwc]
3fa13ab015 Bug 1225877 - Part 1: Parse simulcast without rid= or pt= r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28244

--HG--
extra : moz-landing-system : lando
2019-04-23 12:43:21 +00:00
Byron Campen [:bwc]
08c072ff2e Bug 1225877 - Part 0: Test-case updates. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28243

--HG--
extra : moz-landing-system : lando
2019-04-23 12:43:01 +00:00
Byron Campen [:bwc]
ae71f3f61e Bug 1543429 - Part 1: Do not copy port 0 from previous bundle-only offer msection into an answer msection. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D27087

--HG--
extra : moz-landing-system : lando
2019-04-16 14:53:41 +00:00
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
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
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
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
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
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
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]
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
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