Commit Graph

7556 Commits

Author SHA1 Message Date
Sergio Garcia Murillo
daaa798f22 Bug 1164187 - Update JsepSessionTest for rtx; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72226
2020-05-08 18:11:11 +00:00
Dan Minor
6a3b43fa14 Bug 1164187 - Add jsep support for rtx; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72225
2020-05-08 18:10:59 +00:00
Dan Minor
2143491530 Bug 1164187 - Add sdp unit test for rtx; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72224
2020-05-08 18:10:46 +00:00
Sergio Garcia Murillo
d15b1feb18 Bug 1164187 - Add support for parsing rtx fmtp parameters in sipcc; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72223
2020-05-08 18:10:34 +00:00
Dan Minor
daf262752e Bug 1164187 - Fixes to RtxParameters; r=bwc
This changes the constructor to not take any parameters for consistency
with how the other parameters are handled. It also fixes serialization, the
current code will output an ascii character rather than the numeric value.

Differential Revision: https://phabricator.services.mozilla.com/D72222
2020-05-08 18:10:16 +00:00
Jean-Yves Avenard
f304da03ac Bug 1634253 - P6. Remove MessageLoop use from gfx. r=kats,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D73825
2020-05-07 08:04:53 +00:00
Alex Chronopoulos
e72615c01c Bug 1629984 - Stop enumerating suspended cameras. r=padenot
Suspended cameras are not able to capture data thus they are removed from the list of enumerated devices.

Differential Revision: https://phabricator.services.mozilla.com/D74210
2020-05-07 12:57:08 +00:00
Simon Giesecke
61ad805d68 Bug 1626570 - Use CopyableTArray in ipdlc as member type for now. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D73685
2020-05-07 08:11:08 +00:00
Dorel Luca
9340fa2b2d Backed out 11 changesets (bug 1635001, bug 1634253) for Browser-chrome failures in browser_bug295977_autoscroll_overflow.js
Backed out changeset c3c27cb46db6 (bug 1635001)
Backed out changeset 6cea251e5910 (bug 1635001)
Backed out changeset 3cb0a05be7fc (bug 1635001)
Backed out changeset 1cbb2866a3ad (bug 1634253)
Backed out changeset 53fd00dcf95c (bug 1634253)
Backed out changeset e3acd9db7065 (bug 1634253)
Backed out changeset 5c0b7aa99406 (bug 1634253)
Backed out changeset dc7e17f772be (bug 1634253)
Backed out changeset 6e47af64396a (bug 1634253)
Backed out changeset 8865de9ae0ef (bug 1634253)
Backed out changeset 6fac93b596c2 (bug 1634253)
2020-05-07 11:00:04 +03:00
Jean-Yves Avenard
96d7622823 Bug 1634253 - P6. Remove MessageLoop use from gfx. r=kats,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D73825
2020-05-07 05:03:42 +00:00
Byron Campen [:bwc]
213a5cff8c Bug 1634145: Avoid leaking nr_ice_sockets due to various kinds of failure. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D73287
2020-05-04 12:00:26 +00:00
Byron Campen [:bwc]
088ad10f93 Bug 1626364: Reinit decoder on error in WebrtcMediaDataDecoder. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D69649
2020-04-27 16:54:37 +00:00
Matthew Gregan
f7177d3d52 Bug 1631965 - Switch AudioIPC to bugfix fork of mio-named-pipes. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D71836
2020-05-05 21:13:30 +00:00
Dan Minor
d0b4c7e527 Bug 1626029 - Don't attempt to resend mDNS packets on EPERM; r=mjf
We currently retry sending queries on all failures to write to the socket on
the assumption that write errors represent transient errors. With this change,
we treat EPERM has a permanent error and drop queries if we see it. This is
not a problem when sending answers, as we don't retry in case of errors there,
on the assumption that the other side will retry their query in the future.

We do have code to limit the number of times we attempt an mDNS query, but we
didn't hit it in this case, because it only counts sends that are successful.

Differential Revision: https://phabricator.services.mozilla.com/D73492
2020-05-04 14:19:42 +00:00
Paul Adenot
0a01403ee5 Bug 1635404 - Update audioipc to d5c07e962073. r=achronop
Depends on D73870

Differential Revision: https://phabricator.services.mozilla.com/D73871
2020-05-05 15:14:01 +00:00
Paul Adenot
03da4e3e6c Bug 1635404 - Update cubeb to revision 35190a8. r=achronop
Depends on D73869

