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

5311 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote ac3e6bddb4 Bug 1382099 - Remove MOZ_WIDGET_GONK from media/, uriloader/, widget, /xpfe/. r=snorp.
--HG--
extra : rebase_source : 75fe5b8320d52c7316ca547f706b64f30250d28c
2017-07-24 10:08:55 +10:00
Sebastian Hengst f16a7f8371 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4EWdTlEncz7
2017-07-22 11:38:42 +02:00
Wes Kocher d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Wes Kocher 051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Sebastian Hengst 367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Wes Kocher 61354cf6c0 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 9pPsy8McMun
2017-07-21 18:18:35 -07:00
Sylvestre Ledru 7c0ae251cd Bug 1381253 - Remove redundant control flow declarations rs=ehsan
MozReview-Commit-ID: FFxP4aMCbOL

--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Michael Froman ab82f57025 Bug 1383272 - fixing incorrect comparison in RtpStreamId::Parse(...) r=bwc
When adding the length check for parsing RtpStreamId, I incorrectly used
the '<=' operator instead of the '>' operator.

MozReview-Commit-ID: 46XZBqWxkBc

--HG--
extra : rebase_source : 6290aeed489770070308aafacad01ce5b63a60a1
2017-07-21 15:54:11 -05:00
Nils Ohlmeier [:drno] e49209f98a Bug 1196974: remove mozDontOfferDataChannel from code and test. r=bwc
MozReview-Commit-ID: 1CW3TaSMVZw

--HG--
extra : rebase_source : dc0e069e07d28dc53c4ba57954491bb5a663b518
2017-07-18 14:24:33 +02:00
Nils Ohlmeier [:drno] b047050729 Bug 1372467 - Stop at end of line after unknown attribute. r=bwc
MozReview-Commit-ID: 5tg6gKbQfHy
2017-06-12 22:45:35 -07:00
Nils Ohlmeier [:drno] a4ec39d147 Bug 1372383 - Improve SDP parsing. r=bwc
MozReview-Commit-ID: EJOvtMjQsav
2017-06-12 19:36:58 -07:00
Jan-Ivar Bruaroey 5f43d20a48 Bug 1379392 - Avoid double-delete on failure to init VideoCapture module. r=mchiang
MozReview-Commit-ID: I9p2NVzqc8
2017-07-19 16:14:47 -04:00
Ryan VanderMeulen d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Sylvestre Ledru 8444ac4824 Bug 1383020 - Add braces to avoid some -Wdangling-else warnings r=jesup
ASSERT_NE can be on several lines

MozReview-Commit-ID: 1SfOdXmeXAf

--HG--
extra : rebase_source : cb0126ee0646192e110edb639858dce665acd093
2017-07-21 13:13:42 +02:00
Chris Pearce c4af620223 Bug 1381720 - Update content_decryption_module.h. r=gerald
Update to chromium revision 6e4c388c0117fe408b66fbede91081fb1018c5fe.

Includes cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions,
HDCP definitions, and 10 and 12 bit image format definitions.

MozReview-Commit-ID: bYH3OBSzuT

--HG--
extra : rebase_source : cfc291b3452c2154ecd1ca16a2ece0a5a42f0b5e
2017-05-29 17:14:26 +12:00
Michael Froman cf76a1f916 Bug 1380430 - Backport current webrtc.org RtpHeaderExtension handling changes and RtpStreamId implementation. r=drno
The new RtpHeaderExtension handling works better with variable length
header extensions, and the new RtpStreamId implementation takes
advantage of it.  This is useful to us because we'll be able to add
MID support using the same mechanism.

MozReview-Commit-ID: 5VYQYvhD5gr

--HG--
extra : rebase_source : 900126e0b136343a2767715b12d906b1dbbabe36
2017-07-12 13:44:40 -05:00
Ryan VanderMeulen a064d6dbfc Merge m-c to inbound. a=merge 2017-07-18 13:00:03 -04:00
Dan Minor 817491807e Bug 1379836 - Fix AEC Logging; r=jesup
This enables apm logging by setting the apm_debug_dump variable in gyp.mozbuild.
Prior to this change, some files were including apm_data_dumper.h with logging
enabled and some were not.

