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

83 Коммитов

Автор SHA1 Сообщение Дата
Dan Minor 21cb54ff16 Bug 1414829 - Fix VideoConduitTest gtest assertion failures; r=drno
--HG--
extra : rebase_source : 9e881c4a84389f480f2dcdd1c6be714bba2fdc72
2017-11-28 15:58:47 -05:00
Dan Minor f09687bfc8 Bug 1414829 - Add DeleteStreams to media conduits; r=jesup
--HG--
extra : rebase_source : da8ae4e2cb53e787f1730c2f5efcd65421de300f
2018-01-08 12:40:38 -05:00
Sebastian Hengst 0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Dan Minor d474e7f00c Bug 1432793 - Add gtests for simulcast screenshare and odd resolutions; r=bwc
MozReview-Commit-ID: ADBh7SCVgoC

--HG--
extra : rebase_source : 561a924560c0dbffbc95317b4cc5303dec6a8de6
2018-04-04 13:09:06 -04:00
Nils Ohlmeier [:drno] c43eaec585 Bug 1406529: adjust gtest to new extmap handling r=bwc
MozReview-Commit-ID: L7BXtoQNQBZ

--HG--
extra : rebase_source : 89a65b30b5f9493a661ad3ff1ab84c0fbac79007
2018-03-06 09:55:15 -08:00
Sylvestre Ledru fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Dan Minor 650d4f0866 Bug 1379265 - Add RsdparsaSdpParser to sdp_unittests; r=bwc
This adds a bool parameter that allows the tests to run with either the Sipcc or
Rust SDP parsers.

The tests were changed as follows: One chunk of SDP ws missing a s= line, which
is non-optional as was added. Some of the SDP had a=ice-lite as a media
attribute, but it is only supposed to be a session attribute, and so the media
attribute was removed.

MozReview-Commit-ID: K45ynsVvmnB

--HG--
extra : rebase_source : 4e2a3ea18198f8e5467706b8ef9331aa225babd2
2018-01-23 14:24:44 -05:00
Csoregi Natalia ecb86060b4 Backed out 5 changesets (bug 1379265) for GTest crashes on RsdparsaSdpAttributeList::GetGroup. a=backout
Backed out changeset addf903ba015 (bug 1379265)
Backed out changeset 51f51dfe6095 (bug 1379265)
Backed out changeset 443378a6ed7a (bug 1379265)
Backed out changeset 0ea22b056105 (bug 1379265)
Backed out changeset d85d78ba8ccd (bug 1379265)
2018-02-24 12:58:24 +02:00
Dan Minor a45db31520 Bug 1379265 - Add RsdparsaSdpParser to sdp_unittests; r=bwc
This adds a bool parameter that allows the tests to run with either the Sipcc or
Rust SDP parsers.

The tests were changed as follows: One chunk of SDP ws missing a s= line, which
is non-optional as was added. Some of the SDP had a=ice-lite as a media
attribute, but it is only supposed to be a session attribute, and so the media
attribute was removed.

MozReview-Commit-ID: K45ynsVvmnB

--HG--
extra : rebase_source : cf99d92db4c92e17dc3aa32e0862984fe69452a9
2018-01-23 14:24:44 -05:00
Nico Grunbaum 4e323cc913 Bug 1439076 - P2 - csrc-audio-level jsep gtest fixes r=jib
MozReview-Commit-ID: 1ZHK4TFIc9E

--HG--
extra : rebase_source : 897ceea8637b15b9a3872c86a2c8b3ac551e096d
2018-02-20 17:00:27 -08:00
Byron Campen [:bwc] 83b3a27494 Bug 1437741 - Part 1: Expect datachannel m-sections to be last. r=drno
MozReview-Commit-ID: At6HhsLsJQn

--HG--
extra : rebase_source : 65230196217244c5151b46183dfc9adec4b76840
2018-02-15 10:23:49 -06:00
Andreas Pehrson 678079da9d Bug 1299515 - Use an I420BufferPool for allocations in VideoFrameConverter. r=dminor
MozReview-Commit-ID: 50evWtMNjHz

