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

4247 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Nils Ohlmeier [:drno] a11147d580 Bug 1275648: check return value of GetPipelineByTrackId_m. r=jesup
MozReview-Commit-ID: EtJSbok04Lc

--HG--
extra : rebase_source : dfdbe83709060886d0a81f479207e2fa85031fe7
2016-05-25 10:32:29 -07:00
Jean-Yves Avenard a922df8537 Bug 1285928: [mp4] Ignore non-supported entries in edit list. r=kentuckyfriedtakahe
Only the first entry in the edit list is supported (or the 2nd if the first entry is empty)

MozReview-Commit-ID: 5Ab28yhRKPV
2016-07-19 12:02:46 +10:00
Wes Kocher 02b63e9ff0 Backed out 12 changesets (bug 1284803) for near permafailing Windows Wr tests a=backout CLOSED TREE
Backed out changeset 80468414501e (bug 1284803)
Backed out changeset 08d2e46308fd (bug 1284803)
Backed out changeset 6bacfaadbc29 (bug 1284803)
Backed out changeset 28e0ca5cb68e (bug 1284803)
Backed out changeset 9ea43addc3af (bug 1284803)
Backed out changeset 3b11ba39748c (bug 1284803)
Backed out changeset b23773965e94 (bug 1284803)
Backed out changeset 6eb7bce6f4c1 (bug 1284803)
Backed out changeset 109f79e577a0 (bug 1284803)
Backed out changeset 52bd1efc6c1f (bug 1284803)
Backed out changeset fb3d8468b758 (bug 1284803)
Backed out changeset 92c15211f59b (bug 1284803)
2016-07-18 14:46:05 -07:00
Damien Zammit 44e85908a4 Bug 783733 - Wire up the jack cubeb backend in the build system. r=glandium
It's disabled by default for now.

MozReview-Commit-ID: CPrJQ07n26t
2016-07-18 13:28:39 +02:00
Randell Jesup 1f1ea0ef58 Bug 1271585: Proxy audio data to a separate thread for encoding r=pehrsons 2016-05-12 15:34:13 -04:00
Nils Ohlmeier [:drno] 1d9c7716f5 Bug 1275217: remove QuickTime and QTKit related code and dependecies. r=jib
MozReview-Commit-ID: IDXgV9jnlMk

--HG--
extra : rebase_source : 529d867eb7330b9f498897df7248221836a91016
2016-05-24 02:15:19 -07:00
Ryan VanderMeulen 244a5c7598 Backed out changeset de91db2be204 (bug 1275812) on a CLOSED TREE, again. 2016-05-26 16:36:00 -04:00
Ralph Giles a038a5c348 Bug 1275812 - Experiment with exporting track mime-type. r=kinetik, a=RyanVM to land on a CLOSED TREE
MozReview-Commit-ID: 9CynVkwtUn2

--HG--
extra : source : aa1d245e0af392ca48e991661c0c38a84ba2e360
extra : amend_source : 5fc877fcf2e91a5c29b4a57ce00d90f6d354cf09
2016-04-04 11:28:05 -07:00
Ryan VanderMeulen ac870fd3ee Backed out changeset aa1d245e0af3 (bug 1275812) for mass win32 debug crashes.
CLOSED TREE
2016-05-26 13:53:26 -04:00
Ralph Giles 21456960e1 Bug 1275812 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2

--HG--
extra : rebase_source : 7995c6af6dc0a58b7369d25824c8446487ce49aa
2016-04-04 11:28:05 -07:00
Bryce Van Dyk 85f8335784 Bug 1257726 - Update to latest upstream version of nestegg. r=kinetik
Bring in updated nestegg library, the newly exposed encryption
functionality will be used to enable WebM EME.

MozReview-Commit-ID: Hv6hSFjlS5c

--HG--
extra : rebase_source : c759a702c205111d65aa2002564559210c662d5f
2016-05-04 11:14:29 +12:00
Ralph Giles 8959d6a9ce Bug 1266309 - Use fallible rust thread::Builder. r=kinetik
We think thread::spawn() may be panicking in low memory
conditions. Test this by using the fallible thread::Builder
API and converting spawn Results into an error return.

MozReview-Commit-ID: 36pDaWsR2p8

--HG--
extra : rebase_source : 058273473564fa4c3b3da4cbd231efd9003a7d05
2016-05-25 13:57:29 -07:00
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
Randell Jesup 2000e8ffcb Bug 1269930: don't crash if an AEC logfile fails to open r=pkerr
MozReview-Commit-ID: 4MgOZe5jO3p
2016-05-04 11:48:18 -04:00
Randell Jesup 8ea71955dd Bug 1269930: Fix some errant (though working) ifdefs in mods to upstream webrtc code r=pkerr
MozReview-Commit-ID: 3bCBD3I4fHO
2016-05-04 11:47:44 -04:00
Carsten "Tomcat" Book 5314427156 Merge mozilla-central to mozilla-inbound 2016-05-04 13:36:39 +02:00
Paul Adenot fc68be72fb Bug 1270062 - Unbust Windows full duplex. a=Tomcat
MozReview-Commit-ID: EApTXpnCjz4
2016-05-04 13:28:50 +02:00
Carsten "Tomcat" Book d6b419d1e9 Merge mozilla-central to mozilla-inbound 2016-05-04 11:58:38 +02:00
Carsten "Tomcat" Book ad9214381b merge mozilla-inbound to mozilla-central a=merge 2016-05-04 11:54:42 +02:00
Jean-Yves Avenard 2faa2a9445 Bug 1269325: [mp4] Recalculate dts after adjusting cts. r=kentuckyfriedtakahe,r=gerald
CTS are adjusted so that all frames within a moof are contiguous and gapless. This means that the duration of each sample are updated accordingly. In MP4, the definition of a sample's duration is the delta between two decoding timestamp. As such, when changing the duration, the decode timestamp should be updated accordingly.

MozReview-Commit-ID: 8D8DeNeyzy
2016-05-04 15:21:03 +10:00
Georg Fritzsche 00fd93517c Bug 1261063 - Part 4 - Use a count histogram for WebRTC call counts. r=jesup 2016-05-03 18:07:45 +02:00
Carsten "Tomcat" Book caa14246b6 Backed out changeset 094a64103807 (bug 1269692) for bustage on a CLOSED TREE 2016-05-03 12:13:49 +02:00
Carsten "Tomcat" Book 44c8e23809 Backed out changeset b1a5d5739f66 (bug 1220307)
--HG--
extra : rebase_source : e611cc0a2b400a4b8623c407536c9d17eddf8212
2016-05-03 12:01:23 +02:00
Paul Adenot 235503ca90 Bug 1269692 - Update cubeb to revision 17e3048d0afa1152776fb1867cdb61c49fae69e4.
This picks up the fixes for bug 1268675 and bug 1268499, both reviewed by
kinetik.