This also removes the AEC* C interface and calls into webrtc::Trace directly.
Whatever historical reasons for having a C interface into these calls no
longer seems to apply. In addition reserving a buffer for the base file name
and then ensuring it was null terminated caused an ASAN "stack-buffer-overflow"
while testing. This was because it was not handling an empty base file
name properly. This would not normally happen if AEC logging was enabled through
about:webrtc, but it still seems safer to use std::string.

MozReview-Commit-ID: Ikz5xO74syA

--HG--
extra : rebase_source : 8e0c59117135fadb75f4a7e6be5588af1404533d
2017-07-12 16:49:15 -04:00
Jean-Yves Avenard 305c960af0 Bug 1379190: P3. Remove omx-plugin 3rd party libs. r=cpearce
They weren't used on android API < 16.

MozReview-Commit-ID: F6WHG9ApGdC

--HG--
extra : rebase_source : be3a222cb27d081b5e73d660602706f226088ffd
2017-07-13 13:04:05 +02:00
Wes Kocher b1c83de1b7 Backed out 2 changesets (bug 1381720) for linux build failures in content_decryption_module.h a=backout
Backed out changeset e4d9cb334352 (bug 1381720)
Backed out changeset 69f177823866 (bug 1381720)

MozReview-Commit-ID: DctOanJkHh7
2017-07-17 23:21:49 -07:00
Alex Chronopoulos 7712d5e660 Bug 1381015 - Update cubeb from upstream to a329c6a. r=kinetik
MozReview-Commit-ID: Gfutv4Tnvix

--HG--
extra : rebase_source : 219433f6d6008814f8ce2839700a418cf0fda711
2017-07-17 11:48:15 +03:00
Chris Pearce 9901d75b55 Bug 1381720 - Update content_decryption_module.h. r=gerald
Update to chromium revision 6e4c388c0117fe408b66fbede91081fb1018c5fe.

Includes cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions,
HDCP definitions, and 10 and 12 bit image format definitions.

MozReview-Commit-ID: bYH3OBSzuT

--HG--
extra : rebase_source : d062d233c9a2b59aa5ae5c6e0584ed13b7c83e6e
2017-05-29 17:14:26 +12:00
Alfredo Yang 7c75a615c7 Bug 1379047 - treat JPEG as unknown codec since jpeg video track is not supported. r=kinetik
MozReview-Commit-ID: 1ufVK3uRYY3

--HG--
extra : rebase_source : 2d5133d2e84426c41df5b319ae3fdfa7d8f1ced9
2017-07-11 15:19:44 +08:00
Jean-Yves Avenard c46ffaa380 Bug 1355048: P8. Implement WebrtcMediaDataDecoderCodec. r=jesup
This provides the abilty to use the PlatformDecoderModule interface, including hardware accelerated ones.

Code is disabled by default via the media.navigator.mediadatadecoder_enabled preference.

MozReview-Commit-ID: 7bWJXEK8CoO

--HG--
extra : rebase_source : df3801c02d3ea6e4c120a4836c4893e18e37d694
2017-07-01 01:51:00 +02:00
Jean-Yves Avenard 3db14f695e Bug 1355048: P7. Use Image's dimensions when available. r=jesup
Do not only rely on the dimensions retrieved via FrameSizeChange. Both the webrtc::VideoFrameBuffer object and layers::Image know about their dimensions.

We still need to keep the FrameSizeChange mechanism so that the attached media element know about its size before a frame is ready to be displayed.
We will revisit this problem later.

Additionally, don't assume that the frame's stride is the same as the frame's width. It may be true with the software decoders currently used, but it's not the norm.

MozReview-Commit-ID: BTY8lImoUbc

--HG--
extra : rebase_source : 83b07fe030bc19de89d5b5cc52a561fcf096be4d
2017-07-01 01:00:19 +02:00
Jean-Yves Avenard 33898e2e5d Bug 1355048: P6. Don't use unnecessary reentrant monitor. r=jesup
The methods using it aren't re-entrant. A mutex will do.

MozReview-Commit-ID: TIAL7Itp5A