--HG--
extra : rebase_source : 3ac599a252f65fb37b953b7eb920215006a24f2c
2017-11-28 11:42:33 +01:00
Andreas Pehrson 85ded5b958 Bug 1299515 - Plumb MediaStreamTrack enabled state to sources. r=jib
MozReview-Commit-ID: Eg1g9JtLmOz

--HG--
extra : rebase_source : 73057e1093d487736f69addca346b05c48d8d280
2017-11-10 15:55:42 +01:00
Nico Grunbaum e30c99af1c Bug 1419093 - P2 - update rtp source impl & unit tests r=mjf
Update the c++ side with the new WebIDL definitions, note that
many fields are now required. See P1 for more details.


MozReview-Commit-ID: FKHi86Nj7UO

--HG--
extra : rebase_source : 7491551b46a9fb0e8c8cba77861b01f90ea95644
2017-12-18 19:24:01 -06:00
Byron Campen [:bwc] 802d9b4a0d Bug 1425621 - Part 4: Move track event logic to JS. r=drno,jib,smaug
MozReview-Commit-ID: 8kUbYQnD3Oc

--HG--
extra : rebase_source : a1f0685c8156c75438cf57e0d55117b8a4025bc8
extra : intermediate-source : 9b756cb6bccaca473925679725688a012d4086f6
extra : source : b3f9155a0ec77f819a0a02ce798d0d0a84da0524
2017-12-20 17:00:40 -06:00
Andreas Pehrson 3ab8b1b7d2 Bug 1428098 - Do not reconfigure manually when input resolution changes. r=dminor
webrtc.org now handles this.

MozReview-Commit-ID: 8loJR1L0h1m

--HG--
extra : rebase_source : adc9ced1b2d64a04ef19e951a40a85c88856a280
2018-01-03 10:28:17 +01:00
Dan Minor 8711c98b6f Bug 1406936 - Add unittests for re-configuring VideoConduit; r=pehrsons
This adds new tests that are a subset of the existing tests for configuration.
Another option would be to use parameterized tests to get coverage of all existing
tests during reconfiguration, but I don't think the additional complexity is
justified at this point.

MozReview-Commit-ID: F28KRYaVe1B

--HG--
extra : rebase_source : fdcb1316387504240424f1041d43df5d98331380
2017-11-28 14:50:05 -05:00
Dan Minor 311a54355d Bug 1406936 - Clean up unused variables; r=pehrsons
MozReview-Commit-ID: DZtmnViblGS

--HG--
extra : rebase_source : f85697a1f7fb6d3e549b3f6663ad101b8fc020e0
2017-11-30 13:13:26 -05:00
Jean-Yves Avenard 4139ca0019 Bug 1404997 - P8. Follow coding style for members and methods. r=drno,padenot
It allows to more easily distinguish between methods from upstream webrtc.org and our code.

MozReview-Commit-ID: ILQhEAYbSmc

--HG--
extra : rebase_source : 934505afddcca9253b00c4094776c95a087058fb
2017-12-08 21:32:38 +01:00
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Nico Grunbaum 34b88025d1 Bug 1363667 - P2.1 - Fix jsep extmap unit test r=mjf
MozReview-Commit-ID: A5aqX2t5Lqu

--HG--
extra : rebase_source : ff985e6046bb1819a9489f5af4d4c316d6905005
2017-11-21 14:51:26 -08:00
Nico Grunbaum 89b0c3e5e9 Bug 1363667 - P4 - RTP Source Observer unit tests r=mjf
MozReview-Commit-ID: DuFqdReT7JD

--HG--
extra : rebase_source : 2341750f103f391b2e7903f1fed21252df2e95bb
2017-11-14 10:26:04 -08:00
Byron Campen [:bwc] 7a8dcf7887 Bug 1290948 - Part 5: TransceiverImpl and some major refactoring. r+drno r=drno
MozReview-Commit-ID: 3IBAch7xVNG

--HG--
extra : rebase_source : 7379357abe05ef043260a13faf2bcebbcd2b1d39
2017-08-23 16:12:43 -05:00
Byron Campen [:bwc] 46f6fa03a6 Bug 1290948 - Part 4: Transceivers JSEP/SDP work. r+drno r=drno
MozReview-Commit-ID: JwK3It3UA5M

