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

7634 Коммитов

Автор SHA1 Сообщение Дата
Dan Minor 0b5eafd46f Bug 1645127 - Copy MID from source packet to RTX packet; r=ng
This change is already present upstream.

Differential Revision: https://phabricator.services.mozilla.com/D79548
2020-06-13 22:48:58 +00:00
Nico Grunbaum 5442b2eb88 Bug 1624967 - Display entire SDP history about:webrtc;r=dminor,webidl,smaug,flod
Differential Revision: https://phabricator.services.mozilla.com/D78866
2020-06-10 13:51:41 +00:00
Nico Grunbaum 87986ab67c Bug 1637450 - P2 - Access remote SSRC from any thread;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D78827
2020-06-10 13:55:43 +00:00
Nico Grunbaum 8108184b4f Bug 1637450 - Add Video Frame statistics to about:webrtc;r=bwc,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D75073
2020-06-10 16:34:25 +00:00
Tom Ritter db140837f8 Bug 1637845 - Add a moz.yaml for libaom and remove version information from the README r=glob
Differential Revision: https://phabricator.services.mozilla.com/D76432
2020-06-10 14:47:57 +00:00
Tom Ritter ce91a401a8 Bug 1637845 - Add/change support for running scripts to the moz.yaml schema r=glob
Here we unify the 'run_after' section with 'file-updates' just naming
them 'update-actions'.  This will allow a simpler schema and a clearer
picture of the order of actions that are taken.

Differential Revision: https://phabricator.services.mozilla.com/D76428
2020-06-10 14:46:03 +00:00
Tom Ritter 606d1b6c0e Bug 1637845 - Extend the file-updates schema to support a copy-file action r)glob
Additionally, raise voluptuous.Invalid errors so the message provided in
the Exception is shown to the user on error.

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

Depends on D75696
2020-06-10 14:42:55 +00:00
Tom Ritter 4d9b87747c Bug 1637845 - Add 'file-updates' to the moz.yaml schema r=glob
This section is for expressing actions that occur after extracting
the files, before vendoring is completed. While we support running
scripts (or at least, we will...) this section can be used for simple
actions that don't need scripts.

Also, add the dav1d excluded files.

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

Depends on D75695
2020-06-10 14:42:13 +00:00
Tom Ritter 7c4c1b39f3 Bug 1637845 - Add source-hosting to the schema and vendoring section r=glob
This will tell us how to interact with the upstream repository.

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

Depends on D75694
2020-06-10 14:41:34 +00:00
Tom Ritter 4b30cdd0dd Bug 1637845 - Add 'license-file' to origin, remove 'revision' from vendoring, add 'vendor-directory' r=glob
Add license-file to allow one to specify a special file the
project's license is in.

Add 'vendor-directory' to allow vendoring the files into a
separate directory (e.g. under third_party.) Remove a contradictory
comment.

Remove 'revision' from 'vendoring'.  This doesn't make sense to me:
'vendoring' is about how to update the library. In a future iteration
we may wish to restrict updates to a branch; but specifying a revision
is specifically about _not_ updating. It appears the intent of revision
was to identify what revision was currently in-tree; but that information
should live in the 'origin' section.

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

Depends on D75896
2020-06-10 14:40:51 +00:00
Byron Campen [:bwc] 1c3be2b686 Bug 1644477: Make candidate pair insertion code easier to read/understand. r=mjf
Includes removing an error code for a function that never fails, and removing
an error return when the function successfully did what it said it would.

Differential Revision: https://phabricator.services.mozilla.com/D78929
2020-06-09 19:44:50 +00:00
Paul Adenot bcf7c27938 Bug 1644664 - Update cubeb to e2ffb10. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D79044
2020-06-10 09:52:25 +00:00
Dan Minor f8f95a8f04 Bug 1643155 - Rename obfuscate_host_addresses pref; r=ng,mkaply
Renaming this to blocklist, as this is a list of sites for which hostname
obfuscation is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D78681
2020-06-09 09:30:04 +00:00
Bryce Seager van Dyk defad44097 Bug 1623651 - Update enums that have changed with CDM header bump. r=alwu,dminor
The CDM header bump has moved some enums, as well as using enum classes instead
of old style enums. This patch updates consumers of these enums to be compatible
with the new headers.

Drive by remove `using namespace cdm` from a couple of files as
- In some places I'd already been using fully qualified names.
- I prefer the fully qualified names as they make it clear when enums are coming
  from the cdm namespace and `cdm::` is not a particularly more verbose thing to
  have on identifiers.