--HG--
extra : rebase_source : 28e106b0bd7026a36b746d30b57896a5ed74bfa7
2017-07-01 00:01:55 +02:00
Jean-Yves Avenard 3b995b5876 Bug 1355048: P5. Remove RenderVideoFrame virtual method. r=jesup
It isn't used.
Amend documentation

MozReview-Commit-ID: Bg8rqzL034R

--HG--
extra : rebase_source : fd4edb87f64fb6b19e9bde612535462ad457a1af
2017-06-30 23:59:42 +02:00
Jean-Yves Avenard 7497341e3e Bug 1355048: P4. Remove unnecessary test, and make better use of monitor. r=jesup
MozReview-Commit-ID: F5qu7e6opZX

--HG--
extra : rebase_source : b2caf192904b5ead2a6711615938ce298fa564c0
2017-06-30 23:41:10 +02:00
Jean-Yves Avenard b5bc435499 Bug 1355048: P3. Remove ImageHandle. r=jesup
This object isn't used and we can use the NativeHandle interface instead to pass this information.

MozReview-Commit-ID: ApMeQfJtZNJ

--HG--
extra : rebase_source : d9ea002a17eb712fb6b9c221739ff4da467fd04f
2017-06-30 20:46:32 +02:00
Jean-Yves Avenard e24532a226 Bug 1355048: P2. Remove OMX h264 decoder. r=jesup
This platform is no longer support, and it could never have worked anyway.

MozReview-Commit-ID: 8qkVqQB07l8

--HG--
extra : rebase_source : 07d7f87cd133580e5e5461f7910aa848922f973a
2017-06-30 20:31:18 +02:00
Jean-Yves Avenard ede50177a8 Bug 1355048: P1. Have WebrtcMediaDataDecoder placeholder. r=jesup
The code currently does nothing.

MozReview-Commit-ID: 6C0sLKIoJEV

--HG--
extra : rebase_source : d297494cdb3589e45bcf28b3ee9d5fac9601b200
2017-04-10 20:40:31 +02:00
Alfredo Yang 3c2e8f57fc Bug 1380468 - update rust parser. r=kinetik
MozReview-Commit-ID: CerH4JHFIP

--HG--
extra : rebase_source : 1f73e9cdb59eddbb4d3913186da75ea13c940466
2017-07-14 10:36:11 +08:00
Alfredo Yang 05427db62a Bug 1380468 - don't fallback when table size is too large. r=kinetik
MozReview-Commit-ID: 3oLLtIm8XqO

--HG--
extra : rebase_source : 840fe48d7a3640b30c6def92c0949df4fa2dd207
2017-07-14 10:34:52 +08:00
Wes Kocher ee45f814bb Merge m-c to autoland, a=merge
MozReview-Commit-ID: GOb2bgdUd36
2017-07-14 17:27:36 -07:00
Andrew McCreight cf00cf911b Bug 1379786, part 2 - Use nsContentUtils::GetSystemPrincipal in various places. r=mrbkap
MozReview-Commit-ID: KPXAqKeX4gI

--HG--
extra : rebase_source : 44fd734e7c5bbaba48bb25b882acc74cf0b81fb5
2017-07-10 14:24:54 -07:00
Ryan VanderMeulen 019bd042fc Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
Andrea Marchesini 50f9ea47a3 Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
Alex Chronopoulos cfc97eef59 Bug 1380233 - Update cubeb pulse rust backend from upstream to 3b8cfba. r=kamidphish
MozReview-Commit-ID: CKfpyKaqLSe

--HG--
extra : rebase_source : 7675f4a21e45465939b0457e5ed34f88985e53fb
2017-07-13 13:07:32 +03:00
Alex Chronopoulos 90ea6c6cf8 Bug 1380233 - Update cubeb from upstream to bb18984. r=kinetik
MozReview-Commit-ID: FU0a9BWcOoN

--HG--
extra : rebase_source : e40749d95d6928e12a1d5e88c082b3a167e18924
2017-07-13 13:04:52 +03:00
Nils Ohlmeier [:drno] 5d8dce95ce Bug 1264479: added unit tests for [current|pending][Local|Remote]Description. r=bwc
MozReview-Commit-ID: 9KFsvkUtN4D

