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

3427 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] 798f1f18d4 Bug 1551854: Don't stomp the mid on a transceiver if the answer has no mid in it. r=mjf
Depends on D37076

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

--HG--
extra : moz-landing-system : lando
2019-07-08 16:19:07 +00:00
Sylvestre Ledru fc2eb5393c Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37146

--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Sylvestre Ledru 131d0c6a02 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-06 08:18:28 +00:00
John Lin a987fc3b69 Bug 1552607 - p2: check sample session ID when processing buffers. r=jya
Because IPC call runs asynchronously in both remote decoder process and
content process, ProcessOutput() for buffers prior to Flush() could be
scheduled to run after the flush promise is resolved, and Codec.queueInput()
could be preempted and processes prior sample after flush.
To help check the validness of buffers, a session ID increased by flush
is added to both RemoteDataDecoder and remote codec service and will be
passed through IPC. If the passed ID doesn't agree with current session
ID, it means the buffer doesn't belong to current session and should be
discard.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 18:12:44 +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
Mihai Alexandru Michis 74781bb639 Backed out 2 changesets (bug 1552607) for causing checkstyle failures. CLOSED TREE
Backed out changeset 53a39e402451 (bug 1552607)
Backed out changeset 6385b8616d54 (bug 1552607)
2019-07-02 04:19:01 +03:00
John Lin 38358d2cf0 Bug 1552607 - p2: check sample session ID when processing buffers. r=jya
Because IPC call runs asynchronously in both remote decoder process and
content process, ProcessOutput() for buffers prior to Flush() could be
scheduled to run after the flush promise is resolved, and Codec.queueInput()
could be preempted and processes prior sample after flush.
To help check the validness of buffers, a session ID increased by flush
is added to both RemoteDataDecoder and remote codec service and will be
passed through IPC. If the passed ID doesn't agree with current session
ID, it means the buffer doesn't belong to current session and should be
discard.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 23:42:59 +00:00
Nicholas Nethercote d839ef58db Bug 1562331 - Make media.* static prefs follow the naming convention. r=KrisWright
This also removes the following prefs, because they're unused:
- media.autoplay.allow-muted pref
- media.autoplay.blackList-override-default

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

--HG--
extra : rebase_source : 0570540496302b3efedadf4d5115ee5422d5c279
2019-06-28 14:09:05 +10:00
Byron Campen [:bwc] be9316688b Bug 1550177 - Part 5: Remove one more bit of cruft. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D30995

--HG--
extra : moz-landing-system : lando
2019-06-19 16:55:17 +00:00
Byron Campen [:bwc] dd93864a0b Bug 1550177 - Part 3: There is no need to dispatch these calls to STS, because MediaTransportHandler does that for us. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D30993

--HG--
extra : moz-landing-system : lando
2019-06-19 16:54:58 +00:00
Byron Campen [:bwc] aa3e2db076 Bug 1550177 - Part 2: Remove a stack-unwind, and simplify signal handling considerably. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D30992

--HG--
extra : moz-landing-system : lando
2019-06-19 16:54:45 +00:00
Byron Campen [:bwc] 8ab44cf270 Bug 1550177 - Part 1: Remove some duplicate webidl enums. r=mjf,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30991

--HG--
extra : moz-landing-system : lando
2019-06-19 16:54:38 +00:00
Emilio Cobos Álvarez 3a16c93150 Bug 1556602 - Fix various warnings with rust 1.37 nightly. r=froydnj
In particular:

 * trait objects without an explicit `dyn` are deprecated
 * `...` range patterns are deprecated

I think these shouldn't really warn by default and should be clippy / opt-in
lints, but anyway, doesn't hurt.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 21:32:16 +00:00
Nico Grunbaum 00ba6739ba Bug 1553011 - update import of Rust SDP parser - r=drno
update import of Rust SDP parser

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