Differential Revision: https://phabricator.services.mozilla.com/D78343
2020-06-08 19:02:05 +00:00
Dan Minor 31189b2a44 Bug 1641600 - Check RTX blocklist pref in PeerConnectionImpl; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77814
2020-06-04 14:42:15 +00:00
Dan Minor bcf0e14ff6 Bug 1641600 - Add SetRtxIsAllowed method to JsepTrack and JsepSession; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77813
2020-06-04 14:45:02 +00:00
Taegeon Lee 14c6288864 Bug 1629421 Fix redundant string initialization of ClientWebGlContext.cpp r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D78458
2020-06-05 11:15:30 +00:00
Nico Grunbaum 79a227b703 Bug 1615191 - P1 - implement remoteTimestamp for RTCRemoteOutboundRtpStreamStats;r=dminor,smaug
r?smaug for WebIDL review

Differential Revision: https://phabricator.services.mozilla.com/D78003
2020-06-05 11:41:24 +00:00
Nico Grunbaum 41e48cb684 Bug 1615191 - P0 - implement remoteTimestamp for RTCRemoteOutboundRtpStreamStats in libwebrtc;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D78004
2020-06-05 11:41:24 +00:00
Byron Campen [:bwc] 3567dc05dc Bug 1643169: Use ifr_ifru.ifru_flags6 instead of the ifr_flags macro, because the latter does not work properly on FreeBSD. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D78319
2020-06-04 15:56:46 +00:00
Butkovits Atila 8257764785 Backed out 3 changesets (bug 1641600) for failures at test_peerConnection_constructedStream.html. CLOSED TREE
Backed out changeset 41a85b7d3e5e (bug 1641600)
Backed out changeset 249782af96bb (bug 1641600)
Backed out changeset 86c2932e66d3 (bug 1641600)
2020-06-04 15:06:33 +03:00
Dan Minor 9c0a2aac8a Bug 1641600 - Check RTX blocklist pref in PeerConnectionImpl; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77814
2020-06-03 20:57:33 +00:00
Dan Minor ee1ae2eb58 Bug 1641600 - Add SetRtxIsAllowed method to JsepTrack and JsepSession; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77813
2020-06-03 20:54:58 +00:00
Byron Campen [:bwc] c5a5efa985 Bug 1183145: Teach platform-specific code to filter out inappropriate IPv6 addresses, and mark temp addresses. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D75962
2020-05-26 15:58:44 +00:00
Byron Campen [:bwc] 395beb03b2 Bug 1183145: Move platform-specific code from addrs.c into separate files. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D75947
2020-05-26 15:26:27 +00:00
Byron Campen [:bwc] 75a91dc755 Bug 1183145: Add a flags field to nr_local_addr so IPv6 addresses can be marked as temporary, and filter non-temp IPv6 if temp IPv6 are available. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D76043
2020-05-26 16:03:38 +00:00
Byron Campen [:bwc] 11d0805c75 Bug 1183145: Rename a function to better reflect what it does, and fix a bug where handling of teredo and mac-based IPv6 was mixed up. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D76042
2020-05-26 16:02:11 +00:00
Byron Campen [:bwc] 4bebff252f Bug 1636185: Inline this since nothing else was using it. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D74279
2020-06-01 21:56:57 +00:00
Byron Campen [:bwc] 55f0931f37 Bug 1636185: Don't use GetRemoteSSRCLocked when setting/unsetting ssrcs, because that is intended to be used for stats, not configuration. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D74267
2020-06-01 21:56:44 +00:00
Ricky Stewart 0bbaac721b Bug 1641693 - Replace a bunch of uses of `GENERATED_FILES` with the `GeneratedFile` template r=necko-reviewers,geckoview-reviewers,aklotz,dragana,froydnj
Also update documentation to suggest using the `GeneratedFile` template rather than directly referencing `GENERATED_FILES` where possible.

Differential Revision: https://phabricator.services.mozilla.com/D77496
2020-06-01 16:00:28 +00:00
Dan Minor f9c221ca56 Bug 1640697 - Test MID associated with multiple SSRCs; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D76900
2020-05-28 19:13:22 +00:00
Dan Minor df92d55880 Bug 1640697 - Use set for MID bindings in MediaPipelineFilter; r=ng
With RTX enabled, we have multiple SSRCs associated with a single MID, but the
filter code assumes that only one binding will be present. This change allows
a set of SSRCs to be associated with a MID.

Differential Revision: https://phabricator.services.mozilla.com/D76894
2020-05-28 19:13:14 +00:00
Sylvestre Ledru 4564119217 Bug 1617369 - Reformat recent rust changes with rustfmt r=froydnj
# ignore-this-changeset

Depends on D77580

