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

5102 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 08dd28ea34 Bug 1369967 - Remove one use of a stack-allocated buffer and fix another buffer's size. r=jesup
Two things here:
- The default stack size of the thread pool is not very big, it's better to
stick the buffer we need on the object.
- There was a unit mismatch between bytes and samples. This changes the name to
make the unit more obvious, and fixes its usage by dividing by the sample size.

MozReview-Commit-ID: 19bbS6iGvTw

--HG--
extra : rebase_source : bb5c2c074b8c1c3d69e002c8d82f4f72cc57582d
2017-06-05 11:42:43 +02:00
Jean-Yves Avenard fe9bd75acb Bug 1367128: P2. Add methods to trim index. r=gerald
The MoofParser's used by the MP4Demuxer, can grow very large as it keeps adding new tables and is never reset.

Once we have demuxed all data present in the MP4 media segment, we no longer require the samples table for that media segment and we can drop it from the index.

Unfortunately. some websites (in particular some using live video) use media segments containing a single sample in order to (incorrectly) reduce latency. While this is a very bad approach from a performance perspective it does happen in the wild.

MozReview-Commit-ID: I66jxcScmKM

--HG--
extra : rebase_source : d0029b74df94b92dc0a115c77f6e560b30e5ed5c
2017-06-02 21:15:10 +02:00
Jean-Yves Avenard 1e3d2193d7 Bug 1367128: P1. Remove unused member. r=alwu
MozReview-Commit-ID: 1SQaAdePmyf

--HG--
extra : rebase_source : 41418340e20f42bf6ff669a02d43ab0b4a3ee2fa
2017-06-02 18:07:36 +02:00
Gerald Squelart 7e4d1255aa Bug 1369326 - Make mp4_demuxer::ResourceStream use a MediaResourceIndex - r=cpearce
Access the MediaResource through a MediaResourceIndex, which brings caching
reads (and therefore can avoid some of the repeated locking and IOs from
consecutive read operations).

MozReview-Commit-ID: Crk6ZgLWdw8

--HG--
extra : rebase_source : 9cc8c3577747829e8bd5931e9f48c782d6423fe6
2017-05-31 18:17:37 +12:00
Masatoshi Kimura a39099bca1 Bug 1166955 - Stop including nsAutoPtr.h from BasePin.cpp. r=jesup
MozReview-Commit-ID: CCvJyVmH1JI

--HG--
extra : rebase_source : 72cf22b38f7c4d3ef5c315351f0eca942345b752
2017-06-03 17:59:29 +09:00
Wes Kocher 269f7e9f5c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9wTctDOsPpO
2017-06-02 17:31:31 -07:00
Nathan Froyd a98cff2fb4 Bug 1369791 - turn off more warnings for ffvpx; r=rillian 2017-06-02 17:07:17 -04:00
Randell Jesup ae21d19935 Bug 1353030: document use of WrapRunnable(this) r=cpearce
MozReview-Commit-ID: Fb3KjsI9tE3
2017-06-02 16:36:34 -04:00
Wes Kocher 0d038d6513 Merge autoland to m-c a=merge
MozReview-Commit-ID: Fjt5XIDd0p6
2017-06-02 17:21:39 -07:00
Jim Chen 858e777c78 Bug 1369108 - 3. Implement new device permission code path for Fennec; r=esawin
Instead of asking for permission in VideoCaptureDeviceInfoAndroid.java,
we now merely check for permission there. The actual permission prompt
now happens in WebrtcUI.js, using the new
"getUserMedia:ask-device-permission" and
"getUserMedia:got-device-permission" notifications.

MozReview-Commit-ID: DSVPjjW2JNR
2017-06-02 16:11:53 -04:00
Jim Chen 9798dcedbb Bug 1369108 - 2. Refresh Android camera list when necessary; r=jesup
Currently, if permission is first denied, the list of cameras is empty.
However, if permission is later granted, the list stays empty because we
never try to refresh the list. This patch causes us to refresh the list
when necessary.

MozReview-Commit-ID: 5eodPCWVyaP
2017-06-02 16:11:53 -04:00
Nils Ohlmeier [:drno] 9406837246 Bug 1367930: adjust ssrc's and encondings as simulcast answerer. r=bwc
MozReview-Commit-ID: EPdIWF5nn7u

