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

6731 Коммитов

Автор SHA1 Сообщение Дата
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