MozReview-Commit-ID: GLIDQgIGqch
2016-05-03 11:53:19 +02:00
Nathan Froyd 6b2e7cc04f 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-02 12:10:07 -04:00
Jean-Yves Avenard b21b1c955b Bug 1266129 - Upgrade ffvpx to 3.0.2. . r=ajones
--HG--
extra : amend_source : b82278fcfd71b4d7b0e37bb7b10f735cc770a59c
2016-04-28 21:31:18 +10:00
Martin Thomson b5081bf610 Bug 1264470 - a=identity is a long attribute, r=bwc
--HG--
extra : rebase_source : 077cb5cf4017cce619ed59decd405d706683d620
2016-04-19 09:10:32 +10:00
Aryeh Gregor f14f1babe8 Bug 1193762 part 8 - Fix things that will break; r=froydnj
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Byron Campen [:bwc] c2d6cc516f Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : fd5d972f042baf0007d09579fe43893c1a787836
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc] ac965bfc5a Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : d611712e2a7f0a29063ee5765dc66fb7ed9e5b0f
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc] 5fd2e18004 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : 590238bca757ff3e7c13202f5db1971084fe538d
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc] ff7fa1e45c Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : 12e1d24a7324ff1d87954fa1b56d83d2adaaa530
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc] 73c29a05f5 Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 7b9b7cc850a7968e9ad778a42e87b9df196307f1
2016-03-04 15:45:57 -06:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Andi-Bogdan Postelnicu 66da00b99b Bug 1268449 - prevent memory leak in Resolve. r=ekr
MozReview-Commit-ID: 7K94oXrkhne

--HG--
extra : rebase_source : 3d7e08a7f50f8ac4550167f23d1334e941133e23
2016-04-28 14:13:55 +03:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Byron Campen [:bwc] ca09368d22 Bug 1234578: Add an assertion. r=drno, a=abillings
MozReview-Commit-ID: 5Mq8CBmSDsu
2016-04-06 14:19:53 -05:00
Paul Adenot 3b6d6ce4d6 Bug 1267930 - When the wasapi rendering loop is stuck and we're shuttin down, leak the thread and continue the shutdown process. r=kinetik
It's probably better to not TerminateThread here, because we don't really know
what happened down the stack of the rendering loop, so we just leak it. This
happens during shutdown so it's not really an issue, it's going to be cleaned
up by the OS anyways.

MozReview-Commit-ID: 4o3Krj7L7m2
2016-04-28 12:02:14 +02:00
Wes Kocher 6a486eb10c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 56rcBPa9a6G
2016-04-27 14:16:30 -07:00
Wes Kocher 20598f44f6 Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
MozReview-Commit-ID: EoGyz071RoN

--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Wes Kocher 55d7bfae3f Backed out changesets 8ed054e5853e,d56adef9c8e0,408df9f84697,7092e498ac3a,29dce05596c6,ae1dc75009e7 (bug 1231975) for breaking local mochitests a=backout
MozReview-Commit-ID: 17mJDyZMVju

--HG--
extra : histedit_source : cf965b94d4b36cc1b4ce0a89272f9c355ae1b82e%2C72cefdebce52a0e6653a87dd0ef0a1316fe0ec18
2016-04-27 10:20:42 -07:00
Matthew Gregan de83009807 Bug 1267513 - Update libnestegg to pick up BlockGroup parsing fixes. r=giles 2016-04-27 15:25:26 +12:00
Yoshi Huang 7ae2e09f40 Bug 1263496 - Part 2: fix for NS_NULLPRINCIPAL_CONTRACTID. r=bholley
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=NS_NULLPRINCIPAL_CONTRACTID&redirect=true
2016-04-27 18:38:03 +08:00
Nils Ohlmeier [:drno] 49438ee761 Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
MozReview-Commit-ID: ETkx1Z56bI8

--HG--
extra : rebase_source : c3221aa336beb5fcf450754537a5cd1856357494
2016-04-08 16:51:21 -07:00
Nils Ohlmeier [:drno] 696852ce71 Bug 929977: Add support for RFC 7675 ICE consent freshness. r=bwc,mt
MozReview-Commit-ID: HGRM10L0R3M

--HG--
extra : rebase_source : c50f8665230140096dd163bb5fbb13482a976c91
2016-04-26 13:11:25 -07:00
Byron Campen [:bwc] 475039d8aa Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : 9ba82ea745c3aa8f4e3c14291aca36d68b775f7e
extra : source : e215c66a184b9424e76892673f2849d3bf262606
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc] d99ec1f82d Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : 162ab84cf48171a818e3aff7c65b4964a4989b05
extra : source : 99b6fffc375214bd061e729ed0462edbaec844ce
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc] 0654267081 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : d42f45b1e2bd7b96808ca814d25258904ce6ebfe
extra : source : 68ac205949c9b5d57f85689f660ebf9de119d384
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc] 18f4a13f02 Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : d5fa4d0138112d5932f4db43958b60f1606f0af2
extra : source : 81271ec54981bd4c7b0fa72889ba509e5c434ff4
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc] 903901c97b Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 81f06e74ab74558cfba435cac79bc6fee0d7409c
extra : source : 9249495e35aa39f4cf4f5604a9e1b56608c8775a
2016-03-04 15:45:57 -06:00
ctai 4e89100cf8 Bug 1266644 - Rename DOMMediaStream:: CreateXXXStream to DOMMediaStream:: CreateXXXStreamAsInput. r=jesup r=pehrsons
MozReview-Commit-ID: 4X0Q1XuENa4
2016-04-25 11:43:27 +08:00
ctai 8fcb64e480 Bug 1266644 - Rename StreamBuffer to StreamTracks. r=jesup r=pehrsons
Rename StreamBuffer to StreamTracks. We still need a place to keep the track information in every MediaStream, even the StreamBuffer::Track::mSegment is empty.

--HG--
rename : dom/media/StreamBuffer.cpp => StreamTracks.cpp
rename : dom/media/StreamBuffer.h => StreamTracks.h
2016-01-26 10:49:01 +08:00
Charles Collicutt 5d60c22c60 Bug 1261414 - Don't build libav with sysctl on Unix (it's not used anyway). r=glandium 2016-04-12 13:15:00 +02:00
Jean-Yves Avenard 71b5b956c8 Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w

--HG--
extra : rebase_source : 71292f9f45e8a2d7e02e720ce367f291edaf00b8
2016-04-19 14:39:39 +10:00
Matthew Gregan ff1d7be7b4 Bug 1266623 - Up/down mix WASAPI capture streams when stream formats don't match. r=padenot 2016-04-26 13:31:49 +12:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Carsten "Tomcat" Book 94cebd7b33 Backed out changeset a9fcd0e98cc3 (bug 1231981) 2016-04-25 16:28:53 +02:00
Carsten "Tomcat" Book 42f342e18c Backed out changeset 4cff2bed6747 (bug 1231975) 2016-04-25 16:28:47 +02:00
Carsten "Tomcat" Book f49979964c Backed out changeset 1913c67263eb (bug 1231975) 2016-04-25 16:28:44 +02:00
Carsten "Tomcat" Book 8353eec0ac Backed out changeset 9d0c273048d6 (bug 1231975) 2016-04-25 16:28:42 +02:00
Carsten "Tomcat" Book 7cc02680ae Backed out changeset b21f8efbd341 (bug 1231975) 2016-04-25 16:28:41 +02:00
Byron Campen [:bwc] 543c799051 Bug 1266468: Respond to STUN requests with 400 if the component is failed. r=drno
MozReview-Commit-ID: 106OvQ7WLvp

