Commit Graph

889 Commits

Author SHA1 Message Date
june wilde
bb30244e33 Bug 1395259 - Remove win32k usage from webrtc's TaskQueue; r=dminor
Removes calls to the win32k API.
Replaces hardware and event timers with waitable timers.
Removes handling various task objects through the thread message queue.
Removes ProcessQueuedMessages, CancelTimers functions.
Adds event handle for stopping the TaskQueue thread.
Adds ReplyHandler class as an in between for TaskQueue objects to post tasks to each other without worrying if the other TaskQueue remains valid.
Adds rtc::CriticalSection's for timer_tasks_.
Removes ThreadState scoped class.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 16:11:32 +00:00
Jed Davis
4992ca410f Bug 1545504 - Strengthen bounds check in WebRTC PhysicalSocketServer. r=jesup
PhysicalSocketServer isn't currently used by Mozilla's WebRTC
integration, but just in case, let's make sure that this array index is
bounds-checked in actual use, not just in debug builds (which tend to
never see realistic test conditions).

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

--HG--
extra : moz-landing-system : lando
2019-11-17 03:40:50 +00:00
Nico Grunbaum
975181c5f0 Bug 1580156 - set WebRTC thread name r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D51975

--HG--
extra : moz-landing-system : lando
2019-11-07 20:22:42 +00:00
Jan-Ivar Bruaroey
d60ad185ac Bug 1593161 - Fixed video capturing on Mac. (from upstream) r=pehrsons
On specific Macbooks (no exact pattern, unfortunately),
video from an integrated camera is not captured.
Changed AVCaptureVideoDataOutput pixel format configuration
as in Chromium which solved the problem.
https://chromium.googlesource.com/chromium/src/media/+/master/capture/video/mac/video_capture_device_avfoundation_mac.mm
FourCharCode best_fourcc = kCVPixelFormatType_422YpCbCr8;

Tested with external cameras as well.

Bug: webrtc:8958

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

--HG--
extra : moz-landing-system : lando
2019-11-05 08:07:48 +00:00
Gabriele Svelto
550a8ee421 Bug 1590984 - Use poll() instead of select() in WebRTC code r=drno
The use of select() was leading to crashes when the file descriptor value was
larger than FD_SETSIZE. Recent versions of glibc have checks in the FD_CLR(),
FD_SET() and FD_ISSET() macros that will abort() the program instead of doing
an out-of-bounds access. poll() doesn't have limitations on the file
descriptor values and provides behavior that is otherwise identical to
select() thus solving the problem.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 23:26:12 +00:00
Dan Minor
188c0c2c70 Bug 1587164 - Avoid left shift of negative value in TimestampWrapAroundHandler; r=bwc
The code for handling backwards wraps left shifts num_wrap_ - 1. If
num_wrap_ is zero, this results in a left shift of a negative value which
is undefined behaviour. This modifies the code to avoid the shift at the cost
of an extra multiplication.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 13:48:21 +00:00
Nils Ohlmeier [:drno]
661ecac0a9 Bug 1588346: removed webrtc sdk directory. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D49077

--HG--
extra : moz-landing-system : lando
2019-10-15 11:35:55 +00:00
Dan Minor
dba62d5da9 Bug 1583967 - Fix pointer overflow errors in webrtc signal processing; r=ng
These have already been fixed upstream. The upstream comment was: "Negative
overflow is permitted here, because this is auto-regressive filters, and the
state for each batch run is stored in the "negative" positions of the output
vector."

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

