Commit Graph

4034 Commits

Author SHA1 Message Date
Ralph Giles
dad637eb4a Bug 1275189 - Remove thread::JoinHandle panic guard. r=kinetik
We've audited this code, so the calls inside the closure should
be panic-free. Meanwhile the thread join() itself seems to be
panicing on windows. This will at least get us a more obvious
crash.

MozReview-Commit-ID: JXoDOOu2x0K

--HG--
extra : rebase_source : 661da4e8e8dc98e25b318a51c49a406ee86beb46
2016-05-24 14:42:42 -07:00
Jeff Muizelaar
3d15a7f63b Bug 1273640. Make some mp4 demuxer classes final. r=cpearce
This fixes some clang warnings about virtual destructors.
2016-05-24 15:38:48 -04:00
Munro Mengjue Chiang
f71af76062 Bug 1180725 - use AVFoundation for camera capture on OSX. r=jib 2016-05-19 22:48:55 +08:00
Michael Froman
9ebc499566 Bug 1155435 - connected negotiated REMB from sdp into VideoConduit, r=drno, r=jesup
MozReview-Commit-ID: 7B2V4JoltOx

--HG--
extra : transplant_source : %802d%00%D5%86%E8u%101o%7D%F4%C15%97%CD%3A%EA1
2016-05-19 10:23:45 -05:00
Michael Froman
a4bbff5e1f Bug 1155435 - add sdp RtcpFb for REMB, r=drno, r=jesup
MozReview-Commit-ID: Ga7so20UsMo

--HG--
extra : transplant_source : p%FE%99%96%130N%F5%D2%EB%BFl%C9vt%C8qqK%18
2016-05-20 16:38:29 -05:00
Byron Campen [:bwc]
495f614a9f Bug 1213773: Better handling of answer with direction of inactive in renegotiation. r=mt
MozReview-Commit-ID: Fjo2rBtIYvD

--HG--
extra : rebase_source : bc08c173713781e134de25d39e199aa405a0ca7f
2016-02-05 13:21:11 -06:00
Sebastian Hengst
e013fac160 Backed out changeset 998ed936f745 (bug 1228601) for reftest failure in 1frame_rotation_90.mp4. r=backout on a CLOSED TREE 2016-05-23 14:24:00 +02:00
Andreas Pehrson
5c1742c0d9 Bug 1271669 - Remove wallpaper constraints to the MediaStream argument to RTCPeerConnection.addTrack(). r=jib
This change RTCPeerConnection.addTrack() to allow any MediaStream as argument.

The MediaStream is in the end used as an identifier of how the tracks will be
grouped together on the receiving side of the peer connection.

MozReview-Commit-ID: 9wDPOmMHYDc

--HG--
extra : rebase_source : 5fd59853c2d207cbcdaa1e4a767b3c4de20a1beb
extra : histedit_source : 2b88e899a329df07a46c1f12e449956d59645cf7
2016-05-19 15:32:56 +02:00
Andreas Pehrson
59ed044326 Bug 1271669 - Remove GetVideoTrackByTrackId(). r=bwc
We have GetTrackById() now that does essentially the same thing.
Also, GetVideoTrackByTrackId() was too focused on the owning MediaStream and
didn't work.

MozReview-Commit-ID: 9z3rg4FI9H8

--HG--
extra : rebase_source : 7e295dc19b41b62f809977b6b73d2729f127d08a
extra : histedit_source : 39ab0f08939825c341b136150760e02c92fac970
2016-05-19 15:28:03 +02:00
Andreas Pehrson
8432f89c87 Bug 1271669 - Clean up some stream-centered code in MediaPipelineFactory. r=bwc
MozReview-Commit-ID: 8esaZmy7HVO

--HG--
extra : rebase_source : b98d20380596e3b14c00034ca38b5ff82ff11320
extra : histedit_source : 5e5dcbce95878404f743b142a075c601a4f46f24
2016-05-18 16:36:57 +02:00
Andreas Pehrson
02e322e6f2 Bug 1271669 - Don't rely on streams for getStats(). r=jib, r=bwc
MozReview-Commit-ID: 8I6YowAAGcW

