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

15854 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson b150866dce Bug 1571667 - Memoize capabilities in MediaEngineRemoteVideoSource. r=jib,dminor
Differential Revision: https://phabricator.services.mozilla.com/D41241

--HG--
extra : moz-landing-system : lando
2019-08-28 08:39:50 +00:00
fbcbb8bd8b Bug 1573381 - "gtest MediaMIMETypes.MediaCodecs fails: Bug in MediaCodecs::ContainsPrefix()". r=bvandyk
--HG--
extra : rebase_source : d27b22af894d26dd7c46f90e6e83c831c54e3985
2019-08-13 00:50:00 +03:00
Andreas Pehrson a6e5ed4ab7 Bug 1573536 - Allow gUM with audio:{mediaSource:audioCapture} and video:true simultaneously. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42531

--HG--
extra : moz-landing-system : lando
2019-08-26 14:54:22 +00:00
Andreas Pehrson b0320d7a8a Bug 1573536 - Add crashtest. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42530

--HG--
extra : moz-landing-system : lando
2019-08-27 07:36:40 +00:00
alwu c5413ef080 Bug 1572939 - part2 : remove editable content tests. r=masayuki
As we will allow user inputs on editable content to activate document, we should remove them from black list test.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 04:46:13 +00:00
Chun-Min Chang ce631c35ff Bug 1523920 - P4: Move the state from SpeechSynthesisUtterance to nsSpeechTask. r=eeejay
It would be easier to reuse the utterance if it's stateless. The state
could still be tracked by moving from SpeechSynthesisUtterance to
nsSpeechTask, which is the place to change the state in original
implementation. By removing state in utterance, we don't need to check
the state of utterance when it's pushed into the speech queue.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:37:02 +00:00
Chun-Min Chang a6590ebebf Bug 1523920 - P2: Destroy AudioChannelAgent when error occurs. r=eeejay
When error occurs, there is no need to use audio.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:11:27 +00:00
Chun-Min Chang cd92fea69f Bug 1523920 - P1: Align the LOG policy in the nsSpeechTask. r=eeejay
All the LOG are placed in Dispatch*Impl except DispatchErrorImpl. Move
the LOG from DispatchError to DispatchErrorImpl to align the LOG policy
in the nsSpeechTask.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:11:17 +00:00
Andreas Pehrson 3321f57840 Bug 1573524 - In MediaRecorder::MediaStreamReady, get the graph rate from a track that's guaranteed live. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42525

--HG--
extra : moz-landing-system : lando
2019-08-26 07:48:23 +00:00
Csoregi Natalia 77448b7aee Bug 1554808 - Disabled test_streams_element_capture.html on all platforms. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D43235

--HG--
extra : moz-landing-system : lando
2019-08-23 17:56:52 +00:00
Gerald Squelart e46f3b6c3a Bug 1571648 - Only allow DecoderDoctorLogger on Nightly - r=drno
Differential Revision: https://phabricator.services.mozilla.com/D43228

--HG--
extra : moz-landing-system : lando
2019-08-23 20:06:33 +00:00
Kashav Madan 508a24d1a6 Bug 1562264 - Update skip-if annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41763

--HG--
extra : moz-landing-system : lando
2019-08-23 16:05:08 +00:00
Christian Holler a5c67a2bba Bug 1567170 - Avoid thread leak in media fuzzing target. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D41719