--HG--
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/10.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/10.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/11.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/11.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/12.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/12.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/13.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/13.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/14.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/14.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/15.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/15.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/16.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/16.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/17.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/17.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/18.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/18.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/19.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/19.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/2.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/2.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/20.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/20.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/21.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/21.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/22.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/22.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/23.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/23.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/24.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/24.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/25.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/25.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/26.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/26.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/27.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/27.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/28.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/28.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/29.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/29.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/3.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/3.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/30.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/30.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/31.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/31.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/32.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/32.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/33.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/33.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/34.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/35.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/36.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/37.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/37.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/38.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/38.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/39.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/4.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/4.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/40.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/41.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/41.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/5.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/5.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/6.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/6.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/7.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/7.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/8.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/8.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/9.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/9.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/extract.sh => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/extract.sh
extra : moz-landing-system : lando
2019-06-14 03:20:20 +00:00
Narcis Beleuzu 1ad559bb39 Backed out changeset b6559295ac78 (bug 1553011) for bustages on StaticAnalysisFunctions.h. CLOSED TREE
--HG--
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/10.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/10.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/11.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/11.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/12.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/12.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/13.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/13.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/14.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/14.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/15.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/15.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/16.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/16.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/17.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/17.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/18.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/18.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/19.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/19.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/2.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/2.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/20.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/20.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/21.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/21.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/22.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/22.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/23.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/23.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/24.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/24.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/25.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/25.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/26.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/26.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/27.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/27.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/28.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/28.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/29.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/29.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/3.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/3.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/30.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/30.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/31.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/31.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/32.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/32.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/33.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/33.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/36.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/37.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/37.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/38.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/38.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/40.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/4.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/4.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/41.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/41.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/5.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/5.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/6.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/6.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/7.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/7.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/8.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/8.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/9.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/9.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/extract.sh => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/extract.sh
2019-06-14 05:45:22 +03:00
Nico Grunbaum cbcf79e7fd Bug 1553011 - update import of Rust SDP parser - r=drno
update import of Rust SDP parser

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

--HG--
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/10.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/10.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/11.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/11.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/12.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/12.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/13.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/13.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/14.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/14.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/15.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/15.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/16.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/16.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/17.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/17.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/18.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/18.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/19.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/19.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/2.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/2.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/20.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/20.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/21.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/21.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/22.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/22.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/23.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/23.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/24.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/24.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/25.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/25.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/26.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/26.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/27.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/27.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/28.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/28.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/29.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/29.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/3.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/3.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/30.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/30.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/31.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/31.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/32.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/32.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/33.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/33.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/34.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/35.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/36.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/37.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/37.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/38.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/38.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/39.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/4.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/4.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/40.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/41.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/41.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/5.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/5.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/6.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/6.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/7.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/7.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/8.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/8.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/9.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/9.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/extract.sh => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/extract.sh
extra : moz-landing-system : lando
2019-06-12 04:21:50 +00:00
Dan Minor f1e1443538 Bug 1558524 - Fix handling of incoming mDNS candidates; r=bwc
This must have been broken while addressing review comments in Bug 1548841,
the first commit has it right and the last commit in the series breaks it.
Since we don't yet generate mDNS addresses in Firefox, the unit tests would not
catch this problem, and interoperability with other browsers would continue to
work due to peer reflex candidates.

We will have test coverage for this once we land generating our own mDNS
candidates. ICE will fail in the mochitests if we don't support resolving
mDNS addresses properly, which is how I discovered this bug.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 17:21:15 +00:00
Byron Campen [:bwc] d3597b0e64 Bug 1381136: Stop sending with PPID fragmentation. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D34393

--HG--
extra : moz-landing-system : lando
2019-06-11 19:44:02 +00:00
Narcis Beleuzu ca0f8bfa73 Backed out changeset 9e968a4d00bc (bug 1553011) for gtest crashes. CLOSED TREE
--HG--
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/10.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/10.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/11.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/11.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/12.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/12.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/13.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/13.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/14.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/14.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/15.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/15.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/16.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/16.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/17.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/17.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/18.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/18.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/19.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/19.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/2.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/2.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/20.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/20.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/21.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/21.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/22.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/22.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/23.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/23.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/24.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/24.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/25.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/25.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/26.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/26.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/27.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/27.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/28.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/28.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/29.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/29.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/3.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/3.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/30.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/30.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/31.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/31.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/32.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/32.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/33.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/33.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/36.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/37.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/37.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/38.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/38.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/40.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/4.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/4.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/41.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/41.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/5.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/5.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/6.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/6.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/7.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/7.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/8.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/8.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/9.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/9.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/extract.sh => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/extract.sh
2019-06-11 10:32:25 +03:00
Nico Grunbaum 83296d7309 Bug 1553011 - update import of Rust SDP parser - r=drno
update import of Rust SDP parser

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