--HG--
extra : rebase_source : 185c4dc7dffcd927b0c5c1ad5d34fcaacb857feb
extra : histedit_source : 9b796fbbf72103eab3eba13381ab6244b424751f
2016-05-18 15:00:21 +02:00
Andreas Pehrson
299b4666bb Bug 1271669 - Change AnyLocalStreamHasPeerIdentity to be per-track. r=mt
MozReview-Commit-ID: LltvHE9ROfT

--HG--
extra : rebase_source : 18e9c57fdb6ca42a6d33f7f57ad4c47ec2abb90d
extra : histedit_source : 0ee3b9159ef05179e803a375d2e6528da7dc7e5b
2016-05-18 12:55:07 +02:00
ctai
7e0671d483 Bug 1266647 - Clean NotifyQueuedTrackChange to only notify when command is track create and track end. r=jesup r=pehrsons
MozReview-Commit-ID: 4Pp3xHeBIW4

--HG--
extra : transplant_source : %D4c%13P%82Y%04%FA%0E%9D%9C%97%91%AAH%FCI%C3u_
2016-05-04 16:08:44 +08:00
Kilik Kuo
b0d32a9fb5 Bug 1228601 - [Part1] Store only supported video rotation informatin into VideoInfo.; r=mattwoodrow
MozReview-Commit-ID: GF1PpJGkGyA

--HG--
extra : transplant_source : %C5%FF%EB%29j%E2T_h%AC%22%8Ey%E0%91%C6%7Dh%1C%09
2016-05-13 02:17:39 +08:00
Matthew Gregan
f99185c1e7 Bug 1269768 - Treat multiple BlockAdditions elements in WebM as an error. r=giles 2016-05-23 12:56:52 +12:00
Randell Jesup
486d30379d Bug 1274083: don't return early from rate changes if we overflow r=jmspeex
MozReview-Commit-ID: DVSp3VpiIJw
2016-05-20 01:53:27 -04:00
Matthew Gregan
c3e2181bd1 Bug 1261900 - Update in-tree libnestegg. r=giles
This update pulls in nestegg_read_reset, nestegg_packet_has_keyframe, and
nestegg_packet_reference_block.
2016-04-22 22:54:27 +10:00
Daniel Holbert
8702f70bee Bug 1273965 part 3: Collapse & de-indent another else-after-return in MediaPipelineFactory.cpp, and drop a now-clearly-unnecessary NS_NOTREACHED. r=bwc
MozReview-Commit-ID: 6K4ng30gGPC

--HG--
extra : rebase_source : 57b8ae79d4ca6ecebd28fa066b0707f4834d9415
2016-05-18 10:56:00 -07:00
Daniel Holbert
104646ee7c Bug 1273965 part 2: Collapse & de-indent one else-after-return in MediaPipelineFactory.cpp, and drop a now-clearly-unnecessary NS_NOTREACHED. r=bwc
MozReview-Commit-ID: EJhWQf9DzyT

--HG--
extra : rebase_source : 4ed48214cf829d1ab07d05d3d034051437404370
2016-05-18 10:55:58 -07:00
Daniel Holbert
7a249caada Bug 1273965 part 1: Collapse some one-liner else-after-return patterns in MediaPipelineFactory.cpp. r=bwc
MozReview-Commit-ID: KXhQrteqdtI

--HG--
extra : rebase_source : e2400812af7c13c235c622367f918d865cd40312
2016-05-18 10:55:57 -07:00
Daniel Holbert
f2268be266 Bug 1273965 part 0: Drop "else" from some return-else-if statements in MediaPipelineFactory.cpp. r=bwc
MozReview-Commit-ID: EyKzyiY6Y8B

--HG--
extra : rebase_source : 15f66d2058a7fb32115318e6019698a739181236
2016-05-18 10:55:55 -07:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Carsten "Tomcat" Book
6ff722b9be Backed out changeset 1709366abefd (bug 1208373) 2016-05-13 13:51:41 +02:00
Andreas Pehrson
747b3ba5ed Bug 1208373 - End received audio tracks on closing of PeerConnection. r=jesup
MozReview-Commit-ID: 860jvDzHPhV