--HG--
extra : rebase_source : 797c932080d07ff3d0be2fd20d9082944f1ac51d
2016-04-21 13:00:26 -05:00
Byron Campen [:bwc] f508596540 Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : 4fa178e6b2d715d5f7e56e7dd19d607830c31ff7
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc] 4262b60302 Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : 3fdcbf69370a69556b6b34d1a9c8c142732e21f8
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc] fb77b5d2b8 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : efc3eb166d01de91c2d628540fda625155d8cd26
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc] 98c17059df Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : 20d6bc3424e433fbc0a98739310598c3c9433c87
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc] 50135632ac Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : f52583fe21269d4d4214b93315cc75f0535de55d
2016-03-04 15:45:57 -06:00
Michael Froman 7de8875d6b Bug 1264416 - RollbackIceRestart wasn't resetting mIceRestartState. r=drno
MozReview-Commit-ID: BPmHKOCt9Im

--HG--
extra : transplant_source : %D7q%D9%A6%89%8C%B0C%1B%F5%B0%85%0E%C2%B0%03%C9%16u%B6
2016-04-21 00:35:57 -05:00
Jacek Caban 92367ea979 Bug 1244773 - Fixed ffvpx compilation on mingw. r=jya 2016-04-23 14:34:59 +02:00
Nils Ohlmeier [:drno] 9e5040ab92 Bug 1264351: removed hand break which disables ICE TCP on e10s r=jesup
MozReview-Commit-ID: 8Llssz59QwM

--HG--
extra : rebase_source : 0b624b9fc0e758eb7d09084493b4dcfe4ae0a0ec
2016-04-13 10:16:35 -07:00
Alex Chronopoulos 6f159ce8bf Bug 1266753 - Fix mac bustage: use the old enum values, on a CLOSED TREE. r=padenot
MozReview-Commit-ID: 3wr3iTG6IWY
2016-04-22 18:42:11 +02:00
Alex Chronopoulos a60e62f398 Bug 1266753 - Update cubeb to revision dbdfb to pick up OSX device notification changes. r=padenot
MozReview-Commit-ID: 7N66FmG9P5u
2016-04-22 16:36:39 +02:00
Andreas Pehrson 54d652f0b5 Bug 1266685 - Don't pass too many frames to the MediaPipelineTransmit VideoFrameConverter. r=jesup
MozReview-Commit-ID: 4XwcfBW9nkY

--HG--
extra : rebase_source : 80a61240a214633f1023043b9cc3846df3fc2df9
extra : source : b9e6df3042ec08778f3c5f85d093367f8f9bce52
2016-04-15 16:00:09 +02:00
Chris Peterson 78f3e767ba Bug 1266293 - Remove unnecessary compiler version check and stdint polyfill for MSVS 2010 in webrtc/signaling/. r=drno 2016-04-18 22:51:47 -07:00
Carsten "Tomcat" Book 9d468452aa Backed out changeset a9bfe66b235c (bug 1264199)
--HG--
extra : rebase_source : f8151216bd24997a1f0de70ec515c920151a7dc4
2016-04-21 16:31:52 +02:00
Jean-Yves Avenard a0ff91528b Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w

--HG--
extra : rebase_source : 592c0dcb4e01308116e0ea264a59fe9e592986b3
2016-04-19 14:39:39 +10:00
Wes Kocher c65b052530 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aas4kEyBseh
2016-04-20 14:19:25 -07:00
Wes Kocher e5a7b1fed7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1WOpYvB2IHo
2016-04-20 13:54:50 -07:00
Wes Kocher b8f98ffe9f Backed out 8 changesets (bug 1264199) for permafailing media mochitests on OSX 10.6 a=backout
Backed out changeset 0f20f2080824 (bug 1264199)
Backed out changeset 90351d2719be (bug 1264199)
Backed out changeset f484b42cbdda (bug 1264199)
Backed out changeset b79b62146120 (bug 1264199)
Backed out changeset f587df589b69 (bug 1264199)
Backed out changeset 02f781a573b4 (bug 1264199)
Backed out changeset d3677ae4c8ec (bug 1264199)
Backed out changeset d08288654ec9 (bug 1264199)

MozReview-Commit-ID: HVtiBSOxf7t
2016-04-20 11:01:36 -07:00
Jean-Yves Avenard 1d8e31734e Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w
2016-04-20 15:03:46 +10:00
Benoit Girard 85ba14a3e5 Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
MozReview-Commit-ID: JveFLuIcbaN

--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
Andreas Pehrson 34fc67e392 Bug 1246310 - Let MediaPipelineReceive tracks start at 0. r=jesup
We create the tracks with a segment lasting from 0 to current time,
so there's no need to offset them with the same amount again.

MozReview-Commit-ID: DPPgxWM2oeR

--HG--
extra : rebase_source : 585d9bec5a157d05239f572626f98506764dc3f6
extra : source : d22823bbe4816c03bbdb3f2c52e5d2043244d014
2016-04-15 15:59:31 +02:00
Randell Jesup 90f6a18287 Bug 1265641: Move AEC tail length and delay-agnostic settings to getUserMedia r=padenot
MozReview-Commit-ID: 6vHQlmt9lxR
2016-04-19 20:20:45 -04:00
Paul Adenot f1ecd64200 Bug 1265692 - Update cubeb to 0bc02f9. r=padenot,kinetik
This picks up fixes for:

- bug 1264892
- bug 1265541
- bug 1263514
- bug 1263505

MozReview-Commit-ID: CaNRARFO9UD
2016-04-19 14:02:23 +02:00
Sotaro Ikeda 3b81e9dd7d Bug 1262278 - Rename PlanarYCbCrImage::SetData and PlanarYCbCrImage::SetDataNoCopy r=nical 2016-04-18 20:12:41 -07:00
Nils Ohlmeier [:drno] 3ccfa94608 Bug 1264726: ignore unsupported SDP bandwidth parameters. r=bwc
MozReview-Commit-ID: WIsWIllUph

--HG--
extra : rebase_source : 23e48ad729bb1e5478c23e20ba5139e8d4f444ee
2016-04-15 22:29:26 -07:00
Nils Ohlmeier [:drno] df7216ecb4 Bug 1259842: allow RFC1918 pairing again r=mjf
MozReview-Commit-ID: 6afbRF64PM2

--HG--
extra : rebase_source : fbdf8db55ed9fb22cf39b375551741a5e75aac14
2016-04-05 17:10:03 -07:00
Paul Adenot 3ef0477eee Bug 1269692 - Update cubeb to revision 17e3048d0afa1152776fb1867cdb61c49fae69e4.
This picks up the fixes for bug 1268675 and bug 1268499, both reviewed by
kinetik.

MozReview-Commit-ID: GLIDQgIGqch
2016-05-03 11:53:19 +02:00
Thomas Zimmermann 4fd6e14941 Bug 1264892: Use system declaration of |__system_property_get| on B2G, r=padenot 2016-04-18 14:32:29 +02:00
Jan Beich 33681ffdb9 Bug 1239550 - Apply bug 1228230 against media/ffvpx. r=glandium,jya
MozReview-Commit-ID: EGLaoJnSaWY