--HG--
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/10.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/10.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/11.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/11.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/12.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/12.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/13.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/13.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/14.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/14.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/15.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/15.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/16.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/16.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/17.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/17.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/18.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/18.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/19.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/19.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/2.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/2.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/20.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/20.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/21.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/21.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/22.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/22.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/23.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/23.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/24.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/24.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/25.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/25.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/26.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/26.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/27.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/27.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/28.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/28.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/29.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/29.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/3.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/3.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/30.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/30.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/31.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/31.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/32.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/32.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/33.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/33.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/34.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/35.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/36.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/37.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/37.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/38.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/38.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/39.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/4.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/4.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/40.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/41.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/41.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/5.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/5.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/6.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/6.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/7.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/7.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/8.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/8.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/9.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/9.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/extract.sh => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/extract.sh
extra : moz-landing-system : lando
2019-06-11 06:01:42 +00:00
Dan Minor bfa03916c9 Bug 1556766 - Add telemetry for WebRTC video codecs used in calls; r=chutten,drno
This adds a scalar for the codecs used when receiving and sending video in
a WebRTC call.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:28:23 +00:00
Chris Pearce f782f59b09 Bug 1552145 - Make MediaChangeMonitor by default not try to init decoder until it receives extradata. r=jya
In bug 1538508 we changed the MediaChangeMonitor to raise an error when we try
to create a decoder and we don't yet have the H.264 extra data, to maintain the
assumptions made by OpenH264/WebRTC. This however doesn't play nice with the
HLS demuxer, which won't always give you extra data after a seek.

So change the MediaChangeMonitor to by default assume that it should just drop
frames until it has the extra data it needs to create a decoder. We can flag
this mode off in the WebRTC MediaDataDecoder.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 00:10:35 +00:00
Byron Campen [:bwc] cd2822bab9 Bug 1551836: Ensure that we clean up PeerConnectionMedia properly when PeerConnectionImpl::Initialize fails. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D33071

--HG--
extra : moz-landing-system : lando
2019-06-04 23:20:36 +00:00
Byron Campen [:bwc] c05c24393b Bug 1531825 - Part 1: Prevent already-set DTMF timers from being re-scheduled when new tones are set. Also some simplification. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D33573

--HG--
extra : moz-landing-system : lando
2019-06-04 15:23:35 +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 3aabdfd0c3 Bug 1552755 - Update gn generated json files; r=ng
Depends on D33338

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

--HG--
extra : moz-landing-system : lando
2019-05-31 20:18:20 +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
Mihai Alexandru Michis da33717f34 Backed out changeset 09e682ea9d23 (bug 1553011) for spidermonkey bustages. CLOSED TREE
--HG--
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/10.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/10.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/11.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/11.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/12.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/12.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/13.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/13.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/14.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/14.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/15.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/15.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/16.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/16.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/17.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/17.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/18.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/18.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/19.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/19.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/2.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/2.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/20.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/20.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/21.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/21.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/22.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/22.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/23.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/23.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/24.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/24.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/25.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/25.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/26.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/26.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/27.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/27.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/28.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/28.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/29.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/29.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/3.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/3.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/30.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/30.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/31.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/31.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/32.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/32.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/33.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/33.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/36.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/37.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/37.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/38.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/38.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/40.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/4.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/4.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/41.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/41.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/5.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/5.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/6.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/6.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/7.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/7.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/8.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/8.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/9.sdp => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/9.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/extract.sh => media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/extract.sh
2019-05-31 12:42:52 +03:00
Nico Grunbaum 5ba5af588b Bug 1553011 - update import of Rust SDP parser - r=drno
update import of Rust SDP parser

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