--HG--
extra : rebase_source : 51373373e320174fcf898b435fdce249e2351560
extra : source : ec1e6e9e48a26d73e29b6ba772f734b3525f52a1
2016-05-04 11:30:44 +02:00
Andreas Pehrson
4626d0a22c Bug 1206708 - Allow YUV images with gaps between planes in MediaPipelineTransmit. r=jesup
MozReview-Commit-ID: HZwQK8guBEr

--HG--
extra : rebase_source : 6e6e7d17342d37315848ab516be4e7e5469cc684
2016-04-12 15:12:49 +02:00
Andreas Pehrson
4abd5e4c78 Bug 1206708 - Make all WebRTC ImageContainers async. r=jesup,nical
This avoids expensive copying when compositing these frames on e10s.

MozReview-Commit-ID: LIeUhh6rjCf

--HG--
extra : rebase_source : 1919596f2cb61d25474993f209a632531d3797fa
2016-04-11 16:13:26 +02:00
Wes Kocher
43bc24c499 Backed out 2 changesets (bug 1271585) for media test failures
Backed out changeset 3967d009efc0 (bug 1271585)
Backed out changeset 01262a32c45f (bug 1271585)
2016-05-12 14:28:52 -07:00
Randell Jesup
4388c19bb5 Bug 1271585: Proxy audio data to a separate thread for encoding r=pehrsons
MozReview-Commit-ID: 2s12qlaklWD
2016-05-12 15:34:13 -04:00
Randell Jesup
f02760cc79 Bug 1213050: clean up TaskQueue before dropping references to it r=cpearce
Also adds assertion TaskQueue isn't trying to kill itself

MozReview-Commit-ID: 1AVuYcfnBBA
2016-05-12 00:53:19 -04:00
Nils Ohlmeier [:drno]
aeefdaab56 Bug 1271862: increase SDP session version when creating answers. r=bwc
MozReview-Commit-ID: KdFl9bq6AA1

--HG--
extra : rebase_source : 2f0460110899323c2c0849dd967cba9e771fceb3
2016-05-10 18:35:02 -07:00
Jean-Yves Avenard
9471487dcf Bug 1266260: P1. Fix overflow is speexdsp. r=padenot
Fix submitted upstream

Upstream version had a partial fix for overflow (though incomplete). I've included that fix here and completed it.

MozReview-Commit-ID: 5RyIMI5qrvC

--HG--
extra : rebase_source : 18a67d2ca8220a8129b69105413c33a81f7a6984
2016-05-11 12:15:13 +02:00
Jean-Yves Avenard
a137695351 Bug 1271847: Only adjust the samples once we have a complete moof. r=kentuckyfriedtakahe
MozReview-Commit-ID: 5TO0d20uUhZ

--HG--
extra : rebase_source : 0c0f0250d4fac6f3ffca736b6d79c7e4301e964e
2016-05-11 15:59:33 +10:00
Matthew Gregan
e4fd874441 Bug 1271866 - Drop NULL check from nestegg_read_packet. r=giles 2016-05-11 17:01:23 +12:00
Byron Campen [:bwc]
7ce7307ffa Bug 998546: Fire ontrack and onaddstream on time. r=drno
MozReview-Commit-ID: GnuC2Skv453

--HG--
extra : rebase_source : 3440777393223c7d0b21e1ba9cb7c20a9037866c
2016-04-27 07:09:11 -05:00
Randell Jesup
97ddc872ca Bug 1271429 - sdp_unittests needs to Shutdown() the pseudo-main thread before finishing r=bwc
MozReview-Commit-ID: Gw71pTxEzyA
2016-05-10 00:21:43 -04:00
Chris Pearce
46a1552995 Bug 1271242 - Remove GMPDecryptorCallback::SetCapabilities(). r=jwwang
Now that GMPParent detects whether gmp-clearkey can decode using AAC/H.264
using WMF before reporting gmp-clearkey's GMPParent can decode AAC/H.264, we
don't need the GMPDecryptorCallback::SetCapabilities() callback from the GMP to
signal to the PDMFactory that the GMP can decode. We can now trust what the
GMPService tells us.