Differential Revision: https://phabricator.services.mozilla.com/D73870
2020-05-05 15:08:45 +00:00
Simon Giesecke
a673d9e93a Bug 1626570 - Improve handling of copying arrays in media/webrtc/signaling/src/. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72347
2020-05-05 10:40:33 +00:00
Razvan Maries
c2b627950c Backed out 10 changesets (bug 1626570) for build bustages. CLOSED TREE
Backed out changeset a3f17d392234 (bug 1626570)
Backed out changeset 5247e1ddd5d6 (bug 1626570)
Backed out changeset c339fd44c9f8 (bug 1626570)
Backed out changeset 4c69a4c013b3 (bug 1626570)
Backed out changeset e85450d69351 (bug 1626570)
Backed out changeset 793f978248b3 (bug 1626570)
Backed out changeset 68b4c2418d83 (bug 1626570)
Backed out changeset 52d0911d4ad3 (bug 1626570)
Backed out changeset a7d4e3a59ee3 (bug 1626570)
Backed out changeset 6c06d397a5d2 (bug 1626570)
2020-05-05 13:37:08 +03:00
Simon Giesecke
d669f1fc03 Bug 1626570 - Improve handling of copying arrays in media/webrtc/signaling/src/. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D72347
2020-05-05 09:44:05 +00:00
Simon Giesecke
458c7ceb41 Bug 1635132 - Make media/webrtc/signaling/src/media-conduit build outside unified build environment. r=ng
Depends on D73708

Differential Revision: https://phabricator.services.mozilla.com/D73719
2020-05-04 16:55:51 +00:00
Simon Giesecke
89b8cf387d Bug 1635129 - Make media/webrtc/signaling/src/peerconnection build outside unified build environment. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D73708
2020-05-04 16:27:14 +00:00
Byron Campen [:bwc]
ca88e4c776 Bug 1622384: Implement stable indexing for JSEP transceivers. r=mjf
JSEP transceivers were previously held in a vector, in the order that they were
created. However, these could be removed, which meant that the indexing was not
stable. Under most circumstances this did not matter, however there was a
wrinkle with implicit rollback in repeated sRD. Re-applying a remote offer that
had created a transceiver would destroy that transceiver, and create a new one
to replace it. However, JS was not informed, because to PeerConnectionImpl it
looked like nothing had changed. Now, transceivers are indexed in a stable way,
which allows this bug to be fixed, and makes things a little less confusing.

Differential Revision: https://phabricator.services.mozilla.com/D70400
2020-05-01 00:27:03 +00:00
Nico Grunbaum
6c05bc8709 Bug 1405495 - filter by MID in MediaPipelineFilter;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D70486
2020-05-01 01:52:28 +00:00
Arthur Iakab
0dd3332a55 Backed out 4 changesets (bug 1622384) for causing build bustages on JsepSession.h
CLOSED TREE

Backed out changeset d339ce87c2ef (bug 1622384)
Backed out changeset 13101fc544bc (bug 1622384)
Backed out changeset aad4412b43e2 (bug 1622384)
Backed out changeset eba5d05e59b2 (bug 1622384)
2020-05-01 00:03:03 +03:00
Byron Campen [:bwc]
d2457e5246 Bug 1622384: Implement stable indexing for JSEP transceivers. r=mjf
JSEP transceivers were previously held in a vector, in the order that they were
created. However, these could be removed, which meant that the indexing was not
stable. Under most circumstances this did not matter, however there was a
wrinkle with implicit rollback in repeated sRD. Re-applying a remote offer that
had created a transceiver would destroy that transceiver, and create a new one
to replace it. However, JS was not informed, because to PeerConnectionImpl it
looked like nothing had changed. Now, transceivers are indexed in a stable way,
which allows this bug to be fixed, and makes things a little less confusing.

Differential Revision: https://phabricator.services.mozilla.com/D70400
2020-04-29 02:48:07 +00:00
Simon Giesecke
62219e33b9 Bug 1628692 - Prepare media/webrtc/signaling/src/peerconnection/ for making FallibleTArray uncopyable. r=jesup,bwc,erahm
Differential Revision: https://phabricator.services.mozilla.com/D72621
2020-04-29 15:38:28 +00:00
Kershaw Chang
4db371a46e Bug 1512478 - Use sync IPC to get client auth data from parent process r=keeler,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D36911
2020-04-28 20:12:43 +00:00
Byron Campen [:bwc]
68ded2fc51 Bug 1629565: Some logging that was helpful. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72243
2020-04-27 14:38:26 +00:00
Byron Campen [:bwc]
ff27555ac8 Bug 1629565: Transition gathering state to "new" if a negotiation leaves us with no transports. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72242
2020-04-27 14:40:00 +00:00
Byron Campen [:bwc]
638490970c Bug 1629565: Fix bug where rollback of local offer would stomp the pre-existing transport with a new one with the same ufrag/pwd. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72240
2020-04-27 14:42:13 +00:00
Byron Campen [:bwc]
c98c1674f6 Bug 1629565: Do not transition back to "gathering" if no gathering is needed. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72238
2020-04-27 14:36:39 +00:00
Byron Campen [:bwc]
606eb34163 Bug 1629565: Fix bug where repeated sRD(offer) could start gathering. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72235
2020-04-27 14:47:44 +00:00
Sylvestre Ledru
7f26dcf1b6 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
Done with:
./mach lint -l rustfmt --fix
with
rustfmt 1.4.12-stable (a828ffe 2020-03-11)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D72527
2020-04-25 21:21:32 +00:00
Michael Froman
8f02f0cbfa Bug 1629529 - fix shutdown dispatch assert in WebrtcTCPSocket. r=bwc
If we're shutting down and mSocketThread is no longer accepting work,
this dispatch can fail.  As far as I can see, fully fixing this would
require changes to nsIThread in order to allow checking whether the
thread is shutting down.