--HG--
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/10.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/10.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/11.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/11.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/12.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/12.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/13.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/13.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/14.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/14.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/15.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/15.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/16.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/16.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/17.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/17.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/18.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/18.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/19.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/19.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/2.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/2.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/20.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/20.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/21.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/21.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/22.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/22.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/23.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/23.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/24.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/24.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/25.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/25.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/26.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/26.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/27.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/27.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/28.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/28.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/29.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/29.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/3.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/3.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/30.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/30.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/31.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/31.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/32.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/32.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/33.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/33.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/34.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/35.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/34.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/36.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/37.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/37.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/38.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/38.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/39.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/4.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/4.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/39.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/40.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/41.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/41.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/5.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/5.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/6.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/6.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/7.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/7.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/8.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/8.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/9.sdp => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/9.sdp
rename : media/webrtc/signaling/src/sdp/rsdparsa/src/bin/sdps/extract.sh => media/webrtc/signaling/src/sdp/rsdparsa/examples/sdps/extract.sh
extra : moz-landing-system : lando
2019-05-30 04:44:02 +00:00
Byron Campen [:bwc] 2d6cf50175 Bug 1551589: readyState fixes r=ng
Depends on D31085

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

--HG--
extra : moz-landing-system : lando
2019-05-29 21:27:18 +00:00
Byron Campen [:bwc] e5e77ee686 Bug 1333879: Handle multiple codecs in answer. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D30687

--HG--
extra : moz-landing-system : lando
2019-05-20 15:40:41 +00:00
Nico Grunbaum 937eef0e91 Bug 1554284 - log unexpected SDP parse results on error level - r=drno
Differential Revision: https://phabricator.services.mozilla.com/D32525

--HG--
extra : moz-landing-system : lando
2019-05-29 01:52:52 +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 aba57c98ca Bug 1548841 - Do not reveal peer reflexive candidate addresses unless otherwise signaled; r=bwc
Peer reflexive candidates could leak local addresses otherwise hidden by using
mDNS. These must not be part of ICE statistics unless the same address has
been signaled separately.

See: https://tools.ietf.org/html/draft-ietf-rtcweb-mdns-ice-candidates-03#section-3.3.1

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

--HG--
extra : moz-landing-system : lando
2019-05-15 17:38:54 +00:00
Dan Minor 2477747488 Bug 1548841 - Obfuscate mDNS ICE candidate addresses; r=bwc
This adds a mdns_addr field to nICEr ICE candidates to track the mDNS address
associated with a candidate, if any. This is used to hide the real address
when generating ICE stats. This potentially could be handled at the
MediaTransportHandler level, but we need to know if a candidate is mDNS to
prevent pairing it with relay candidates, which is part of the next commit.

This adds a unit tests to check that the mDNS addresses are handled properly.
As part of doing this, TestBogusCandidate was fixed. As written, it was never
parsing the bogus candidate because it was in the wrong ICE state.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 22:55:55 +00:00
Dan Minor b98dda5094 Bug 1548841 - Handle incoming mDNS ICE candidates; r=bwc
This adds code to use the DNSService to resolve incoming mDNS candidates.
This could potentially be done within nICEr itself, but the delays
associated with resolving mDNS addresses make the timing there quite
awkward.

An internal DNSListener class is used to proxy requests back to the
MediaTransportHandler to avoid problems with multiple inheritance. Once
resolved, mDNS candidates are passed into nICEr as though they were
normal candidates. Avoiding leaking the actual address is done in the
second commit in this series.

Calling ActivateTransport can also potentially results in a call to
nr_ice_ctx_parse_candidate which would fail to handle mDNS candidates, but
we don't specify any candidates at that point.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 22:54:23 +00:00
Brindusan Cristian 2dc620b799 Backed out changeset 1691176e9819 (bug 1553011) for GTest crashes. CLOSED TREE 2019-05-22 08:50:19 +03:00
Nico Grunbaum 731efc8297 Bug 1553011 - update import of Rust SDP parser - r=drno
update import of Rust SDP parser

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

--HG--
extra : moz-landing-system : lando
2019-05-22 04:30:33 +00:00
Nico Grunbaum 07d183b29f Bug 1551702 - hide DataChannelConnection ctor, and set local port - r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D31343

--HG--
extra : moz-landing-system : lando
2019-05-16 18:43:13 +00:00
Byron Campen [:bwc] 8f8c9b3a37 Bug 1550540: Don't call Close() in PC's d'tor. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D30555