--HG--
extra : moz-landing-system : lando
2019-10-14 18:17:40 +00:00
Dan Minor
cb833e8387 Bug 1587159 - Fix undefined shift in g722_encode.c; r=ng
Left shifting a negative value results in undefined behaviour. It is safer to
multiply in this case.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 20:12:28 +00:00
Dan Minor
ad61673439 Bug 1564902 - Checked paused_ prior to calling SendPacket; r=bwc
There is a window inside of SendPacket where the critical section is released
which means that other code could set paused_. This would lead to us hitting
the assertion at the top of SendPacket. Checking paused_ in the while loop
will avoid this. Upstream has fixed this problem in a similar way, but the
code has changed there enough that it doesn't make sense to try to bring in
their fix directly.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 15:42:58 +00:00
Dan Minor
5ca5bdf957 Bug 1559011 - Try using PW_RENDERFULLCONTENT for Windows window capture; r=pehrsons
This is a partial cherrypick of https://webrtc.googlesource.com/src/+/f89110d67902e787f6745ad2b52f7f09fc808512.
The cropping changes in that revision are problematic on our version of webrtc.org and
result in distorted video, which looks as though there is a stride problem. This takes
the change to try to use PW_RENDERFULLCONTENT and to fall back to the current code if
that fails. This fixes capturing Chrome windows and allows Firefox to properly capture
its own window.

Using PW_RENDERFULLCONTENT can adversely affect performance. Using the
CroppingWindowCapturer can avoid using the WindowCapturer in some circumstances and so
result in better performance. Bug 1586071 tracks switching to the
CroppingWindowCapturer.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 19:47:07 +00:00
Wang Qing
b428602d25 Bug 1579834 - [WebRTC] Add mips64 support; r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D45620

--HG--
extra : moz-landing-system : lando
2019-09-25 14:15:23 +00:00
Alex Chronopoulos
5cb664d73b Bug 1572281 - Remove audio device change notifications from video capture in Windows. r=dminor
Video capture used to provide device change notifications for audio and video devices. From now on, CubebDeviceEnumerator will provide audio device change notifications thus video capture is updated to notify only changes of the video device. This is the windows part.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 13:12:30 +00:00
Alex Chronopoulos
aa5a82572d Bug 1572281 - Remove audio device change notifications from video capture in OSX. r=dminor
Video capture used to provide device change notifications for audio and video devices. From now on, CubebDeviceEnumerator will provide audio device change notifications thus video capture is updated to notify only changes of the video device. This is the OSX part.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 13:16:56 +00:00
Alex Chronopoulos
67bc215a66 Bug 1572281 - Remove audio device change notifications from video capture in Linux. r=dminor
Video capture used to provide device change notifications for audio and video devices. From now on, CubebDeviceEnumerator will provide audio device change notifications thus video capture is updated to notify only changes of the video device. This is the Linux part.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 13:16:57 +00:00
Alex Chronopoulos
efb44bee9c Bug 1581806 - Trigger devicechange event for audio and video input devices only. r=dminor
After Bug 1581193 devicechange notifications were triggered with any device change, not just video and audio devices. This patch limits down the notifications to only video and audio input devices change.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 14:31:39 +00:00
Dan Minor
382ae1bcb5 Bug 1581193 - Fix devicechange event on Windows; r=achronop
This restores the code for generating devicechange events that was
accidentally removed as part of updating the Windows video capture code
in Bug 1552755.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 06:47:06 +00:00
Dan Minor
7c3097eb13 Bug 1565800 - Use local copy of _captureCapability in OnIncomingFrame; r=jolin
In OnIncomingFrame() we check if the capture has started by calling
CaptureStarted() which holds a lock. If StopCapture() is called on the
control thread after we check CaptureStarted() it is possible that
_captureCapability will be zeroed out prior to frame being delivered because
the lock has been released. This would result in an unknown video type in
CalcBufferSize() and trigger an assertion there. This creates a local copy of
_captureCapability with the lock held to ensure it is not zeroed out when the
frame is delivered.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 15:52:31 +00:00
Nils Ohlmeier [:drno]
bb245ddcf0 Bug 1480088: Added length check for uplfec. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D38786

--HG--
extra : moz-landing-system : lando
2019-07-22 10:31:55 +00:00
Dan Minor
4d7e469e12 Bug 1560145 - Fix typo in modules/audio_coding/neteq/background_noise.h; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D36620