--HG--
extra : rebase_source : cb63892bbe75a6eabbd318d179797218254cf2f1
2016-04-09 10:48:50 +00:00
Randell Jesup fc63a4eb34 Bug 1263384: validate input frames against configured resolution in vp8 r=rillian
MozReview-Commit-ID: BxDCnJe0mzs
2016-04-15 23:11:01 -04:00
Andreas Pehrson aed4228f29 Bug 1262970 - Change PRINCIPAL_HANDLE_NONE to a nullptr #define. r=froydnj
MozReview-Commit-ID: A69mWTDTkkP

--HG--
extra : rebase_source : 24c885f5078c723fce709c3d498c39b312c12e39
extra : amend_source : afd886cd8c4264ee152a059fc2feda59220f281a
2016-04-14 11:39:11 +02:00
Jean-Yves Avenard c2567cb4bd Bug 1264622: [MP4] Resync stagefright's updateAudioTrackInfoFromESDS_MPEG4Audio with upstream. r=kentuckyfriedtakahe
This adds support for parsing AOT audio specific config (which contains extended channels layout).

MozReview-Commit-ID: 7yNGBEAI7sv

--HG--
extra : rebase_source : 6f29c04f1f29785ba097d64df13794f80672fb50
2016-04-14 23:32:40 +10:00
Chris Peterson 4a84eac069 Bug 1264208 - Enable libav assertions. r=jya
--HG--
rename : media/ffvpx/cpu_perms.h => media/ffvpx/libavutil_visibility.h
2016-04-10 22:25:56 -07:00
Michael Froman eeafb75c78 Bug 1264344 - Don't restart ICE on first CreateOffer call if iceRestart option is true. r=bwc
MozReview-Commit-ID: 18qpyjAo0By

--HG--
extra : rebase_source : 172dcd1dfe95bdad684a4ce9a352183f2e77bafc
2016-04-13 11:41:05 -05:00
Paul Adenot c769964bb2 Bug 1264594 - Update libcubeb to revision 727121. r=kinetik
MozReview-Commit-ID: 26uBiAvDcFy
2016-04-14 12:33:18 +02:00
Randell Jesup cb5f591b1b Bug 1263735: Update libcubeb to remove wasapi stubbing for enumeration r=kinetik
Also removes two spurious includes that were landed as possible bustage fixes in mozilla

MozReview-Commit-ID: 5PIxLpEAFmI
2016-04-11 17:19:46 -04:00
Michael Froman 438bea1ee6 Bug 906986 - Rework rollback/finalize to include a committed state. r=bwc, r=drno
MozReview-Commit-ID: z7uEn5xEBf

--HG--
extra : rebase_source : 18565a3c49045af9445a93de8753110169caf465
2016-04-05 20:12:04 -05:00
Michael Froman e2e642f12e Bug 906986 - Ice restart and tests. r=bwc, r=drno, r=smaug
MozReview-Commit-ID: AMEi7SZebBG
MozReview-Commit-ID: GS2EkamNGc7

--HG--
extra : rebase_source : f715bc837331028f6b5e22820c530e34ca5bedb8
2016-04-08 09:20:53 -05:00
Michael Froman 3afe176e86 Bug 906986 - Wrap NrIceCtx in NrIceCtxHandler which will allow us to handle ice restart. r=bwc, r=drno
MozReview-Commit-ID: 8MEfEBf2Pvi

--HG--
extra : rebase_source : ca23f499f155593e0601f918ab16ee38fae35f42
2016-03-31 14:12:19 -05:00
Michael Froman ae71fe6a8c Bug 906986 - Genericize some of the test setup and improve logging. r=bwc, r=drno
MozReview-Commit-ID: 7HddAbcncFC

--HG--
extra : rebase_source : fd418ab3493011f25ed8aaaea50549474d29108b
2016-03-31 11:31:58 -05:00
Michael Froman d4c059685e Bug 906986 - Use the streams from the ice_ctx, don't hold a separate set. r=bwc, r=drno
MozReview-Commit-ID: FwomOrICh70

--HG--
extra : rebase_source : bdb08ab1cb8e6c5779171e30aecb282bd5e30e24
2016-03-31 10:17:28 -05:00
Michael Froman ac55e03a26 Bug 906986 - Rework fix for Bug 1241690 to avoid reliance on NrIceCtx inside NrIceMediaStream. r=bwc, r=drno
MozReview-Commit-ID: 1QCfbZUGdwM

--HG--
extra : rebase_source : e47546e226839410b65013c66eab53b0212e86fe
2016-03-31 09:24:17 -05:00
Michael Froman 04ec3df956 Bug 906986 - Disable TestSrflxCandPairingFilter until bug 1226838 is fixed. r=bwc, r=drno
MozReview-Commit-ID: 5QFUeqDG4dh

--HG--
extra : rebase_source : a7c3f93e33072d0645339a6a169d49a9f58b04f2
2016-03-31 09:16:23 -05:00
Nils Ohlmeier [:drno] 4d0aaaafea Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
MozReview-Commit-ID: 8PpL6Z0za71

--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
Ralph Giles 2a3fb1bc74 Bug 1262637 - Remove rust mp4parse sse2 check. r=ajones
This reverts bug 1255869 which added a runtime check for sse2
support to work around sse2 instructions in the rust standard
library targeting i686-pc-windows-msvc.

We now make official builds against i586-pc-windows-msvc which
should omit the sse2 instructions which aren't supported for
all our current users.
2016-04-06 15:30:00 -07:00
Andreas Pehrson 92b0ad8df1 Bug 1248154 - Default to 0x0 frame size before receiving any frames. r=pkerr
MozReview-Commit-ID: 50et98ezPvV

--HG--
extra : rebase_source : c51bf77774e2d088ca8613b9b661d66133e9bb9b
2016-04-07 17:50:53 +02:00
Andreas Pehrson a64c4b22bd Bug 1208371 - Do image format conversion async in MediaPipeline. r=jesup
This is necessary since frame conversion could stall the MediaStreamGraph,
causing delay buildups and other junk.

This passes frames to a TaskQueue that converts on its own thread pool and
passes them on to VideoConduit when converted.

If the TaskQueue already has some buffered tasks (3 for now) we will drop new
frames coming in.

MozReview-Commit-ID: FXQyN0LecrX

--HG--
extra : rebase_source : 235789ba34608071e1934215f730e9b3493051a0
2016-03-18 11:01:26 +01:00
Andreas Pehrson 3693b06c8b Bug 1208371 - Update sink identity after adding track. r=mt
MozReview-Commit-ID: HL4YvBe3SuN

--HG--
extra : rebase_source : 50fde927644202fee6f7d08cbf5b0efaba3e75d8
2016-03-14 11:53:21 +01:00
Andreas Pehrson 3f68d5c8e1 Bug 1208371 - Don't treat audio chunks as mutable in MediaPipeline. r=padenot
MozReview-Commit-ID: 26VPBK2WOsB

--HG--
extra : rebase_source : e66f941c8ea41af28245991e2daeeb76ca4dea47
2016-03-10 15:36:10 +01:00
Andreas Pehrson 056ff9c9d0 Bug 1208371 - Never send more than one disabled frame in a row to the WebRTC encoder. r=jesup
MozReview-Commit-ID: 1F7zjGz32ad