--HG--
extra : rebase_source : a99eec98ecfba16e4a9795d2dcb2e9a59c6cb7b5
2017-07-02 10:55:22 -07:00
Nils Ohlmeier [:drno] 0130c59aaf Bug 1264479: added implementation for [current|pending][Local|Remote]Description. r=bwc
MozReview-Commit-ID: AAnuN3YRhFH

--HG--
extra : rebase_source : 8b68125b5073783720fd5007973e4fad638698a9
2017-06-30 01:19:19 -07:00
Dan Minor d2e8774b67 Bug 1378412 - Fix build error on Linux 32 bit due to a warning in task_queue_libevent.cc with clang 4.0; r=jesup
MozReview-Commit-ID: 5GW5CJMV7V5

--HG--
extra : rebase_source : df946b6a343a9b2b57224a62ad01c43a21337a33
2017-07-06 09:48:28 -04:00
Chris Pearce 2d16a23835 Bug 1351124 - Detect MP4 PSSH boxes in MOOF boxes and dispatch those in 'encrypted' events to content. r=jya
We detect when a PSSH is contained in a MOOF and stash them in the
mp4_demmuxer::Moof object.  When the mp4_demuxer::SampleIterator returns a
sample, we check whether it's the first sample from its MOOF, and if so, we
attach any PSSH boxes from that MOOF to the sample.  The TrackBuffersManager
checks samples upon demux, to see whether they have any EME init data attached,
and if so dispatches thoses to the HTMLMediaElement in 'encrypted' events.


MozReview-Commit-ID: F8GobKOr96F

--HG--
extra : rebase_source : 5366f1008979605aa8fc80216cd1d9cc2eefd346
2017-07-12 22:07:15 +12:00
Dan Minor 0503694d4f Bug 1328169 - Enable mediaconduit_unittests again; r=jesup
This removes the disabled TestDummyVideoWithTransport. It was disabled because
it was too flaky to run in automation. It is now broken locally as well due to
threading changes. Given that we can test whether the VideoConduit sends video
well enough in mochitests, I don't see any reason to invest time in fixing it
here, given that it is unlikely to work well in automation anyway.

This also rewrites the MaxFs tests to avoid sending a frame as that results in
a shutdown hang when run in automation.

I have checked that the TestDummyAudioWithTransport continues to work locally,
but I've left it disabled.

MozReview-Commit-ID: AmmUuATxAJa

--HG--
extra : rebase_source : 6416dfff78bc56d0fde131fd1eee40a7dfd597d5
2017-04-04 16:01:28 -04:00
Ryan VanderMeulen dec7bdc30e Merge m-c to inbound. a=merge 2017-07-14 09:52:26 -04:00
Dan Minor 112117877f Bug 1379743 - Recalculate stride when scaling desktop capture; r=jesup
Currently we calculate the stride prior to calculating the scaled dimensions
which results in garbage video when scaling the input frame. This recalculates
the stride based upon the scaled dimensions.

MozReview-Commit-ID: BwOlFwzqdco

--HG--
extra : rebase_source : df9aab6dea81055ca557ba9ea0a9700f7347f389
extra : amend_source : 79e14700aeb5975f6303bc021d62c7f322d298db
2017-07-11 11:55:19 -04:00
Ryan VanderMeulen 5ea055c5ca Bug 1379663 - Update libjpeg-turbo to version 1.5.2. r=jrmuizel
--HG--
extra : rebase_source : 919c1758fadeb4ef83c760d3f9a1c5db50f61529
2017-07-13 20:12:47 -04:00
Christian Holler 8906b9f06b Bug 1379258 - Build webrtc/signaling code with coverage for LibFuzzer. r=gps
MozReview-Commit-ID: 16tpcWWImdv

--HG--
extra : rebase_source : 9a73da4b7ad50f1f6c120e69e99a130b94d87513
2017-07-07 20:43:59 +02:00
Alfredo Yang 63f786c8c7 Bug 1378607 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: DzZsShTgik3

--HG--
extra : rebase_source : e226b525f11b608246811aa253a77f63fe47a799
2017-07-07 10:57:42 +08:00