--HG--
extra : rebase_source : 5301c7541f1f2d2eeac37f5b0545ad83e71d8e46
2017-05-27 00:04:55 -07:00
Nils Ohlmeier [:drno] f8f118d912 Bug 1335262: read and emit datachannel max-message-size. r=jesup
MozReview-Commit-ID: HwaoshovZIS

--HG--
extra : rebase_source : c1c171c53e5433607083dcd88fc9de0820e3382f
2017-05-31 20:58:53 -07:00
Randell Jesup 712586b20b Bug 1369724: Fix setting size for fake H264 codec r=jya
From bug 1341285

MozReview-Commit-ID: E6g6phiQC5H
2017-06-02 09:59:36 -04:00
Nils Ohlmeier [:drno] 8cb88eaf14 Bug 1176415: verify absence of SSRC's in data channel m-sections. r=bwc
MozReview-Commit-ID: ADstE36mzzu

--HG--
extra : rebase_source : 4f94e662bb931ed7d5b87a7658a78d19ad450976
2017-06-01 11:29:07 -07:00
Nils Ohlmeier [:drno] b922e0c78a Bug 1176415: stop adding ssrc's to data channel m-sections. r=bwc
MozReview-Commit-ID: H7tiJ9YRThQ

--HG--
extra : rebase_source : ac638a15838cef16d9c614ca7eb677960e38df2f
2017-05-31 22:13:04 -07:00
Alfredo Yang 385ae73922 Bug 1367508 - Update rust parser to limit table size in case of OOM. r=kinetik
MozReview-Commit-ID: H5dAp12Hnbn

--HG--
extra : rebase_source : 0b8189c6c62a14476c4c6f3ebb699757258a6008
2017-06-01 10:27:48 +08:00
Jean-Yves Avenard 8902ac6e16 Bug 1313398: P5. Do not parse encrypted data. r=gerald
The encrypted data is nonsensical as far as the parsing of NALs is concerned.

MozReview-Commit-ID: Hm1fJf6h2S7

--HG--
extra : rebase_source : b32f56d748ad33afbd227379c1639a5aa449fb84
2017-06-01 13:37:35 +02:00
Jean-Yves Avenard 097f5acf02 Bug 1313398: P2. Always check for SPS/PPS inband. r=gerald
Ignore the known out of band extradata.

MozReview-Commit-ID: 8ARjrTtxhwY

--HG--
extra : rebase_source : 16d8d3ca9eb4663ec94ec804c290ea0409fbeea4
2017-05-31 16:15:45 +02:00
Jean-Yves Avenard f6be4845be Bug 1369313: Remove PPS related code. r=alwu
It is no longer needed.

MozReview-Commit-ID: DeD8893ES2p

--HG--
extra : rebase_source : df22efbf6c5b17cb7bf63b5e50cb495002b58b1c
2017-06-01 11:19:59 +02:00
Ryan VanderMeulen b9fe830aa0 Merge inbound to m-c. a=merge
CLOSED TREE
2017-05-31 14:32:55 -04:00
Dan Minor f7fe01502f Bug 1354350 - libyuv should not build with NVALGRIND under MOZ_VALGRIND builds; r=drno
This applies the fix from Bug 1354207 to the libyuv moz.build.

--HG--
extra : rebase_source : 006b869166a0c361fb006226a3769fb975b3dcb7
extra : amend_source : a3f9336cd38d07e37c31ec4f3f0614dee89cb1ed
2017-05-30 15:33:55 -04:00
Dan Minor f17b41d15d Bug 1354353 - nICEr and nrappkit should not build with NVALGRIND under MOZ_VALGRIND builds; r=drno
This applies the fix used in Bug 1354207 for webrtc to nICEr and nrappkit.

--HG--
extra : rebase_source : d3f1370c9100ca66272611348c1b3462e65cdfaf
2017-05-30 12:37:29 -04:00
Alex Chronopoulos 4c1cef4cb9 Bug 1368910 - Update cubeb from upstream to 3428c2b. r=kinetik
MozReview-Commit-ID: FIUMIri84Wr
2017-05-31 07:59:22 +03:00
Alfredo Yang 371305491a Bug 1368850 - fix warning message about enumeration value 'mp4parse_codec_MP4V' not handled. r=gerald
MozReview-Commit-ID: 9z6DMh872QR