--HG--
extra : moz-landing-system : lando
2019-07-02 16:42:01 +00:00
Dan Minor
730527dabb Bug 1523162 - Remove WebRtc_GetCPUFeaturesARM from cpu_features.cc; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D33484

--HG--
extra : moz-landing-system : lando
2019-06-04 08:51:40 +00:00
Dan Minor
3a493fff3e Bug 1552755 - Update moz.build files; r=ng
Depends on D33339

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

--HG--
extra : moz-landing-system : lando
2019-05-31 20:20:40 +00:00
Dan Minor
52a2d75c8e Bug 1552755 - Small fixes to backport the updated video capture code; r=ng
A few small changes are required to backport the updated windows capture code
to our version of webrtc.org. These are largely path changes, but
DetachFromThread has been renamed to Detach, and they seem to have a working
overload for ostream operator<< for VideoType that I have not been able to
track down. It is also necessary to add our local modification for pid_t back
to the GetDeviceName method, but it is not used for video capture anyways.

Depends on D33337

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

--HG--
extra : moz-landing-system : lando
2019-05-31 20:25:34 +00:00
Dan Minor
a03a64be06 Bug 1552755 - Add ToHex to stringutils.h; r=ng
This was added in commit 74395345e8d2fecd504cb687eb79deee4ef394c3, but this
only cherry picks the ToHex part of that commit.

Depends on D33336

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

--HG--
extra : moz-landing-system : lando
2019-05-31 19:51:50 +00:00
Dan Minor
3a63433a17 Bug 1552755 - Update video_capture/windows code to tip of webrtc.org; r=ng
This updates just video_capture/windows to the tip of webrtc.org, from commit
8581877121f58435d683c2a39a73e72e5dcd558a.

This removes the locking which was leading to the deadlock in Bug 1552755. It
also removes the reliance upon the DirectShow example code which lead to our
local implementations of BaseFilter, BaseInputPin, BasePin, and MediaType.
These can now be removed.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 20:24:35 +00:00
Dan Minor
24db155aec Bug 1545247 - Fix crash in MouseCursorMonitorX11::CaptureCursor() on linux32; r=ng
This is a cherry pick of upstream commit c1187ab34bdf836bd33f7f050d525184eba4cd20.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 16:03:19 +00:00
Emilio Cobos Álvarez
3c96684a0f Bug 1554949 - Fix WebRTC build failure with newer linux kernel. r=dminor
Recent kernel commit[1] moved a bit the define for this constant. This revealed
a missing include in WebRTC.

I filed this upstream in:

 * https://bugs.chromium.org/p/webrtc/issues/detail?id=10677

And sent a patch in:

 * https://webrtc-review.googlesource.com/c/src/+/138270

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc5

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

--HG--
extra : moz-landing-system : lando
2019-05-28 13:02:22 +00:00
Dan Minor
7b91688f1b Bug 1497559 - Update moz.build file; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D28092

--HG--
extra : moz-landing-system : lando
2019-04-26 16:38:13 +00:00
Dan Minor
522725a730 Bug 1497559 - Remove application capture support; r=ng
This removes all references to application capture except from MediaSourceEnum.
That was left in place so as to not change the enumerated values used
for WEBRTC_GET_USER_MEDIA_TYPE telemetry.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 16:35:39 +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
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
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
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
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
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
David Major
e5773183d6 Bug 1528074 - Remove MSVC warning flags that clang-cl doesn't understand r=chmanchester
Per the previous patch, clang-cl only understands five MSVC-style warning flags: 7219c7e9af/clang/include/clang/Driver/CLCompatOptions.td (L188-L197)

This patch removes the flags that clang-cl doesn't understand.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 20:19:08 +00:00
Dan Minor
0aa8a8ce34 Bug 1519535 - Check that deviceNumber is valid in GetDeviceName; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D21945