--HG--
extra : moz-landing-system : lando
2019-08-22 10:29:29 +00:00
Andrew McCreight 62bd52a17f Bug 1575343, part 1 - Avoid a gratuitous string copy by calling the nsAString overload of GetCallingLocation. r=smaug
The nsAString overload of GetCallingLocation directly converts the
original source file name string into an nsAString. A number of
callers that want the source file name in an nsAString are calling the
nsACString overload of GetCallingLocation, then calling
NS_ConvertUTF8toUTF16. This results in an extra intermediate copy of
the original string data.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:53:49 +00:00
Ryan Alderete 4b595ec1a8 Bug 1570158 - Add proxy information to candidates table in about:webrtc r=bwc,baku
This adds a field to about:webrtc which indicates whether an associated
candidate is behind a proxy or not.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 10:04:45 +00:00
Alastor Wu 2e47becfef Bug 1571908 - part6 : add debug logs. r=heycam
Add debug logs to show which mode we're using to adjust cue's position.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:27 +00:00
Alastor Wu b43ac32ce9 Bug 1571908 - part4 : remove redudant function. r=heycam
We have already had a exactly same function, so can remove a redundant one.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:26 +00:00
Alastor Wu 139cf6cc13 Bug 1571908 - part3 : optimize the result of adjusting position for cues with 'snapToLines=false'. r=heycam
When adjusting cues with `snapToLines=false`, first we would generate an array with all different axises which we would use to move cue on the specific direction.

However, for the different writing directions, we should have different priority for the moving directions.
For example, if the wriring direction is `horizontal`, which means cues will grow from the top to the bottom, then moving cues along the `y` axis should be more important than moving cues along the `x` axis, and vice versa for those cues growing from the left to right, or from the right to the left.

After decided the moving direction, then we have to decide the moving offset. Now we use line box's Bsize as a basic moving unit.

Moving cues, however, by such as large distance as a time would cause too many redudant space between cue boxes, which doesn't provide a good enough visual arrangement result. Therefore, we divide the Bsize by a factor, which can control the granularity of the moving unit and can still preverse a reasonable space between boxes. That can provide way better visual result than the one we had used before, and still has certain good performance comparing with moving 1px at a time.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:26 +00:00
Alastor Wu f5fee479ba Bug 1571908 - part2 : return null if we can't place the cue box inside the video rendering area. r=heycam
When adjusting the position of the cue box, if we can't find a proper place to display the cue within the video rendering area, we should return `null` and not to show it on the screen.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:25 +00:00
Alastor Wu 80cb50a3a9 Bug 1571908 - part1 : use correct width and height to compute position percentage. r=heycam
When calculating position percentage, `top` should divide the height of the video rendering area, and `left` should divide the width of the video rendering area.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:31 +00:00
Alastor Wu 9bd4a96457 Bug 1568101 - part5 : implement encoding. r=jolin,jya
In order to encode video frame, we have to convert `webrtc::VideoFrame` to gecko's video data, and then send this YUV-based video data to the encoder.

The encoder won't return an encoded frame everytime when we call its `encode()`, so we have to wait until there are valid samples added to `mEncodedFrames`.

Then, convert the `MediaRawData` to `webrtc::EncodedImage` and provide an NAL entries list to indicate where the NALs are in the encoded bytes stream and how large they are. We would send those data back
to the consumer of the encoder via calling a callback function `OnEncodedImage()`.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 07:41:33 +00:00
Alastor Wu 9fd259ee61 Bug 1568101 - part1 : implement a basic interface for WebrtcMediaDataEncoderCodec. r=jolin
Implement a basic interface for `WebrtcMediaDataEncoder`, which will only be used on OSX for encoding h264 only.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 20:58:06 +00:00
John Lin 81f1bc6269 Bug 1571127 - p2: enhance unit test. r=jya
- animating input
- minor code cleanup

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

--HG--
extra : moz-landing-system : lando
2019-08-19 16:50:19 +00:00
John Lin 0951fc6fdd Bug 1571127 - p1: retain input image until CVPixelBuffer is released. r=jya
Input could be released during encoding if not retained.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 12:27:12 +00:00
Bryce Seager van Dyk 6becef12e3 Bug 1571081 - Make MediaKeys correctly specify a NS_INTERFACE_MAP_ENTRY for nsISupports. r=mccr8
Bug 1522547 overlooked the need for specifying map entries for both nsISupports
and nsIDocumentActivity and only had the latter. This changeset adds the missing
nsISupports case.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 21:45:41 +00:00
Mike Hommey 0058f2a284 Bug 1531309 - Don't use __PRETTY_FUNCTION__ or __FUNCTION__ as format strings. r=sylvestre
__PRETTY_FUNCTION__ and __FUNCTION__ are not guaranteed to be a string
literal, and only string literals should be used as format strings. GCC
9 complains about this with -Werror=format-security.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:49:00 +00:00
Andreas Pehrson 735f1e66eb Bug 1571705 - Allow allocating an input port from a destroyed source. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D42341