--HG--
extra : rebase_source : 57a55bdaaa24b62654f2c4c78ffb038085fbd1b9
2016-03-10 14:35:50 +01:00
Andreas Pehrson 785d6859a4 Bug 1208371 - Forward declare MediaStreamGraph classes in MediaPipeline.h. r=bwc
MozReview-Commit-ID: DsDHelzMsz0

--HG--
extra : rebase_source : b83f9298795de1ae803930f17df4ba18f00e8425
2016-01-26 16:19:08 +08:00
Andreas Pehrson ee5913bb8b Bug 1208371 - Move MediaStreamTrack's label to MediaStreamTrackSource. r=jib
MozReview-Commit-ID: Aj7Cht4zxc6

--HG--
extra : rebase_source : c454a9f2b81a6a1eb574c1abee0fab64abbe5b72
2016-01-22 16:27:37 +08:00
Andreas Pehrson 3d73308fdd Bug 1208371 - Clean up unnecessary virtuals in MediaPipeline. r=bwc
MozReview-Commit-ID: 1XTgE5oSdAs

--HG--
extra : rebase_source : f285efd02d8f409bc5c97cc9750b832f073944c0
2016-01-22 11:34:15 +08:00
Andreas Pehrson ae216eef78 Bug 1208371 - Forward declare MediaStreamTrack in MediaPipeline.h. r=bwc
MozReview-Commit-ID: C6PCMIEJVQD

--HG--
extra : rebase_source : 616306c7cd1f773bc31a3fbe24c32d56961b4b90
2016-01-22 11:33:43 +08:00
Andreas Pehrson b631e13d54 Bug 1208371 - Hook up MediaPipeline with PrincipalHandle. r=mt,bwc
MozReview-Commit-ID: DLyLZu7kC3p

--HG--
extra : rebase_source : 839de544b55fb98e610fec04d45551249d1af57b
2016-03-03 17:30:39 +01:00
Andreas Pehrson be74876e25 Bug 1208371 - Add PrincipalHandle to MediaChunks. r=mt,jesup
PrincipalHandle is a thread safe pointer to a holder of (the main-thread-only
nsIPrincipal) that can be passed around the MSG.

A MediaStreamTrack whose source has just updated its principal, sets the new
principal aside (as its "pending principal"), and combines the new principal
into its current principal.

Then the source starts passing the new principal to the MediaStreamGraph as
a PrincipalHandle.

Changes to a track's PrincipalHandle on the MSG will be surfaced through the
MediaStreamTrackListener API. These changes are dispatched to main thread
and compared to a MediaStreamTrack's pending principal. In case of a match
the track knows the correct principal is flowing and can move the pending
principal to be the current principal and update any main thread principal
observers.

MozReview-Commit-ID: D0JXGWhQFFU

--HG--
extra : rebase_source : 296e269bb46fc5a85a9c3f90dfc0dc40e53572bc
2016-04-06 14:56:44 +02:00
Andreas Pehrson 2fb962f7fd Bug 1208371 - Let PeerConnection consume principals from tracks instead of streams. r=mt
MozReview-Commit-ID: 4kp8wTFohxZ

--HG--
extra : rebase_source : 02cc59262bd2574686d5bb41b49768814afd52b7
2016-03-10 17:35:35 +01:00
Andreas Pehrson f1662d16c9 Bug 1208371 - Switch MediaPipeline to use direct listeners on tracks. r=jesup,bwc
MozReview-Commit-ID: BSSfkTwXoVN

--HG--
extra : rebase_source : 8f001d4513062bb426f0a18670a3692ecf737a52
2016-03-18 14:21:51 +01:00
Andreas Pehrson cee42d7c20 Bug 1208371 - Move PeerConnection to use PeerIdentity on MediaStreamTrack. r=mt
MozReview-Commit-ID: ILNizs4dzmx

--HG--
extra : rebase_source : f0a6aa81a6b04e2db6c8bc746fe19c2ba92e18b4
2016-01-05 10:16:29 +08:00
Andreas Pehrson eb7cd31741 Bug 1208371 - Make PeerIdentity RefCounted. r=mt
This so it can be shared between multiple tracks.

MozReview-Commit-ID: 3mjQImVY0f8

--HG--
extra : rebase_source : 9c8d11bb38e06a2cf5f7bf1c24ca657e28387682
2016-01-05 10:16:28 +08:00
Andreas Pehrson 0decc9b8a0 Bug 1208371 - Resolve ambiguous symbol MediaStreamTrack. r=bwc
MozReview-Commit-ID: KaFvTMxOiJQ

--HG--
extra : rebase_source : 1d85778755647cd4757b309634257b6d6d32f120
2016-01-05 10:16:27 +08:00
Andreas Pehrson a47ce20618 Bug 1208371 - Rename CreateOwnDOMTrack/CreateClonedDOMTrack to CreateDOMTrack/CloneDOMTrack. r=jib
MozReview-Commit-ID: DOGiwcYycJY

--HG--
extra : rebase_source : 197fc7a7c5d36200f987c38f26ab77ec8ea2d290
2016-01-05 10:16:26 +08:00
Andreas Pehrson 0396985d77 Bug 1208371 - Route ApplyConstraints through MediaStreamTrackSource. r=jib
MozReview-Commit-ID: CnJnxszKU4o

--HG--
extra : rebase_source : f5ef65897108b3feadd51b8b11a47f65a7a71ff1
2016-02-01 22:43:38 +08:00
Andreas Pehrson 5f32f21927 Bug 1208371 - Remove MediaStreamTrack::GetStream. r=jib
MozReview-Commit-ID: GP0Mo3CZZ8E

--HG--
extra : rebase_source : 196b149a180e033e021366790bf662037c4ec89f
2016-02-01 22:48:05 +08:00
Andreas Pehrson 84740b0197 Bug 1208371 - Make it possible to look up stream id by track in PeerConnectionImpl. r=jib
This attempts to get rid of uses of MediaStreamTrack::GetStream() in
PeerConnectionImpl but does unfortunately not go all the way. There's
still a use case in ReplaceTrack() so we handle it for now by making
PeerConnectionImpl a friend of MediaStreamTrack.

MozReview-Commit-ID: K4sKjWqjOSI

--HG--
extra : rebase_source : 913e7280151a275c8866ff44fa1886d8e2dc6660
2016-01-15 12:48:51 +08:00
Andreas Pehrson 4ce83c6b90 Bug 1208371 - Make PeerConnectionImpl pass its principal to MediaStreamTrack through a new RemoteTrackSource. r=mt
MozReview-Commit-ID: BxjQCHnmbDd

--HG--
extra : rebase_source : 475db7268fcb7b377c942c0999ab02967aa8a606
2016-01-14 21:07:12 +08:00
Andreas Pehrson 7d39fb28c3 Bug 1208371 - Break PCImpl::SetRemoteDescription into smaller pieces. r=mt,bwc
MozReview-Commit-ID: KzhcdLv4uen