--HG--
extra : moz-landing-system : lando
2019-03-06 15:41:35 +00:00
Ryan Hunt
d5e3e54658 Bug 1523969 part 15 - Move method definition inline comments to new line in 'media/'. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D21116

--HG--
extra : rebase_source : bf7d4b2a09768420f8da04d82d34afed374d7961
2019-02-25 16:09:55 -06:00
Dan Minor
56c52a041c Bug 1522238 - Set frame timestamp in MediaPipeline::ProcessVideoFrame; r=pehrsons
In the past we relied upon ViEEncoder::OnFrame to set the render time for
frames. With the branch 64 update, this code moved to
VideoStreamEncoder::OnFrame, and only sets the timestamp if it is greater than
the current time. This results in broken rtp timestamp estimates in the rtcp
sender report, which causes problems for Meet and possibly other services
that rewrite rtp timestamps based upon the sender report.

This patch explicitly sets the timestamp in MediaPipeline. This should give us
the same behaviour that we had before the branch update without requiring local
modifications to upstream code. This leaves the rtp timestamp as zero as that
was not being set before.

This also removes an unused overload of the VideoFrameConverted method.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 15:21:33 +00:00
Nico Grunbaum
a73b34cad7 Bug 1525341 - RTP audio jitter stat is not updating r=dminor
RTP audio jitter stat is not updating because the playout frequency isn't being set

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:32:42 +00:00
Dan Minor
8e1ddc4af1 Bug 1524208: Compare result of BaseInputPin::Receive to S_OK; r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D19675

--HG--
extra : rebase_source : 0ab864b92552cbf63ba132844cd51f0ec493b232
2019-02-13 06:33:27 -08:00
David Major
7c3a74a7b3 Bug 1515699: Backed out 2 changesets (bug 1486038) now that aarch64 builds use clang-cl. r=dminor
Backed out changeset 304b5b25af77 (bug 1486038)
Backed out changeset 06d49dc866e8 (bug 1486038)

--HG--
extra : rebase_source : 27ecf1fc3028fa3becfaf079f914d089f6e3006a
2019-02-15 19:16:07 +01:00
Mike Hommey
ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

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

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Dan Minor
92ff4b0d03 Bug 1524335: Make InOrderPacket take last_sequence_number by reference; r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D19694

--HG--
extra : rebase_source : ac4ef8f11e7b1b4975d1cd2e4c8985c6d040703d
extra : amend_source : 2440c041736e2408be3a7a670f2f69b1b6ab5215
2019-02-13 13:05:20 -05:00
Dan Minor
cc229f4778 Bug 1524208 - Calculate stride based upon target_width in video_capture_impl.cc; r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D18270

--HG--
extra : rebase_source : dcc70f5f91fe2a2af962a062942dad662eb3cc67
extra : amend_source : 29348cc4a00d11953ec7f2712a38252ab1817993
2019-01-31 15:37:38 -05:00
Nils Ohlmeier [:drno]
0d97afcc8d Bug 1523412: compare GetStreamCaps return values against S_OK. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D17872

--HG--
extra : moz-landing-system : lando
2019-01-29 21:21:33 +00:00
Dan Minor
41f331e2ad Bug 1515205 - Always set frame timestamps in VideoStreamEncoder::OnFrame; r=drno
In the past we relied upon ViEEncoder::OnFrame to set the render time for
frames. With the branch 64 update, this code moved to
VideoStreamEncoder::OnFrame, and only sets the timestamp if it is greater than
the current time. This results in broken rtp timestamp estimates in the rtcp
sender report, which causes problems for Meet and possibly other services
that rewrite rtp timestamps based upon the sender report.

This patch makes VideoStreamEncoder::OnFrame always set the timestamp. In a
follow on bug, we'll move this behaviour to VideoConduit so we don't have to
maintain a local modification of the upstream code.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 20:48:20 +00:00