--HG--
extra : moz-landing-system : lando
2019-05-10 02:49:17 +00:00
Byron Campen [:bwc] 2d9b7eb405 Bug 1547278 - Part 1: Ensure that transports are created for a repeated sLD(offer). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D29405

--HG--
extra : moz-landing-system : lando
2019-05-01 15:46:05 +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 a98c532fe6 Bug 1497559 - Update json files (part 2); r=ng
Differential Revision: https://phabricator.services.mozilla.com/D28091

--HG--
extra : moz-landing-system : lando
2019-04-26 16:38:08 +00:00
Dan Minor c98757403c Bug 1497559 - Update json files (part 1); r=ng
Differential Revision: https://phabricator.services.mozilla.com/D28090

--HG--
extra : moz-landing-system : lando
2019-04-26 16:36:07 +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
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Byron Campen [:bwc] 0b9886fc20 Bug 1545090 - Part 1: Don't call PeerConnectionMedia::addIceCandidate for the end-of-candidates case. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28418

--HG--
extra : moz-landing-system : lando
2019-04-30 17:46:58 +00:00
Byron Campen [:bwc] 7816224edf Bug 1546408: Add some logging that was useful. r=mjf
Depends on D28876

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

--HG--
extra : moz-landing-system : lando
2019-04-26 14:44:20 +00:00
Byron Campen [:bwc] 73a1e28951 Bug 1531828 - Part 1: Check that transceiver is sending before doing tone stuff. r=mjf
Depends on D28402

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

--HG--
extra : moz-landing-system : lando
2019-04-23 15:20:53 +00:00
Byron Campen [:bwc] d4982bbb5a Bug 1542907 - Part 1: Remove duplicate msids. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D27117

--HG--
extra : moz-landing-system : lando
2019-04-29 15:52:38 +00:00
Byron Campen [:bwc] f28444a083 Bug 1531803 - Part 6: Fire track events when that track has been added to a stream. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D25799

--HG--
extra : moz-landing-system : lando
2019-04-29 15:52:03 +00:00
Byron Campen [:bwc] 46627d3af8 Bug 1531803 - Part 3: Only set track id on JsepTrack if we're configured to emit track ids in SDP, and simplify some code. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D25796

--HG--
extra : moz-landing-system : lando
2019-04-29 15:51:30 +00:00
Byron Campen [:bwc] ef7c16372d Bug 1531803 - Part 2: Get rid of JsepTrack::GetTrackId (since it doesn't mean anything), and re-focus on stream ids. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D25795

--HG--
extra : moz-landing-system : lando
2019-04-29 15:51:28 +00:00
Byron Campen [:bwc] 9ab4878c40 Bug 1531803 - Part 1: Stop copying the previous msid when generating new SDP. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D25794

--HG--
extra : moz-landing-system : lando
2019-04-29 15:51:24 +00:00
Byron Campen [:bwc] 02c4274c5e Bug 1546691: Avoid the PCObserver going away spontaneously when network is lost. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28839

--HG--
extra : moz-landing-system : lando
2019-04-27 16:29:21 +00:00
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
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
Jean-Yves Avenard a98680f98b 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 02:50:08 +00:00
Jean-Yves Avenard 9d10602a0c 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-26 14:40:51 +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] 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
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
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
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
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
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 d34f886b2d Bug 1521169 - Ensure that streamCount is at least one in CreateEncoderStreams; r=pehrsons
We currently have a check that we create at least one stream in
CreateEncoderStreams. This is failing occasionally. This adds a new check to the
top of the method to check that at least one stream has been requested. This will
help to narrow down where the problem is occurring.

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

--HG--
extra : rebase_source : c9890a7ebb2ac860cd2147470ab1d5796618f481
2019-03-22 15:25:27 -04:00
Boris Zbarsky f81be92ae2 Bug 1535384 part 2. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on some webrtc callbacks. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23773

--HG--
extra : moz-landing-system : lando
2019-03-19 04:32:43 +00:00
Byron Campen [:bwc] b6c6f6df02 Bug 1518672: Sync transceivers before firing signalingstatecheanged. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23906

--HG--
extra : moz-landing-system : lando
2019-03-19 21:07:30 +00:00
Byron Campen [:bwc] 3d252b6e25 Bug 1534673 - Part 4: Stop comparing track ids in jsep_track_unittest. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23704