Differential Revision: https://phabricator.services.mozilla.com/D77581
2020-05-30 12:58:22 +00:00
Nico Grunbaum 46b83b6604 Bug 1218356 - P2 - Implement the RTCDataChannel stats;r=dminor
Note that transportId is not implemented and is not a stat but a key back into
the stats report. It identifies the related transport stats object. We don't
have transport stats, so this can not be implemented at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D57116
2020-05-29 10:46:42 +00:00
Nico Grunbaum ee658e6245 Bug 1218356 - P1 - Add serializers for RTCDataChannel stats;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D57115
2020-05-29 10:38:37 +00:00
Dan Minor 9db7328409 Bug 1640668 - Remove unwrap() call from MDNSService start; r=mjf
Unwrap asserts if there is an error, ? will propogate it back to the caller
which is what we want.

Differential Revision: https://phabricator.services.mozilla.com/D77291
2020-05-28 16:46:54 +00:00
ChrisCushman 2c81dcfe0b Bug 1629422 - Eliminating redundant initialization in MediaTransportHandler r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D76770
2020-05-28 15:04:06 +00:00
Paul Adenot 0ae2549e51 Bug 1641579 - Update cubeb to 4cd6a92. r=cubeb-reviewers,achronop
4cd6a92 - CI: add FreeBSD jobs
eecb589 - QueryPerformanceCounter returns non-zero in case of success
524a9c9 - sun: Fix arithmetic on void pointer.

Differential Revision: https://phabricator.services.mozilla.com/D77264
2020-05-28 14:25:20 +00:00
Dan Minor d59bd05dc1 Bug 1603296 - Check for null data_ in EnsureCapacityWithHeadroom; r=ng
Since this passes IsConsistent() and data_ is null, capacity_ must be zero,
which implies size_ is zero, and so we attempt to copy zero bytes from a null
pointer. This doesn't seem to crash, but is still undefined behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D76913
2020-05-28 14:06:41 +00:00
Paul Adenot 3ceba56d25 Bug 1631724 - Temporarily disable an assert inside the cubeb's resampler. r=achronop
Reenabling is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1641234

Differential Revision: https://phabricator.services.mozilla.com/D77064
2020-05-28 09:55:21 +00:00
Paul Adenot 536bed511e Bug 1628779 - Update audioipc to 1b27476950. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D75336
2020-05-28 09:53:39 +00:00
Dan Minor d7b3697b38 Bug 1638361 - Remove uuid generation code from mdns_service; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D76708
2020-05-26 18:30:20 +00:00
Dan Minor a090854892 Bug 1638361 - Use nsIUUIDGenerator in NrIceCtx::GenerateObfuscatedAddress; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D76707
2020-05-26 19:40:26 +00:00
Dan Minor 169cad5736 Bug 1639377 - Do not offer RRID header extension if RTX is disabled; r=drno
Differential Revision: https://phabricator.services.mozilla.com/D76890
2020-05-26 20:49:29 +00:00
Byron Campen [:bwc] 69fe649c2c Bug 1639916: Clean up pstream if we don't end up using it. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D76359
2020-05-21 19:05:07 +00:00
Dan Minor 715e2622ab Bug 1637319 - Only enumerate capture devices on Linux that support V4L2_CAP_VIDEO_CAPTURE; r=ng
The side effect of not filtering on V4L2_CAP_VIDEO_CAPTURE is that every device
is enumerated twice. Because we look up devices by name, and the device that
supports V4L2_CAP_VIDEO_CAPTURE seems to always appear first in /dev/video,
this does not seem to end up with us ever choosing an inappropriate device. We
might get away with just filtering device names from the list, but if the order
of devices ever changed in /dev/video there could be problems.

Differential Revision: https://phabricator.services.mozilla.com/D75593
2020-05-15 19:40:28 +00:00
Dan Minor fdcf957cca Bug 1634675 - Remove webrtc-gtests r=drno,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73451
2020-05-20 19:59:45 +00:00
Aaron Klotz b4b8568b47 Bug 1637452: Part 13 - Fix JNI includes in media/webrtc; r=bwc
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75376
2020-05-15 17:05:28 +00:00
Aaron Klotz de0ca92545 Bug 1637452: Part 12 - Fix JNI includes in media/libcubeb; r=cubeb-reviewers,kinetik
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75375
2020-05-15 17:05:20 +00:00
Dan Minor b9598227dc Bug 1632489 - Only adjust valid capture times when generating padding; r=bwc
The current code will only set the TranmissionOffset extension if
capture_time_ms is > 0, but when adjusting timestamps for rtx packets, it is
adjusted  without first checking to see if it is valid, which will cause invalid
values of capture_time_ms to be written to TranmissionOffset, leading to assertion
failures.

This bug is still present on tip of libwebrtc, so we'll also need to prepare a
patch for upstream.

Depends on D74842

Differential Revision: https://phabricator.services.mozilla.com/D75528
2020-05-15 14:47:36 +00:00