--HG--
extra : rebase_source : 673b519119cbdd2d46ae20932be67b2ecc3916dc
2017-05-31 15:38:00 +08:00
Carsten "Tomcat" Book b318c7dca7 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
Dan Glastonbury 9224fdaf13 Bug 1367646 - Update cubeb from upstream to 087dc94. r=kinetik
MozReview-Commit-ID: E1D2XCtugqW

--HG--
extra : rebase_source : 20d630e763aa840d1a07e0edf128206dd8b679e8
2017-05-25 14:45:04 +10:00
Petr Sumbera acc89e9d56 Bug 1367775 - libstagefright build should avoid _GLIBCXX_OS_DEFINES on Solaris. r=gerald 2017-05-29 00:36:19 -07:00
Nico Grunbaum e45ddffb1e Bug 1359775 - Part 1 - add RTCRtpContributingSourceStats;r=jib,smaug
Still left TODO:
  * add an aboutWebrtc.js section
  * write tests

MozReview-Commit-ID: DwFxq19KWeu

--HG--
extra : rebase_source : fad3018d851316af83df48c62db16028a1a84b5c
2017-04-26 04:27:13 -07:00
Phil Ringnalda 93e4bc0075 Backed out 2 changesets (bug 1363669) for stagefright_MPEG4Metadata.test_case_mp4 gtest failures
Backed out changeset 92c5898618c2 (bug 1363669)
Backed out changeset be3f9be99903 (bug 1363669)

MozReview-Commit-ID: 37We5EdBTQ4
2017-05-25 22:15:27 -07:00
Alfredo Yang 9a47aeaf13 Bug 1363669 - update rust mp4 parser for mp4v. r=kinetik
MozReview-Commit-ID: 3HhKbIxTBPV

--HG--
extra : rebase_source : 6dcb95775b5b196d02fa2fce0083742e5fc703fa
2017-05-25 14:33:36 +08:00
Alfredo Yang 3873af0c56 Bug 1363669 - add 'mp4v' mimetype for rust parser. r=kinetik
MozReview-Commit-ID: B6b3H3xfaav

--HG--
extra : rebase_source : d3561658d881ce80f0a1360a11e709d50f96545d
2017-05-18 15:48:26 +08:00
Jim Chen e7f79e098e Bug 1363885 - 2. Remove ViERenderer dependency on orientation listener; r=snorp
ViERenderer is not used anywhere but has a couple calls to the obsolete
GeckoAppShell orientation listener. The entire ViERenderer.java file is
getting removed in the upcoming WebRTC update, so we should just go
ahead and remove those lines.

MozReview-Commit-ID: AwG7dBg5MV8
2017-05-25 18:33:30 -04:00
Alfredo Yang 735198aa6d Bug 1363669 - update gtest about 'mp4v' video parsing. r=kinetik
MozReview-Commit-ID: 12taLJSJgVm

--HG--
extra : rebase_source : 2b45da30224d433b8c76d255815cbb185196bfd6
2017-05-26 17:05:39 +08:00
Alfredo Yang a87d972281 Bug 1363669 - update rust mp4 parser for mp4v. r=kinetik
MozReview-Commit-ID: 3HhKbIxTBPV

--HG--
extra : rebase_source : 6dcb95775b5b196d02fa2fce0083742e5fc703fa
2017-05-25 14:33:36 +08:00
Alfredo Yang 0725d6f5e0 Bug 1363669 - add 'mp4v' mimetype for rust parser. r=kinetik
MozReview-Commit-ID: B6b3H3xfaav

--HG--
extra : rebase_source : d3561658d881ce80f0a1360a11e709d50f96545d
2017-05-18 15:48:26 +08:00
Alfredo Yang 55d6ddef12 Bug 1365872 - remove parsing mp4v mCodecSpecificConfig which is for b2g. r=jya
MozReview-Commit-ID: G3l6AtEH0hO

--HG--
extra : rebase_source : bad9f7ae16715acb53826a494203cd7bbee138b3
2017-05-18 16:54:43 +08:00
Ralph Giles 1951777591 Bug 1367208 - Update to libopus 1.1.5. r=kinetik
This fixes a quality issue with the surround-sound encoder
handling loud signals.

MozReview-Commit-ID: EkzEqs9io6N

--HG--
extra : rebase_source : 15e31af6865f0726beae0a988cb986bd182bac8e
2017-05-23 13:38:45 -07:00
Nils Ohlmeier [:drno] 411dd4acd1 Bug 1366581: offer bundle support for single m-section. r=bwc
MozReview-Commit-ID: DYmjCmV1fKF