--HG--
extra : rebase_source : 89177bd030e32206f67b617023846c43da6740c3
2016-01-22 14:38:50 +08:00
Andreas Pehrson 5cc032f3e6 Bug 1208371 - Turn DOMMediaStream::PrincipalChangeObserver into PrincipalChangeObserver<DOMMediaStream>. r=mt
MozReview-Commit-ID: JkBUEGdavZX

--HG--
extra : rebase_source : aca48148a30fc16db6a6435c592480a61174d96b
2016-01-22 12:10:41 +08:00
Andreas Pehrson f52f9b9310 Bug 1208371 - Add convenience method for checking if TrackID is explicit. r=roc
MozReview-Commit-ID: 330Fk17FJD4

--HG--
extra : rebase_source : 27395cdf427e6096f90097c1502b7930162d2c3e
2016-01-05 10:16:22 +08:00
Andreas Pehrson 9899305f28 Bug 1208371 - Add a MediaStreamTrackSource interface. r=roc
This lets a MediaStreamTrack communicate with its source/producer on the
main thread. It's for now used for stopping a track at the source and
retrieving some metadata, but it could also be a link between actual
sinks of a track and the source, to for instance let the source optimize
by scaling down the resolution when all sinks want lowres-video.

MozReview-Commit-ID: D4SJLr0aqhJ

--HG--
extra : rebase_source : ea511b5c86ca4836bfa980825f04617fef498261
2016-04-06 14:46:56 +02:00
Andreas Pehrson 88628853b2 Bug 1208371 - Move OnTracksAvailableCallback out of DOMMediaStream. r=roc
So it can be forward declared.

MozReview-Commit-ID: 4RH7p8AzO84

--HG--
extra : rebase_source : e9c4ef72029de4ed09dca3b51ba2b46829f41d14
2016-01-05 10:16:21 +08:00
bechen fd7bde80bb Bug 1215115 - part2: Mux opus into webm, remove bitdepth. r=rillian
MozReview-Commit-ID: 7D74vONbkFP

--HG--
extra : transplant_source : 2%AA%C8%F34%1E%CF%3C%9B%88%AC%AD%9F-%DC%7C%FE%B1m%5D
2016-04-01 11:04:00 +08:00
Makoto Kato 933513d8df Bug 1262335 - Part 4. Remove Android GB/HC OMX code. r=snorp
MozReview-Commit-ID: 4mkPBNXG6Jl

--HG--
extra : rebase_source : c186dc855cc1dc2bbb731a7b05fa52aca5beb169
2016-04-06 17:31:13 +09:00
Makoto Kato daa228c32b Bug 1262335 - Part 2. Remove Android GB/HC defines from OMX. r=snorp
MozReview-Commit-ID: HKbYZXftKBc

--HG--
extra : rebase_source : ac07306100914857848ca58714a517c4069711da
2016-04-06 17:30:17 +09:00
Nico Grunbaum f5e5add0aa Bug 1260784 - fix Stop Debug Mode button r=jesup
MozReview-Commit-ID: JHt5jWaY4xK
2016-03-30 09:12:15 -07:00
Nathan Froyd d7dfb00a02 Bug 1261116 - only compile libcubeb's test_resampler if PulseAudio is enabled; r=kinetik 2016-03-31 13:06:04 -04:00
Jan-Ivar Bruaroey aa408de276 Bug 1254187: Fix maxBitrate to respect simulcast. r=jesup
MozReview-Commit-ID: 51dz5y0q6qQ

--HG--
extra : rebase_source : 2b25f67832214cc9f6f816e9a70c119329a7b083
2016-04-01 15:10:47 -05:00
Byron Campen [:bwc] 7325e61fd6 Bug 1258753: Base candidate pair priority on controlling/controlled. r=drno
MozReview-Commit-ID: 6RAFaAtBbJq

--HG--
extra : rebase_source : 976b63d44fc7c50efa8f40b067cf45b56c66ed09
extra : source : 7b6263bcd3d7e9148914f5aaace10fc69ea0395d
2016-03-22 12:22:56 -05:00
Mike Hommey d06322ac66 Bug 1257888 - Link chromium mutex-based atomics implementation to webrtc signaling tests. r=froydnj 2016-03-30 07:21:07 +09:00
Randell Jesup bbbc6476fd Bug 1256430: start AEC log independently of webrtc TRACE r=jesup,pkerr 2016-03-29 11:32:54 -04:00
Nicholas Nethercote ea9bc73f05 Bug 1254780 (attempt 2) - Shrink log_types from 1024 entries to 16. r=ekr.
MozReview-Commit-ID: KWrOTuTlt6H

--HG--
extra : rebase_source : 36ec95f4584ea0d67286e9956456dffbe5294401
2016-03-11 10:06:32 +11:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Randell Jesup e8ac0554c8 Bug 1251502: _XOPEN_SOURCE level fix rs=bustage
on a CLOSED TREE

MozReview-Commit-ID: JUCRshXkC83
2016-03-27 19:06:37 -04:00
Randell Jesup 21d6b08430 Bug 1251502: include bustage fix rs=bustage
MozReview-Commit-ID: HTnSyDGKddY
2016-03-27 17:32:33 -04:00
Alex Chronopoulos 8747368bb1 Bug 1251502 - Add a duplex AudioUnit implementation. r=kinetik,padenot
MozReview-Commit-ID: Fbx9Qlsc50j
2016-03-25 17:44:37 +01:00
Paul Adenot aba1a5fcce Bug 1251502 - Add a generic duplex resampler and a duplex WASAPI implementation. r=kinetik
This also imports various other commits from cubeb.

MozReview-Commit-ID: 4oUwHR8EUvd
2016-03-25 17:44:02 +01:00
Alex Chronopoulos 15a8cce414 Bug 1251502 - Update cubeb's udpate.sh script to account for new files. r=kinetik
MozReview-Commit-ID: 6sA4rvsoczP
2016-03-25 17:43:02 +01:00
Alex Chronopoulos 97cb78e3ec Bug 1251502 - Update moz.build for cubeb tests. r=kinetik
MozReview-Commit-ID: DBUde7unwfL
2016-03-25 17:42:44 +01:00
Alex Chronopoulos f8e11f59de Bug 1251502 - Compile the resampling code in cubeb for OSX and Linux. r=kinetik
MozReview-Commit-ID: FqDBIojiAuF
2016-03-25 17:42:30 +01:00
Alex Chronopoulos 8c04e867b0 Bug 1251502 - cubeb does not use cubeb-stdint.h anymore, remove it from moz.build. r=kinetik
MozReview-Commit-ID: AzEmEec1jS
2016-03-25 17:42:10 +01:00
Byron Campen [:bwc] 6765c70f22 Bug 933986. Switch over from index to an id, and ensure uniqueness when feeding into the candidate priority calculation. r=drno
MozReview-Commit-ID: 5LOQJbsnEWN

--HG--
extra : rebase_source : 644695f73f316fa8e71e410442f3796822e3255a
2013-11-04 16:50:10 -08:00
Wes Kocher 739bbe42b0 Backed out changeset 5d1c109f708b (bug 1256430) for android build bustage CLOSED TREE
MozReview-Commit-ID: dVx9S3N7y5