--HG--
extra : rebase_source : e1a5afa85ed544ab0acac08240b6007954e289e4
2017-08-23 15:55:05 -05:00
Dan Minor 14aa323f6f Bug 1406937 - Add unittests for the video-encode path through VideoConduit; r=pehrsons
MozReview-Commit-ID: 8pxdYORXmlP

--HG--
extra : rebase_source : d19427e587230acd5df751a23696255cc5d6b1bf
2017-11-24 11:38:12 -05:00
Nils Ohlmeier [:drno] 0cc879cf44 Bug 1230759: Part 3 - changes to signaling to work with libsrtp 2.2 r=jesup
MozReview-Commit-ID: BHyoeIyQOJy

--HG--
extra : rebase_source : ec6260f390dfc4ba36c115426bd4ea24d9f0b340
2017-11-07 22:04:23 -08:00
Dan Minor e8f6af16d7 Bug 1406935 - Add unittests for ConfigureRecvMediaCodecs; r=pehrsons
MozReview-Commit-ID: BHeHPVmeBYm

--HG--
extra : rebase_source : be59d684fe8eabcb5515fc8399da7b6ed010135f
2017-11-16 14:13:23 -05:00
Dan Minor eaf37cc4c4 Bug 1406935 - Add unittests for ConfigureSendMediaCodec; r=pehrsons
MozReview-Commit-ID: 9yYxdOYmNtx

--HG--
extra : rebase_source : ee63d061fe14b6f0370283d2e0e56ea5a8873c70
2017-10-23 15:26:03 -04:00
Dan Minor 4c65912b7d Bug 1406935 - Add mocks for AudioStreams, VideoStreams and Call; r=pehrsons
MozReview-Commit-ID: AL0iudPJKED

--HG--
extra : rebase_source : a40c16fa6ffb3807912af0f7fbd5316a1b23ff66
2017-10-23 14:57:41 -04:00
Andreea Pavel 449023b47c Backed out 8 changesets (bug 1290948) for failing mochitest dom/tests/mochitest/general/test_interfaces.html r=backout on a CLOSED TREE
Backed out changeset 97a271bf671e (bug 1290948)
Backed out changeset 8ff38e646037 (bug 1290948)
Backed out changeset 314675023cd5 (bug 1290948)
Backed out changeset 1a5f090502b0 (bug 1290948)
Backed out changeset ffb6e6da955f (bug 1290948)
Backed out changeset 56c169018ceb (bug 1290948)
Backed out changeset 49878c508ce6 (bug 1290948)
Backed out changeset bbe53fb92e21 (bug 1290948)
2017-11-14 21:02:11 +02:00
Byron Campen [:bwc] 486760074a Bug 1290948 - Part 5: TransceiverImpl and some major refactoring. r+drno r=drno
MozReview-Commit-ID: 3IBAch7xVNG

--HG--
extra : rebase_source : 301dff14ffdf2252a12432968c0f309d609122c5
2017-08-23 16:12:43 -05:00
Byron Campen [:bwc] a719f6fae1 Bug 1290948 - Part 4: Transceivers JSEP/SDP work. r+drno r=drno
MozReview-Commit-ID: JwK3It3UA5M

--HG--
extra : rebase_source : 3277777ed32da0e8c5baaa2a73e56bc36c8becbd
2017-08-23 15:55:05 -05:00
Michael Froman 7eb5cd2f86 Bug 1413709 - add tests to detect improper ice restart by answer. r=bwc
Adding tests that would have shown the issue fixed in Bug 1405940.
If the answer during a renegotiation has modified ICE credentials,
it should cause an error.  These tests check for that error.

MozReview-Commit-ID: 9u8GGpslDdK

--HG--
extra : rebase_source : 6b204cefa96e95abd61d9a57ddd643dd81a41254
2017-11-01 11:56:35 -05:00
Sylvestre Ledru d60d69e2cb Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
MozReview-Commit-ID: DjDkL20wRg0

--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
Dan Minor 20baeb4811 Bug 1404039 - Add a unittest for VideoConduit getting a signal to reduce quality due to load or bandwidth; r=pehrsons
MozReview-Commit-ID: 5J3wINSnStR