--HG--
extra : moz-landing-system : lando
2019-03-19 16:21:13 +00:00
Byron Campen [:bwc] b550a2d16a Bug 1534673 - Part 3: Some updates to jsep_session_unittest to avoid comparing track-ids, and stop using msid-semantic. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23208

--HG--
extra : moz-landing-system : lando
2019-03-19 16:21:29 +00:00
Byron Campen [:bwc] 965afb8428 Bug 1534673 - Part 1: Stop paying attention to a=msid-semantic. Simplify some code that was still paying attention to the appdata part of msid. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23205

--HG--
extra : moz-landing-system : lando
2019-03-19 16:03:23 +00:00
Byron Campen [:bwc] 5c51da3c23 Bug 1318167 - Part 4: Incorporate remote end-of-candidates into SDP. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23220

--HG--
extra : moz-landing-system : lando
2019-03-19 16:48:38 +00:00
Dan Minor 111aed14cd Bug 1535766 - Handle unaligned buffers in WebrtcGmpVideoCodec::Encoded; r=bwc
This uses the Endian routines to ensure that reads will match the endianess
of the current machine, which is the expected behaviour of the openh264
plugin. The calls to readUint16 and readUint32 memcpy to a properly aligned
buffer avoiding any problems with alignment. The memcpy adds some overhead
but it seems negligible compared to the amount of work done to packetize and
send the encoded data.

These changes were tested by adding code to create an unaligned buffer and
memcopying the received buffer into it.

This also adds a null check for the received buffer as we have seen a small
volume of null pointer crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:15:39 +00:00
Byron Campen [:bwc] 9d9532b7d9 Bug 1531505 - Part 1: Ignore source-level msid if media-level msid is present. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D23202

--HG--
extra : moz-landing-system : lando
2019-03-15 18:04:23 +00:00
Sylvestre Ledru 4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01: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
Byron Campen [:bwc] 08f7738011 Bug 1531075: Allow offers to be created/set without any transceivers, re-enable some tests, and fix a mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23022

--HG--
extra : moz-landing-system : lando
2019-03-13 16:46:40 +00:00
Brindusan Cristian e0156ff6d2 Backed out changeset add69e4bd9af (bug 1531075) for wpt failures at RTCPeerConnection-setRemoteDescription-offer.html. CLOSED TREE 2019-03-13 18:22:39 +02:00
Byron Campen [:bwc] 24473522b3 Bug 1531075: Allow offers to be created/set without any transceivers, re-enable some tests, and fix a mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D23022

--HG--
extra : moz-landing-system : lando
2019-03-13 02:23:39 +00:00
Byron Campen [:bwc] c630882575 Bug 1531156 - Part 2: Some code simplification that part 1 lets us do. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D22209

--HG--
extra : moz-landing-system : lando
2019-03-11 21:01:21 +00:00
Byron Campen [:bwc] c33b5e6569 Bug 1490658: Support RTCIceCandidate.usernameFragment. r=mjf,smaug
Differential Revision: https://phabricator.services.mozilla.com/D21803

--HG--
extra : moz-landing-system : lando
2019-03-08 15:24:27 +00:00
Dan Minor 24b689c12e Bug 1521169 - Check that at least one stream is requested in ConfigureSendMediaCodec; r=pehrsons
This moves the existing release assert in CreateSendStream that ensures we have
requested at least one stream to ConfigureSendMediaCodec. This covers the case
where we don't recreate the send stream when only stream attributes have changed.

It does not appear to be possible for no streams to be configured by the
Transceivers code. Once we've verified that is the case with the release assert,
we can remove it and use error handling code instead.

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

--HG--
extra : rebase_source : d52bfa57f62529af94237d22886ee40750ad7cce
2019-02-21 13:21:10 -05:00
Dan Minor 9dd420b07b Bug 1521169 - Remove VideoEncoderConfigBuilder; r=pehrsons
The SimulcastStreamConfig code is unused. Once that is removed, all that remains
is a thin wrapper around webrtc::VideoEncoderConfig. We might as well use it
directly.

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