Differential Revision: https://phabricator.services.mozilla.com/D71964
2020-04-24 15:37:39 +00:00
Simon Giesecke
c0341c3791 Bug 1628715 - Part 10: Activate nodiscard attributes on AppendElement(s). r=xpcom-reviewers,nika,peterv
Differential Revision: https://phabricator.services.mozilla.com/D70834
2020-04-24 14:34:15 +00:00
Narcis Beleuzu
903cd347ea Backed out changeset 9d1756abffd2 (bug 1629529) for bustages on WebrtcTCPSocket.cpp . CLOSED TREE 2020-04-24 05:14:40 +03:00
Michael Froman
eb2222bf34 Bug 1629529 - fix shutdown dispatch assert in WebrtcTCPSocket. r=bwc
If we're shutting down and mSocketThread is no longer accepting work,
this dispatch can fail.  As far as I can see, fully fixing this would
require changes to nsIThread in order to allow checking whether the
thread is shutting down.

Differential Revision: https://phabricator.services.mozilla.com/D71964
2020-04-23 21:42:21 +00:00
Narcis Beleuzu
b6a26db6c8 Backed out changeset fabb6fb27e8a (bug 1629529) for being an incorrect fix. CLOSED TREE 2020-04-23 20:54:55 +03:00
Dan Minor
8a8b6e82bc Bug 1628678 - Disable some threading asserts in AudioSendStream and ChannelProxy; r=bwc
With transport-cc enabled, we get feedback calls into AudioSendStream occuring
on the sts thread. Since AudioSendStream is constructed on the main thread,
this trips up the worker_thread_checker_ checks. The functions that are called
end up doing their work using AudioCodingModuleImpl::ModifyEncoder, which
takes a lock, so it should be safe to remove these assertions.

We've had to do similar things to ChannelProxy in the past to get stats
working from the sts thread. ChannelProxy has been removed upstream, but we
should consider changing our use of AudioSendStream with the next libwebrtc
update so that is always called from the same thread.

Differential Revision: https://phabricator.services.mozilla.com/D72157
2020-04-23 15:18:00 +00:00
shravanrn@gmail.com
e0273c024b Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D70652
2020-04-22 11:16:10 +00:00
shravanrn@gmail.com
093eb26bcf Bug 1625876 - Port libOgg usage code in the OGGDemuxer to use the RLBox API r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D68764
2020-04-22 11:41:42 +00:00
Michael Froman
b5392b2074 Bug 1629529 - fix shutdown dispatch assert in WebrtcTCPSocket. r=bwc
If we're shutting down and mSocketThread is no longer accepting work,
this dispatch can fail.  As far as I can see, fully fixing this would
require changes to nsIThread in order to allow checking whether the
thread is shutting down.

Differential Revision: https://phabricator.services.mozilla.com/D71964
2020-04-22 14:33:01 +00:00
Brindusan Cristian
c4fd863aaa Backed out 2 changesets (bug 1626174, bug 1625876) for build bustages at LibrarySandboxPreload.cpp and OggDemuxer.cpp. CLOSED TREE
Backed out changeset 40fea0f3ab6c (bug 1626174)
Backed out changeset a3117fce845d (bug 1625876)
2020-04-21 19:29:02 +03:00
shravanrn@gmail.com
f0399f4146 Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers
Depends on D68764

Differential Revision: https://phabricator.services.mozilla.com/D70652
2020-04-21 15:30:37 +00:00
shravanrn@gmail.com
d2d2282d1c Bug 1625876 - Port libOgg usage code in the OGGDemuxer to use the RLBox API r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D68764
2020-04-21 15:29:57 +00:00
Nico Grunbaum
5e3d3c4d85 Bug 1628630 - Add Support for RTX in WebRTC SDP CAPI;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70330

--HG--
extra : moz-landing-system : lando
2020-04-16 10:56:36 +00:00
Nico Grunbaum
4f8f4fd418 Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 09:17:46 +00:00
Brindusan Cristian
094e7f1fa3 Backed out 2 changesets (bug 1628630) for build bustages at SdpAttribute.h. CLOSED TREE
Backed out changeset 5c05d978aa32 (bug 1628630)
Backed out changeset bbd66b8940bb (bug 1628630)
2020-04-16 09:01:26 +03:00
Nico Grunbaum
763dd6c1c0 Bug 1628630 - Add Support for RTX in WebRTC SDP CAPI;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70330

--HG--
extra : moz-landing-system : lando
2020-04-16 05:36:10 +00:00
Nico Grunbaum
53809171df Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 05:35:58 +00:00