--HG--
extra : rebase_source : 0c9518c0501ca579ed9d948bde63159c21d9657c
2017-10-18 15:19:21 -04:00
Kris Maglione 9184710ae5 Bug 1404198: Part 2g - Switch to NS_NewTimer* in media. r=njn
MozReview-Commit-ID: 3ydSj5HfYzZ

--HG--
extra : rebase_source : 6d38da71d3c82b900b46e69c12ceb81202dd965d
2017-10-15 23:14:33 -07:00
Tom Ritter 701ee70a22 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : fe434db73a8da686391462c12b91648348abcdc9
2017-10-09 15:01:48 -05:00
Sebastian Hengst ee63f2e30a Backed out changeset 0317bcff40bc (bug 1406687) for build bustage at testing/gtest/gtest/src/gtest.cc:3871: 'Unused' was not declared in this scope. r=backout 2017-10-09 18:52:39 +02:00
Tom Ritter 22d2cdf063 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : c54b129c6815096035e262322f40aa0884b1ae56
2017-10-09 00:26:16 -05:00
Byron Campen [:bwc] 0c94395051 Bug 1377299: Add packet dump hooks r+drno r=drno,smaug
MozReview-Commit-ID: Jr7n49OOduG

--HG--
extra : rebase_source : 8880b8b6bf842f996f99e86fc45510e59e70a665
2017-06-29 19:14:06 -05:00
Michael Froman 5ea6a54fa2 Bug 1402495 - changes to support MID in audio packets. r=drno
MozReview-Commit-ID: BivuIsgNLYI

--HG--
extra : rebase_source : a5b08a2dd4c8c19985bd85f77679e0300c15589f
2017-09-15 13:55:17 -05:00
Dan Minor 5244e5c40e Bug 1401540 - Allow empty BUNDLE groups; r=bwc
MozReview-Commit-ID: 9IIwUnaMZ1m

--HG--
extra : rebase_source : 87729e9303fe1220f53db2f203efc99d628e020a
2017-09-27 12:49:19 -04:00
Dan Minor 30d76b125c Bug 1382182 - Build jsep using moz.build; r=ted,jesup
MozReview-Commit-ID: 9UhlBZi0yO0

--HG--
extra : rebase_source : 7ad69af2dfb61ad88fc5f87f4d17a09abbf23edc
2017-07-20 11:24:08 -04:00
Dan Minor 48f0f26faf Bug 1398820 - Do not add duplicate rtp extensions; r=bwc
MozReview-Commit-ID: G6wLXW7z05d

--HG--
extra : rebase_source : e90ca378082a899a2cb7961121b6822e2ba2a72c
2017-09-14 15:55:33 -04:00
Dan Minor ceaff80d1d Bug 1393687 - Use VideoAdapter to handle max-fs; r=jesup
This uses the VideoAdapter to handle the max-fs constraint rather than
attempting to calculate and enforce it manually within the VideoConduit.
The resolution is taken as the small of the max-fs constraint and the
latest request from the video sink.

The old unit tests for max-fs and max-fr are removed as the size
calculation has now been delegated to the VideoAdapter and the tests do
not verify whether or not video has actually been scaled.

MozReview-Commit-ID: 18khmiNageR

--HG--
extra : rebase_source : 9d4c80ab5d426721c5c409d81130f2a586c862ad
2017-09-11 13:43:32 -04:00
Sebastian Hengst e4a2f44531 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Nils Ohlmeier [:drno] 4ba00c2a5a Bug 1396974: make tests ensure no bundle-only is present in inactive m-swctions. r=bwc
MozReview-Commit-ID: 5pnTygvwTSy

--HG--
extra : rebase_source : 4856491656e8503412a42cafbb8f9af2814a00f3
2017-09-08 13:05:13 -07:00
Randell Jesup 62c5b9fbfe Bug 1396107: switch to using the same audio input method upstream webrtc.org does r=dminor,padenot 2017-09-12 10:14:41 -04:00
Nils Ohlmeier [:drno] 776005a2ec Bug 1392745: verify mid presence in inactive m-section r=mjf
MozReview-Commit-ID: 7XISDzZCirr

--HG--
extra : rebase_source : a786be541a31edac05647fe2ee4d0c63c982d3d0
2017-08-22 14:22:52 -07:00