--HG--
extra : rebase_source : 439741238506db25e0fe3fd9fb41b6d6aaf2874a
2019-03-22 14:23:42 -04:00
Dan Minor 6d0a463689 Bug 1521169 - Rename SimulcastEncoding to Encoding in VideoCodecConfig; r=pehrsons
The Transceivers code just calls these encodings, and we use them even if we're
not doing simulcast, so we should just call them encodings as well.

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

--HG--
extra : rebase_source : e25e4b4154d5a92395d6e81c86c7e165e18e583e
2019-02-21 13:15:48 -05:00
Byron Campen [:bwc] 0a982dc0c7 Bug 1533261: Check whether PeerConnectionCtx is active before calling GetInstance. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D22530

--HG--
extra : moz-landing-system : lando
2019-03-08 15:25:20 +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
Gurzau Raul eedd13105c Backed out changeset 621207c8ef88 (bug 1515716) for failing at /src/base/pickle.cc on a CLOSED TREE. 2019-03-06 12:13:46 +02:00
Nico Grunbaum 73eb7b29fb 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-06 01:50:20 +00:00
Nico Grunbaum 804dd49ed4 Bug 1530025 - shift video only functions from MediaConduitInterface to VideoSessionConduit r=dminor
Moving video only functions from MediaConduitInterface to VideoSessionInterface

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

--HG--
extra : moz-landing-system : lando
2019-03-05 18:33:01 +00:00
Jeff Walden 3f385ffa33 Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Razvan Maries 65e4948ca0 Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Jeff Walden ecb4e10bda Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 36c43233ad6d804bd691c8c40d6a6984331c7162
2019-02-28 17:00:56 -08:00
Gurzau Raul 6b94d177d1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
Byron Campen [:bwc] 19b3cd0725 Bug 1530815: Call RLogConnector::CreateInstance on main, not STS, because that's where we init the nr_registry stuff normally. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D21376

--HG--
extra : moz-landing-system : lando
2019-02-28 20:20:34 +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
Byron Campen [:bwc] 7cb968d18c Bug 1521879 - Part 6: Disable SetProxyServer for the IPC implementation until bug 1521113 is fixed or worked around. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17560

--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:01 +00:00
Byron Campen [:bwc] 25ad4a9108 Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-25 21:50:58 +00:00
Byron Campen [:bwc] 8b6cc6a51f Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-25 21:50:42 +00:00
Gurzau Raul e6740c75fc Backed out 10 changesets (bug 1521879) for causing bug 1530107. a=backout
Backed out changeset f597a73a6eac (bug 1521879)
Backed out changeset 0bb76534f207 (bug 1521879)
Backed out changeset abcb8be12adf (bug 1521879)
Backed out changeset ed6c8d3bbfde (bug 1521879)
Backed out changeset 1addf1e15b55 (bug 1521879)
Backed out changeset 6b709cd9a479 (bug 1521879)
Backed out changeset 07747027c59c (bug 1521879)
Backed out changeset a6105ccc188c (bug 1521879)
Backed out changeset 48c9c643e7bb (bug 1521879)
Backed out changeset d4004105a04a (bug 1521879)
2019-02-25 12:12:15 +02:00
Jean-Yves Avenard 964cc95e13 Bug 1524890 - P5. Make MediaData::Type an enum class. r=bryce
Make its use more explicit and less likely to be incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 09:18:18 +00:00
Byron Campen [:bwc] 0cc4a5cf36 Bug 1521879 - Part 6: Disable SetProxyServer for the IPC implementation until bug 1521113 is fixed or worked around. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17560

--HG--
extra : moz-landing-system : lando
2019-02-21 20:26:31 +00:00
Byron Campen [:bwc] 5ca6cf53af Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-21 20:25:07 +00:00
Byron Campen [:bwc] 7ab14bdf2c Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-21 20:24:54 +00:00
Brindusan Cristian 136394135f Backed out 9 changesets (bug 1521879) for flake failures at /transforms/tests.py. CLOSED TREE
Backed out changeset baac167868b3 (bug 1521879)
Backed out changeset 54ac1b47b736 (bug 1521879)
Backed out changeset 94b62c6f22e2 (bug 1521879)
Backed out changeset d44f15fd4529 (bug 1521879)
Backed out changeset 761fca0514fb (bug 1521879)
Backed out changeset 0b85b1a7c1ce (bug 1521879)
Backed out changeset 5dc76e863a02 (bug 1521879)
Backed out changeset 604b9a007fe5 (bug 1521879)
Backed out changeset c414d82a5325 (bug 1521879)
2019-02-21 19:32:31 +02:00
Byron Campen [:bwc] a5dd4a73be Bug 1521879 - Part 6: Disable SetProxyServer for the IPC implementation until bug 1521113 is fixed or worked around. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17560