--HG--
extra : moz-landing-system : lando
2019-08-19 16:53:44 +00:00
Andreas Pehrson 49244b4fad Bug 1571705 - Clarify mInputStream guarantees in MediaStreamTrack. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D41508

--HG--
extra : moz-landing-system : lando
2019-08-19 19:26:25 +00:00
Ciure Andrei 2443b6b31a Backed out 2 changesets (bug 1571705) for causing liux debug gtest asertion failures CLOSED TREE
Backed out changeset 3d33cae2d9f9 (bug 1571705)
Backed out changeset decff7a230b7 (bug 1571705)
2019-08-19 19:48:25 +03:00
Bryce Seager van Dyk 6924e0a5d3 Bug 1573976 - Undef Status in GMPMessageUtils to avoid bustages in Linux unified build. r=dminor
If Status is defined (X11 headers define it as int), it ends up busting the
Status enum used in the Widevine headers. Avoid this by undeffing it before
including headers.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 17:28:09 +00:00
Bryce Seager van Dyk f695322b92 Bug 1573976 - Update hdcp version strings used in GetStatusForPolicy. r=dminor,alwu
These strings are detailed at
https://github.com/WICG/hdcp-detection/blob/master/explainer.md, and were
changed since the original implementation of this feature.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 17:17:32 +00:00
Bryce Seager van Dyk b692482432 Bug 1573976 - Fix GetStatusForPolicy handling of unrecognized values. r=dminor,alwu
GetStatusPolicy should not treat unrecognized values as if they were no hdcp
policy. A trivial example is that if we do not recognize a newer hdcp string,
say "2.3", then we should not query if the CDM supports this policy as if it
were no hdcp.

This patch means that we surface and error to JS if we do no recognize an hdcp
string.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 17:47:21 +00:00
Andreas Pehrson 7f846ebc2b Bug 1571705 - Allow allocating an input port from a destroyed source. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D42341

--HG--
extra : moz-landing-system : lando
2019-08-19 14:07:23 +00:00
Andreas Pehrson 2c2d552b7b Bug 1571705 - Clarify mInputStream guarantees in MediaStreamTrack. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D41508

--HG--
extra : moz-landing-system : lando
2019-08-19 12:46:43 +00:00
Andreas Pehrson c0bcfa05f3 Bug 1411152 - Serialize MediaRecorder::Session::GatherBlob calls. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D41591

--HG--
extra : moz-landing-system : lando
2019-08-19 13:54:59 +00:00
Andrew McCreight c749e75350 Bug 1574627 - Fix some "disbaled" typos. DONTBUILD r=njn
Differential Revision: https://phabricator.services.mozilla.com/D42376

--HG--
extra : moz-landing-system : lando
2019-08-16 23:23:05 +00:00
Razvan Maries 595de881b0 Backed out 2 changesets (bug 1562264) for causing Android perma fails. CLOSED TREE
Backed out changeset b66eec7d2e55 (bug 1562264)
Backed out changeset 445eadfd8ce3 (bug 1562264)
2019-08-17 02:24:40 +03:00
Kashav Madan f74ee91093 Bug 1562264 - Update skip-if annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41763

--HG--
extra : moz-landing-system : lando
2019-08-16 17:31:52 +00:00
Dan Minor e6817b0e4d Bug 1573541 - Fix assertion failure in PannerNode.h; r=karlt
This removes the call to SetThreeDPointParameter which is no longer necessary
now that we're using AudioParams for position and orientation. Doing the
conversion can cause an assertion failure when the AudioParams have a scheduled
future value.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 21:17:36 +00:00
Sylvestre Ledru 37db1730c6 Bug 1573833 - Add missing & and parentheses r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D41957