--HG--
extra : amend_source : e68b76d577c0d8c3b6228782c9d937c6facd2417
2016-03-25 11:56:52 -07:00
[:ng] 8e69ead3a7 Bug 1256430: start AEC log independently of webrtc TRACE; r=pkerr
MozReview-Commit-ID: 9TlmjwjKXIL
2016-03-20 16:51:45 -07:00
Byron Campen [:bwc] 03253b8221 Bug 1256720: Remove a bad assertion, and simplify some code. r=drno
MozReview-Commit-ID: 3h52q8Wrp8R

--HG--
extra : rebase_source : a1cf4d7fa29e4ed7bb6a1f5be19d1b2af2ef5316
2016-03-24 15:05:53 -05:00
Jan-Ivar Bruaroey 9ff449087b Bug 1259236 - throw NotSupportedError on pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: LBP9CybRmrI

--HG--
extra : rebase_source : f9deb3cca7e891562a3cbe5766f027dabcdf6ed9
2016-03-24 12:45:22 -04:00
Sebastian Hengst 4029855eed Backed out changeset e139011ede5b (bug 1254780) for crashes in mozilla::gfx::Log<1,mozilla::gfx::CriticalLogger>::WriteLog on Windows 7 debug. r=backout 2016-03-24 10:52:52 +01:00
Nicholas Nethercote d6246f169d Bug 1254780 - Shrink log_types from 1024 entries to 16. r=ekr.
--HG--
extra : rebase_source : 7cc7a749b080fb3e35c9b8cf285ff88738ef3234
2016-03-11 10:06:32 +11:00
Gregory Szorc 6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Trevor Saunders b744ac7d84 bug 1250492 - include sstream in SdpMediaSection.h instead of iostream r=jesup
It gets rid of a couple static constructors, and should make the build slightly
faster since we compile less code.
2016-03-23 09:26:01 -04:00
Trevor Saunders 4b87a31ba8 bug 1250492 - use tl::Max instead of std::max to get rid of a static constructor r=jesup
std::max is only constexpr in c++14 and >, but we build as c++11 so
initializing a constant with std::max ends up with a static constructor.
Fortunately we have tl::Max around which forces evaluation of the math at
compile time.
2016-03-23 09:25:48 -04:00
Matthew Gregan 358dd6f8a1 Bug 1257699 - Update in-tree libnestegg. r=giles 2016-03-23 13:47:14 +13:00
Randell Jesup 6f22cfc9fb Bug 1247574: Force webrtc audio input processing to resample to target rate to fix 16KHz mics. r=padenot
MozReview-Commit-ID: BBZcX03Z6Kn
2016-03-19 16:05:13 -04:00
Ralph Giles 484761817e Bug 1255866 - stagefright: Fix unused variable warnings. r=ajones
MozReview-Commit-ID: 7UwVTewfYde
2016-03-21 14:20:43 -07:00
Byron Campen [:bwc] 1327e24325 Bug 1256750: Remove unnecessary sscanf_s parameter on windows, and fix format string everywhere else. r=jesup
MozReview-Commit-ID: 3YFhTbGg5ec

--HG--
extra : rebase_source : 5a7de94ed893d9434b6195f029d7c634c9f848a0
2016-03-15 14:10:28 -05:00
Randell Jesup d6e073cec4 Bug 1254876: assert windows recording is shut down r=pkerr 2016-03-21 02:57:13 -04:00
Byron Campen [:bwc] 02772181cb Bug 1257472: Forgive rport of 0. r=drno,ekr
MozReview-Commit-ID: 12YyYqrt3wR

--HG--
extra : rebase_source : b3e8397a0c29f8a9d354e4081fcf76e103fd11d8
2016-03-17 10:50:33 -05:00
Randell Jesup 9865e1f013 Bug 1257616: We can release Conduits immediately if we're on MainThread already r=drno 2016-03-17 20:45:09 -04:00
Jacek Caban 01fffbb313 Bug 1257270 - Use std::nullptr_t instead of nullptr_t in WMFUtils.h. r=cpearce 2016-03-17 10:39:46 +01:00
Martin Thomson 7d88785757 Bug 1251822 - Disable ChaCha20Poly1305 for unit tests that check cipher suite, r=ekr
MozReview-Commit-ID: H7IW0iOTAzx

--HG--
extra : rebase_source : 7d637e24ea89c0d070fbe0511dd445f8d11e51f6
2016-03-16 17:52:49 +11:00
Jean-Yves Avenard aa950b3d46 Bug 1232313: [mp4] Use cumulative decode time if tfdt box is not present. r=kentuckyfriedtakahe
Per ISO 14496-12, the Track fragment decode time (tfdt) is optional.

MozReview-Commit-ID: LNrMPYlkDvt

--HG--
extra : rebase_source : fbacde893352db9248a3ebe6a62b2042eb3106b6
2016-03-16 18:58:48 +11:00
Jean-Yves Avenard c2467e583e Bug 1254721: Ensure consistency between Cenc offsets and sizes table. r=gerald
MozReview-Commit-ID: E1KbKIIBR87
2016-03-16 16:59:05 +11:00
Jean-Yves Avenard e9909fb19d Bug 1254731: [mp4] P2. Remove unused parsing of creation date. r=gerald
We just don't care about it in our use.
Additionally, gmtime and strftime are not thread safe at all (they use global static internally)

MozReview-Commit-ID: HfRpCyx4MpK
2016-03-16 16:56:27 +11:00
Jean-Yves Avenard 4ca801910c Bug 1254731: P1. Check for overflow and that conversion succeeded. r=gerald
MozReview-Commit-ID: Cs33P9QyP2V
2016-03-16 16:56:27 +11:00
Nils Ohlmeier [:drno] eca4273031 Bug 1233181: improve misleading log message about missing STUN & TURN servers. r?=mjf
MozReview-Commit-ID: sQzU9u96yP

--HG--
extra : rebase_source : 9a5d3198ee4d52fab556d2eace08aa41ea75cf5a
2015-12-16 12:00:27 -08:00
Mike Shal f33175df08 Bug 1254950 - Remove several media Makefile.ins; r=ted
MozReview-Commit-ID: 4dvngHQnH0b
2016-03-14 18:02:02 -04:00
Nicholas Nethercote 3101dc7152 Bug 820972 - Comment out colorTable[] because we don't need it. r=jesup.
This saves 64 KiB of static data.
2016-03-11 12:41:30 +11:00
Ralph Giles 2c98c3b096 Bug 1255869 - Don't call into mp4parse-rust on machines without sse2. r=kinetik
Work around sse2 instructions in the rust standard library
built for the i686-pc-windows-msvc target. We disable
sse2 code generation for our own code.

MozReview-Commit-ID: F6n0CmBd8dQ
2016-03-11 11:48:00 +13:00
Mike Hommey d464f29e5f Bug 1255813 - Remove build system support for Solaris, HPUX and AIX. r=ted 2016-03-15 07:34:50 +09:00
Ted Mielczarek 68bd5e8c4d bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
MozReview-Commit-ID: 9ip3qeAXFEe

--HG--
extra : commitid : H6aEkHprVyX
extra : rebase_source : e20d5f4b297caf66711c72cd55dd76f7f9ef9d9c
extra : histedit_source : 47545e0ea61eb66f16545f70e6d3792a389bedb1
2016-02-01 10:49:34 -05:00
Ted Mielczarek 86995dd661 bug 1248020 - convert a bunch of moz.build files to use USE_YASM. r=mshal
MozReview-Commit-ID: n59TejhJq6