--HG--
extra : moz-landing-system : lando
2019-02-21 15:32:47 +00:00
Byron Campen [:bwc] bc939b7978 Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-21 15:33:57 +00:00
Byron Campen [:bwc] 4604113749 Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-21 16:42:12 +00: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
Nico Grunbaum ff4ed47d38 Bug 1527633 - rename GetRTPStats to something less ambiguous r=dminor
rename GetRTPStats to something less ambiguous

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

--HG--
extra : moz-landing-system : lando
2019-02-13 16:35:12 +00:00
Byron Campen [:bwc] 326aac1d4f Bug 1402912 - Part 1: Put multiple a=msid in SDP when a track is attached to multiple streams. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D18594

--HG--
extra : moz-landing-system : lando
2019-02-19 20:32:16 +00:00
Masatoshi Kimura e25fbce870 Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09: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
Coroiu Cristina e6520f0a4d Merge inbound to mozilla-central a=merge 2019-02-16 11:36:46 +02:00
Byron Campen [:bwc] 90e28addea Bug 1508685 - Part 1: Don't pay attention to the mids in the previous answer when creating a reoffer, just use the transceiver's mid. r=mjf
Depends on D19948

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

--HG--
extra : moz-landing-system : lando
2019-02-15 18:09:17 +00:00
Sylvestre Ledru 41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Cosmin Sabou 4c0553bb3e Merge mozilla-central to mozilla-inbound. 2019-02-15 20:54:03 +02: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 9c34e0b914 Bug 1512504 - Don't set __PRETTY_FUNCTION__ on clang-cl. r=froydnj
clang-cl defines it on its own, although the value is slightly different
from __FUNCSIG__ (it doesn't contain the ABI, which doesn't really
matter). We've only been setting it this was on clang-cl by extension of
setting it for msvc.

Depends on D19616

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

--HG--
extra : moz-landing-system : lando
2019-02-14 18:56:29 +00: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
shindli 54aa04bfd1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-13 23:36:24 +02:00
Nico Grunbaum 3c6b421c80 Bug 1527526 - AudioConduit is reporting send instead of recv RTP stats r=dminor
AudioConduit is reporting send instead of recv RTP stats

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

--HG--
extra : moz-landing-system : lando
2019-02-13 12:35:11 +00:00
Nico Grunbaum c838f88f22 Bug 1526512 - remote-inbound-rtp stat roundTripTime should be expressed in seconds r=jib,smaug
Changing the units roundTripTime is reported in from milliseconds to seconds

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

--HG--
extra : moz-landing-system : lando
2019-02-12 23:39:49 +00:00
Nils Ohlmeier [:drno] 4217c389d1 Bug 1526733: added TCP/DTLS/RTP/SAVP to SDP parser. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D19278

--HG--
extra : moz-landing-system : lando
2019-02-11 18:01:36 +00:00
Byron Campen [:bwc] 91aa85ed89 Bug 1523795: Make temp copy of query->now to avoid access after query has been moved. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D19380

--HG--
extra : moz-landing-system : lando
2019-02-11 17:04:23 +00:00
Byron Campen [:bwc] 67e9440deb Bug 1522535: Break a cycle triggered by a recent web-platform-test merge. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D19171

--HG--
extra : moz-landing-system : lando
2019-02-08 16:57:45 +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
Sylvestre Ledru 14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Byron Campen [:bwc] 194ccf5471 Bug 1370562: Don't try to validate attributes on disabled m-sections in answers. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D18369

--HG--
extra : moz-landing-system : lando
2019-02-04 15:40:16 +00:00
Csoregi Natalia 9423fa7897 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-02 00:14:12 +02:00
Nils Ohlmeier [:drno] c8aea55c6b Bug 1524145: set Opus stereo on send stream with 2 channels. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D18175

--HG--
extra : moz-landing-system : lando
2019-02-01 18:28:10 +00:00