So we can remove the "waiting for CDM caps" step in the state machine's startup
sequence. And all the plumbing. :)

If we need more caps, like for an decode-and-render path, we can declare those
as API strings in the info file.


MozReview-Commit-ID: E0QhU4cYhjo

--HG--
extra : rebase_source : 7d15ab6a45bac88c15c053f416d941b5fe0807b0
2016-05-10 10:28:38 +12:00
Jan Beich
fa238a23db Bug 1271041 - Switch DragonFly and NetBSD to pthread_condattr_setclock. r=jesup 2016-05-07 22:44:00 +02:00
Nathan Froyd
276488cf53 Bug 1220307 - part 2 - use something other than vector<T>::data() in TestMP4Rust.cpp; r=rillian
Our copy of STLport on Android is so old, it doesn't have support for
vector<T>::data().  The standard defines vector<T>::data() in terms of
vector<T>::front(), so this change should work everywhere.

--HG--
extra : rebase_source : 862d8745b49f48eadf026cbbddf20da7da2d0404
extra : source : 4e5db23bc712948e7371d69438033c03de29a00a
2016-05-06 15:09:36 -04:00
Wes Kocher
cfb9b30727 Backed out 3 changesets (bug 1220307) for failures in test_dialogArguments.html and test_iframe_sandbox_modal.html
Backed out changeset d74e9d5a64c3 (bug 1220307)
Backed out changeset 4e5db23bc712 (bug 1220307)
Backed out changeset b3397e0d5d8d (bug 1220307)
2016-05-06 12:38:36 -07:00
Nathan Froyd
29d2450973 Bug 1220307 - part 2 - use something other than vector<T>::data() in TestMP4Rust.cpp; r=rillian
Our copy of STLport on Android is so old, it doesn't have support for
vector<T>::data().  The standard defines vector<T>::data() in terms of
vector<T>::front(), so this change should work everywhere.
2016-05-06 15:09:36 -04:00
Matthew Gregan
dc5d4004b3 Bug 1270004 - Update libcubeb. rs=jesup 2016-05-06 10:36:41 +12:00
Nils Ohlmeier [:drno]
f746914c9a Bug 1268291: use ICE binding requests for consent refresh r=mjf
MozReview-Commit-ID: 9NBw2WBE5xJ

--HG--
extra : rebase_source : 2047c775c9e0083ab65420c1aead67642d67275e
2016-05-03 00:31:11 -07:00
Jan Beich
7a9638bef9 Bug 1269165 - Restore ALSA plugins detection on non-Linux after bug 757637. r=jesup
--HG--
extra : rebase_source : b655bc3c2928c18ab8ed3fb170926ea8213a122b
2016-04-30 21:52:00 -04:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Nils Ohlmeier [:drno]
a4d7ea2e6b Bug 1269486: tests to verify new ICE controller setting restriction. r=mjf
MozReview-Commit-ID: EaJ2yE0Vwcr

--HG--
extra : rebase_source : 3d696984a16a7ada6da57b90424f1b351f1e589f
2016-05-04 10:53:29 -07:00
Nils Ohlmeier [:drno]
cd54d864ed Bug 1269486: allow setting ICE controller only once. r=bwc
MozReview-Commit-ID: AXyNyTZH1Jt

--HG--
extra : rebase_source : c8951fd5ada36d5c8ca25568e276fcb8cce0fbfc
2016-05-03 13:28:14 -07:00
Matthew Gregan
463eeffbb8 Bug 1270062 - Update libcubeb. rs=jesup 2016-05-05 07:55:13 +12:00
Sebastian Hengst
364419d47c Backed out changeset 6cfa5e25f30c (bug 1270062) for build bustage on Windows x64. r=bustage on a CLOSED TREE 2016-05-04 19:29:13 +02:00
Paul Adenot
a81dba9199 Bug 1270062 - Update libcubeb to revision 95b115e10e6280b934fc7d09a2c801055a2207f9.
Review by jesup on IRC.
2016-05-04 18:45:45 +02:00