--HG--
extra : rebase_source : a5fd47c48ae4f03fcd2b699d7283a8838d24449c
extra : amend_source : cdd00e6f76195956dd83f8a2e3109d453459d158
extra : histedit_source : 4e36a2c2ff01a2cb352a46b2f4d9062f14be5232
2016-03-03 11:38:59 -05:00
Ted Mielczarek 5c634ab869 bug 1248016 - make ASFILES rules work with .s/.asm, get rid of ASM_SUFFIX. r=mshal
MozReview-Commit-ID: 1MK0Kud51vR

--HG--
extra : rebase_source : de7a7f11bfbbac1e8eccc34de39dd2d88d803b03
extra : amend_source : d7eddb71b050e0576e783c6ce8c67f66cfd88e13
2016-03-01 13:47:19 -05:00
Christoph Kerschbaumer b47c0eea98 Bug 1254691 - Remove SEC_NORMAL from webrtc/. r=bwc 2016-03-10 08:52:34 -08:00
Boris Zbarsky 1228b7cbd3 Bug 1255269. Get rid of nsITCPSocketCallback.fireDataEvent. r=jdm 2016-03-10 18:07:28 -05:00
Timothy Nikkel 1f99404503 Bug 1187420. r=drc r=jmuizelaar a=abillings 2016-03-10 13:23:27 -06:00
Byron Campen [:bwc] 736356238e Bug 1248637: Prune duplicate CANCELLED candidate pairs. r=drno
MozReview-Commit-ID: HeErN7xMxbQ

--HG--
extra : rebase_source : d8f355e6cc74c73c3e9bc100a2bb2b2603931e55
2016-03-01 10:47:14 -06:00
Noel Gordon 6b3d2d0174 Bug 1050342. Fix a case where the fast huffman decoder in libjpeg-turbo can produce different results depending on how data is fed to it. r=seth
This change comes from the blink repo https://codereview.appspot.com/229430043/ and is unlikely to be accepted upstream into libjpeg-turbo.
2016-03-09 17:56:35 -06:00
Gian-Carlo Pascutto 568a64e79a Bug 1254507 - Fix leak in WebRTC DesktopApplication class. r=jesup
MozReview-Commit-ID: FLuQZcPyv0d

--HG--
extra : rebase_source : 24bc9507bb4abee94a1238176675948249c102f1
2016-03-08 14:14:05 +01:00
Gerald Squelart 2d4fdb1b57 Bug 1253471 - Remove Metadata hard-coded limit - r=jya
Instead of relying on some arbitrary limit for ftyp+moov box sizes, we check
for overflow and possible type truncations, and then let memory allocation
routines (e.g. MediaByteBuffer::SetLength) deal with actual memory limitations.

MozReview-Commit-ID: AXXxvdDYnnr
2016-03-08 17:25:33 +11:00
Nils Ohlmeier [:drno] 6d382efd5e Bug 1253198: add WebRtcIce prefix to all ICE unit tests. r=bwc
MozReview-Commit-ID: 5wD8Dl9ETkB

--HG--
extra : rebase_source : edf942c35be1d4caba5501b9395a70953eaa8344
2016-03-03 01:40:52 -08:00
Nils Ohlmeier [:drno] 01210346dd Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
MozReview-Commit-ID: A3yCZZ3Pwcu

--HG--
extra : rebase_source : 67d200194ed72076fcb6064f16ec94334f8fb5e7
2016-03-01 21:46:50 -08:00
Nils Ohlmeier [:drno] 1a7d746ecc Bug 1252777: skip over ICE TCP host candidate creation failures. r=bwc
MozReview-Commit-ID: 6l0ierHz5eL

--HG--
extra : rebase_source : 5bcce0063cf092f9eba278ea6790a0ada07eb82c
2016-03-02 01:27:01 -08:00
Byron Campen [:bwc] b0ba04fb55 Bug 1221473: Do not treat answer as authoritative wrt payload types. r=drno
MozReview-Commit-ID: 2uVn60j8QfC

--HG--
extra : rebase_source : 4f5ee469a514deb4e89745885cda34cb6061a660
2015-11-06 10:14:23 -06:00
[:ng] 9e95296e04 bug 1241064 - updating stats filter SSRC when audio channel SSRC changes; r=jib
bug: getStats was returning statistics for the shortlived, initial SSRC
now updating SSRC filter on statistics update callback to match audio channel ssrc
getStats API now returns statistics for correct SSRC: jitter, packets lost, etc.

MozReview-Commit-ID: WCd71WMkUW

--HG--
extra : rebase_source : 5d3a5a14e04313749173d264894e44411c3417bf
2016-03-03 08:03:06 -08:00
Nathan Froyd b938c57967 Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.

This patch merits a couple explanations:

- Where it made sense, I tried to convert:

    T* foo() {
      UniquePtr<T> x = ...;
      ...
      return x.release();
    }

  into:

    UniquePtr<T> foo()

  with corresponding changes inside |foo|'s body.

- The attentive reader will note that:

    auto x = MakeUnique<T>(...);

  is used sometimes and:

    UniquePtr<T> x(new T(...));

  is used sometimes.  I would prefer to use the former, but was stymied
  in several places due to protected constructors.  (MakeUnique doesn't
  have access to those protected constructors, natch.)
2016-03-02 15:28:27 -05:00
Makoto Kato 89dd964ab1 Bug 1252737 - use size_t instead of uint32_t for InitEncode(). r=jesup
Although 3rd parameter VideoEncodeer::InitEncode() is defiend as size_t, WebrtcIMXH264VideoCodec and WebrtcMediaCodecVP8VideoCodec uses uint32_t.  This will cause build error for 64bit platform.

MozReview-Commit-ID: 20NgE5e7Cuz

--HG--
extra : rebase_source : 6da7b73504843b1062daff2b6977743114c2591e
2016-03-02 13:05:43 +09:00
Nathan Froyd 9d78c6759b Bug 1252901 - don't use ScopedFreePtrTraits in MediaEngineWrapper.h; r=jesup
ScopedFreePtrTraits is somewhat of an internal implementation detail of
Scoped.h, and it's not hard to write out the two static functions we
need from ScopedFreePtrTraits anyway.  Removing this means that we can
clear the way for ScopedFreePtr to be removed.
2016-03-02 11:43:58 -05:00
Mike Hommey 1ba1737ec0 Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested. r=jesup 2016-03-03 06:28:10 +09:00
Byron Campen [:bwc] f1f2ee96b5 Bug 1037618 - Part 1: Add some logging to highlight TCP connection failures. r=drno
MozReview-Commit-ID: 4q84yGspvyX

--HG--
extra : rebase_source : 099d1dd32cc46ed96ac234fe0a65c85333acfdf1
2016-03-01 12:06:12 -06:00
Byron Campen [:bwc] f3294c2565 Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno
MozReview-Commit-ID: F7Dgk5gN4cs

--HG--
extra : rebase_source : 5a5b536b906a01dfb171008ba02ce3650abafca9
2016-03-01 13:59:43 -06:00