--HG--
extra : rebase_source : 1d9e60663e11261f4ef8fd578de149f9b9517910
2017-05-22 18:42:12 -07:00
Ryan VanderMeulen 22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Alex Chronopoulos 9281e65d26 Bug 1366707 - Update cubeb from upstream to 96cdb17. r=kinetik
MozReview-Commit-ID: 3aiEtrl289U

--HG--
extra : rebase_source : 16ebdb2e20fc516047cc8f4974d6c9e6ec638fcb
2017-05-23 11:29:33 +03:00
Bruce Sun 04ae73ea81 Bug 1358023: (1/2) Refactor the dependency between libpng and freetype2; f=jfkthame, r=glandium
This refactor is for exposing necessary symbols of libpng for freetype2 in a
general way. Currently the necessary symbols of libpng for freetype2 are
exposed only on Android. And whether these symbols are exposed solely depends
on the target platform checking. A better way to decide whether or not to
expose these symbols would be checking the dependency of freetype2 directly.
2017-05-22 12:00:33 +08:00
Michael Froman fd474519c7 Bug 1365291 - capture 'this' with RefPtr on dispatch to STS thread. r=jib
- Avoid any potential for this going away from underneath the dispatch
to STS thread.
- Added notes in PeerConnectionImpl on the test-only nature of the
AddRIDExtension, AddRIDFilter, and GetMediaPipelineForTrack methods.
PeerConnectionImpl::GetMediaPipelineForTrack by returning a reference
to the RefPtr instead of a copy.

MozReview-Commit-ID: EwMr9ulKtm8

--HG--
extra : rebase_source : 55c8b14f63020feda57accd2b4b331de708866c4
2017-05-16 16:07:33 -05:00
Michael Froman 117651c749 Bug 1325991 - sections with bundle-only should have port set to 0. r=drno
Now that Chrome release is bundle-aware, let's reapply the patch to
properly emit port 0 for m-lines in sections with the bundle-only
attribute.

MozReview-Commit-ID: 8RftSXIzIpD

--HG--
extra : rebase_source : 6f9c4cb6b322aec7c00060827e1f5e7852f8acfc
2017-05-08 14:06:54 -05:00
Nils Ohlmeier [:drno] edfc95cb55 Bug 1338521: don't over-write remote SSRC with random value r=jesup
MozReview-Commit-ID: CEZnuzxeHkz

--HG--
extra : rebase_source : 6541a71ca473af08075895e047218460e8407a2f
2017-04-28 16:00:06 -07:00
Nils Ohlmeier [:drno] 652aa12a75 Bug 1361206: warn about non-matching RTP header extension IDs. r=bwc
MozReview-Commit-ID: DLG5ICBydAK

--HG--
extra : rebase_source : dfc81395d47ddd25c9347e94e6cf630d727cdd43
2017-05-01 21:02:53 -07:00
Nils Ohlmeier [:drno] 4dd7f2dc11 Bug 1365090: use target bitrate instead of max for simulcast. r=bwc
MozReview-Commit-ID: GThcXHHnoCV

--HG--
extra : rebase_source : 352a82ad81858782898a10440ff77b4891af6a60
2017-05-16 16:15:04 -07:00
Nils Ohlmeier [:drno] 4d8185fc04 Bug 1365090: clear RID vector when reconfiguring send media codec. r=jesup
MozReview-Commit-ID: Bs5Cihjt8fV

--HG--
extra : rebase_source : 0e423cdf7b82ecca29aecc2c72601005b56786cd
2017-05-15 21:47:34 -07:00
Jean-Yves Avenard 410447cfc4 Bug 1365227: P2. Enforce that ExtractExtra data works on AVCC only. r=JamesCheng
MozReview-Commit-ID: ox5oaDvdfx

--HG--
extra : rebase_source : cb3386502b0e400543e9a2e6c8dd15c594377847
2017-05-16 14:51:24 +02:00
Jean-Yves Avenard dd9e7bd359 Bug 1365227: P1. Create AVCC header for converted annexB. r=JamesCheng
Otherwise AnnexB::IsAVCC will return false on those converted samples.

MozReview-Commit-ID: 6OBV6L49InL

--HG--
extra : rebase_source : b4c315583392cfe455d0932f4345a8a02e367f2f
2017-05-16 14:22:43 +02:00