--HG--
extra : moz-landing-system : lando
2019-08-16 08:11:39 +00:00
Markus Stange 0d99ec9a50 Bug 1573668 - Use CFTypeRefPtr for managing the IOSurfaceRef in MacIOSurface. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D41843

--HG--
extra : moz-landing-system : lando
2019-08-14 14:53:45 +00:00
Markus Stange c31b8d8a28 Bug 1573668 - Use the real IOSurfaceRef type in MacIOSurface. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D41841

--HG--
extra : moz-landing-system : lando
2019-08-14 14:50:25 +00:00
Gabriele Svelto 14db2c37b8 Bug 1571711 - Factorize crash handling out of the various process IPC classes r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D41657

--HG--
extra : moz-landing-system : lando
2019-08-15 12:06:51 +00:00
Perry Jiang f399d514b9 Bug 1231213 - Properly declare some dependencies so everything will compile with additional files. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26158

--HG--
extra : moz-landing-system : lando
2019-08-15 17:25:44 +00:00
Bogdan Tara f326b67e0e Backed out changeset c60ee628dd0e (bug 1571711) for RemoteSandboxBroker related bustages CLOSED TREE 2019-08-15 01:50:01 +03:00
Gabriele Svelto d888c0a6b5 Bug 1571711 - Factorize crash handling out of the various process IPC classes r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D41657

--HG--
extra : moz-landing-system : lando
2019-08-13 21:43:00 +00:00
Dorel Luca 73975f1d28 Backed out 22 changesets (bug 1231213) for Browser-chrome failures on /workers/remoteworkers/RemoteWorkerChild.cpp
Backed out changeset 7e09ad9ceea6 (bug 1231213)
Backed out changeset a275eb0b1a19 (bug 1231213)
Backed out changeset 906b80778539 (bug 1231213)
Backed out changeset 6a40ab6852cb (bug 1231213)
Backed out changeset 216591953f97 (bug 1231213)
Backed out changeset 1de357bc1921 (bug 1231213)
Backed out changeset 8e3fedf6502a (bug 1231213)
Backed out changeset 1b9a8b022fce (bug 1231213)
Backed out changeset 85df1959eb98 (bug 1231213)
Backed out changeset 666bf4260046 (bug 1231213)
Backed out changeset 0b03a19a6dc1 (bug 1231213)
Backed out changeset 11f010e6d6e7 (bug 1231213)
Backed out changeset 6ed55807374f (bug 1231213)
Backed out changeset 395062aef2ec (bug 1231213)
Backed out changeset bacf8499ba7b (bug 1231213)
Backed out changeset bf5d60c7a85a (bug 1231213)
Backed out changeset cd434b787ce6 (bug 1231213)
Backed out changeset ee4565104217 (bug 1231213)
Backed out changeset 581653ef33dd (bug 1231213)
Backed out changeset 2d5628a0e52d (bug 1231213)
Backed out changeset 3449c2eba4c6 (bug 1231213)
Backed out changeset ae221b628899 (bug 1231213)
2019-08-15 01:04:46 +03:00
Tarek Ziadé 03685b73e1 Bug 1556637 - Replace all mozDumpDebugInfo calls r=jya,jib
Replaces mozDumpDebugInfo with mozRequestDebugInfo

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

--HG--
extra : moz-landing-system : lando
2019-08-14 20:32:31 +00:00
Bryce Seager van Dyk c1bef1695c Bug 1573902 - Fix CDM Init return value name in IPDL. r=dminor
The return value for PChromiumCDM::Init was unused when the IPDL change was
first made. However, that quickly changed, but I failed to update the IPDL to
reflect that the value is now used to propagate the value that CDM interface 10
Widevine modules give us via the OnInitialized callback.

This patch fixes the IPDL to reflect that. The changes in C++ code have already
been made, so no change needed there.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 19:35:07 +00:00
Markus Stange 979634bacb Bug 1565717 - Remove all dynamic loading of IOSurface functions. r=mattwoodrow
These functions were made public in 10.6. The oldest version we support is 10.9.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 11:06:22 +00:00