Commit Graph

2974 Commits

Author SHA1 Message Date
Matthew Gregan
7395e6dd6c Bug 1142746 - Make unexpected SL_PLAYEVENT_HEADATMARKER notification non-fatal. r=brsun 2015-03-17 13:30:40 +13:00
Ryan VanderMeulen
0f541272f0 Backed out changeset 7a53ee0cc3ae (bug 1136360) for Windows mochitest crashes.
--HG--
extra : rebase_source : 26d25e99c5b375f4e7a440638f897c9ae3b10e94
2015-03-16 15:04:51 -04:00
Paul Adenot
10f63e4d13 Bug 1136360 - Take into account the output device latency in the clock, and be more robust about rounding error accumulation, in cubeb_wasapi.cpp. r=kinetik 2015-03-16 18:12:38 +01:00
Paul Adenot
e95766a93b Bug 1141781 - Grip the VideoFrameContainer when queing a call to invalidate in the MediaStreamGraph. r=roc 2015-03-16 18:12:36 +01:00
Karina Li
60b4c34dcf Bug 1143556 - Set screen sharing mode or video mode for GMP plugin r=jesup 2015-03-16 14:27:28 +08:00
Jean-Yves Avenard
e939a4d7a8 Bug 1139271: Part3. Only consider a Box to be available if entire content is available. r=k17e 2015-03-16 23:08:56 +11:00
Jean-Yves Avenard
306c482476 Bug 1139271: Part2. Ignore partial moof. r=k17e 2015-03-16 23:08:56 +11:00
Jean-Yves Avenard
f907f6cb3d Bug 1139271: Part1. Add logging when encountering invalid atoms. r=k17e 2015-03-16 23:08:55 +11:00
Bobby Holley
ca9369a50d Bug 1141785 - Force all audio samples to be keyframes. r=k17e 2015-03-15 21:29:55 -07:00
Chris Peterson
df594b2b0d Bug 1143336 - Fix and suppress -Wunreachable-code-return warnings in media code. r=cajbir 2015-03-14 13:47:51 -07:00
Phil Ringnalda
571ce099b4 Back out 7f1f85ee4ba6 (bug 1143278) for Win7 near-permaorange in test_eme_canvas_blocked.html 2015-03-15 18:30:53 -07:00
Chris Pearce
151f899496 Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin 2015-03-15 11:30:24 +13:00
Byron Campen [:bwc]
f06b0305e8 Bug 1141652: Simplify RTCP bundle filtering to only filter for receive pipelines, based only on the SR SSRC. r=jesup
--HG--
extra : rebase_source : fa0f2603cd8ffd72a79ef4185b830664e82293ba
2015-03-12 09:08:13 -07:00
Byron Campen [:bwc]
ab30f80690 Bug 1136252 - Part 6: Extend timeouts for RTP/RTCP, until bug 1137948 can be fixed. r=mt
--HG--
extra : rebase_source : 1711785774baef8a91b5a0df13e21576887645c8
2015-03-06 15:16:39 -08:00
Byron Campen [:bwc]
c9db00156b Bug 1136252 - Part 5: Fix bug where candidates could be trickled before setRemote during renegotiation. r=mt
--HG--
extra : rebase_source : 45e085c338afc7670e9ea9f73c60291f0965cfa1
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
b60b6ef28e Bug 1136252 - Part 4: Remove/consolidate code in signaling_unittests. Includes removing most SDP checks, since that belongs in jsep_session_unittest. r=mt
--HG--
extra : rebase_source : 404cadd9d484a1665bbf269950d32de6b49931f3
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
e76afb6880 Bug 1136252 - Part 3: Remove some unnecessary sleeps in signaling_unittests. r=mt
--HG--
extra : rebase_source : 6b8520268248eace23bd046b5a353f2f35401fd4
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
55e37fd806 Bug 1136252 - Part 2: Wait for less RTP in signaling_unittests. r=mt
--HG--
extra : rebase_source : 3925bbf3893e01f2b464eb2aa8dab9f9619a0943
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
dbbe9296e9 Bug 1136252 - Part 1: Increase the number of instances of signaling_unittests that can be run in parallel. r=mt
--HG--
extra : rebase_source : cae8bff0a69665eaf2f5532293e8fa25d2178e23
2015-03-06 15:16:38 -08:00
Nils Ohlmeier [:drno]
88fadaa33d Bug 1136051 - component_insert_pair statrs checks only while we are still checking or haven't started pairing; r=bwc 2015-03-13 13:01:28 +01:00
Phil Ringnalda
47752f8090 Back out 1ee5457afe8c (bug 1142433) for frequent w-p-t-3 failures
CLOSED TREE
2015-03-12 20:28:14 -07:00
Jean-Yves Avenard
e08bc83ae4 Bug 1142433: Properly scale duration found in movie extend header box. r=k17e
--HG--
extra : rebase_source : c6e68f8c0510a4449f77cebbbfcc39ae4fbd24c3
2015-03-13 09:42:28 +11:00
Karina Li
635891f77c Bug 1138320 - Set screensharing mode or video mode for WebRTC video sources r=jesup 2015-03-12 14:14:29 +08:00
Jean-Yves Avenard
adf3e336a3 Bug 1128381: Part3. Handle on the fly video format change. r=cpearce
Add monitoring of the current SPS NAL and destroy/recreate H264 decoder as
required.

--HG--
extra : rebase_source : fbab04b0ae3b4be42eea34a1c6f1b19bf39ad2f0
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard
06ae6e08e7 Bug 1128381: Part2. Properly extract extradata from AVC1 sample. r=rillian
--HG--
extra : rebase_source : a67173bfcc4184211ab0b90e3b7634b1730288d5
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard
b54607fb46 Bug 1128381: Part1. Don't assert on empty extra_data. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : abb00650dc676d413d761f45085241df6a6cdd81
2015-03-12 11:07:19 +11:00
Sotaro Ikeda
ccf07f5419 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 12:32:38 -07:00
Jan-Ivar Bruaroey
d132e36539 Bug 1136871 - cleanup RtpSenders accounting to not rely on streams r=mt 2015-03-11 12:24:38 -04:00
Byron Campen [:bwc]
6fb59a4364 Bug 1136871 - Part 2: Clear up some inconsistencies with ReplaceTrack r=jib,smaug 2015-03-11 12:08:21 -04:00
Ryan VanderMeulen
d4a838cbc3 Backed out changesets cd5ec762afa1 and fad66e8fe874 (bug 1137515) for Nexus 5-L bustage.
CLOSED TREE

--HG--
extra : rebase_source : 59680d649177809d0a31d87091ab9d18070f7a0f
2015-03-11 12:35:08 -04:00
Sotaro Ikeda
80cec56356 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 07:18:23 -07:00
Byron Campen [:bwc]
d8c62b90a3 Bug 1140635: Remove |magic_num| fields from sipcc.
--HG--
extra : rebase_source : 33058033dedf71951bc4d8f435425c18ec875565
2015-03-06 15:58:53 -08:00
Byron Campen [:bwc]
662eee2c7e Bug 1140089: Call SetPullEnabled on all streams in PCMedia when offer/answer concludes. r=jesup
--HG--
extra : rebase_source : 4fce2dc54b67a04b3d9836bfc05baeb000257f8b
2015-03-06 14:37:11 -08:00
Wes Kocher
d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book
cc4d1b9af9 Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Thomas Zimmermann
9823b29ee9 Bug 1137151: Remove ref-counting from |OMXVideoEncoder| r=sotaro
Reference counting in |OMXVideoEncoder| is used inconsistently any actually
not necessary. This patch removed the code. Users are converted to auto
pointers.
2015-03-10 13:44:01 +01:00
Chris Pearce
0dc4e2d797 Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 19:46:20 +13:00
Chris Pearce
2af0bf1fce Bug 1141386 - Don't always assume base64 encoded EME key/Ids have padding stripped. r=edwin 2015-03-10 19:46:09 +13:00
Chris Pearce
cac8145b4b Bug 1141386 - Backout c2de53dd52d4 and 6fdc1033f217 for breaking the build. r=bustage. 2015-03-10 17:04:33 +13:00
Chris Pearce
11bfbec7ff Bug 1141386 - Test case for gmp-clearkey's base64 key/keyId decoding. r=edwin 2015-03-10 16:49:15 +13:00
Chris Pearce
896fc7df01 Bug 1141386 - Don't always assume base64 encoded EME key/Ids have padding stripped. r=edwin 2015-03-10 16:49:03 +13:00
Byron Campen [:bwc]
f6c5da1b53 Bug 1140637: Add jsep_session_unittest to testing/cppunittest.ini, and unbust it. r=jesup
--HG--
extra : rebase_source : 91980628dd06114ab24be29c9b77629fef387619
extra : amend_source : 10cd425cafef72cc3555b27e1f05acf25e8ec856
2015-03-09 14:45:46 -07:00
Cesar Guirao
0ac97b635c Bug 1139132: Fix Chroma offset on WebRTC remote video when width is not even r=jesup
Fixed chroma plane offset calculation when frame width/height is not even
2015-03-03 21:06:00 +01:00
Sotaro Ikeda
d35482f7d7 Bug 1140677 - Add RTPFragmentationHeader handling on gonk r=jesup 2015-03-09 18:36:23 -07:00
Ryan VanderMeulen
91323d7a02 Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
CLOSED TREE

--HG--
extra : rebase_source : c38820b067a8faf405bfae7f5b5fb1089bd29bbc
2015-03-09 16:35:06 -04:00
Jean-Yves Avenard
60fd94d4f2 Bug 1139779: Part1. Extract display dimension from SPS NAL. r=rillian 2015-03-10 21:19:41 +11:00
Dragana Damjanovic
a2a4213345 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-03-06 06:38:00 -05:00
Edwin Flores
96a3f8c908 Bug 1140933 - Handle empty subsample encryption information in SampleIterator - r=cpearce 2015-03-09 13:55:33 +13:00
Chris Pearce
d2907f0381 Bug 1140797 - Prevent fatal assert when doing base64 decode in gmp-clearkey. r=edwin 2015-03-09 08:27:18 +13:00
Chris Pearce
50770662aa Bug 1140797 - Make gmp-clearkey buildable outside of mozilla-central. r=edwin 2015-03-09 08:27:05 +13:00
Ethan Hugg
13e1747bf3 Bug 1140648 - WebRTC check codec config max frame rate is set before using r=jesup 2015-03-06 19:05:11 -08:00
EKR
ca5799606e Bug 1139144 - Remove unused empty() definition from databuffer.h. r=mt
--HG--
extra : rebase_source : 4ea88ac04ef457fbbe3707e9e7d9af511e107688
2015-03-03 12:49:37 -08:00
Byron Campen [:bwc]
376726d034 Bug 1137932: Unwind the stack before starting the DTLS handshake. r=mt
--HG--
extra : rebase_source : c74e9a09e40c5a0ef9e00ca4dd326bc0ac8a4319
2015-02-27 15:17:23 -08:00
Anthony Jones
8eff7a3ee8 Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-05 17:30:44 +13:00
Byron Campen [:bwc]
d19ee72543 Bug 1133051: Clean up SctpFlows on STS r=mt
--HG--
extra : rebase_source : cbc09ce944e4580e3e190766767612b98a8ced61
2015-02-13 13:32:01 -08:00
Ralph Giles
e8d1645b6c Bug 1139087 - Add moz.build bugzilla metadata for codecs. r=kinetik,gps 2015-03-03 11:36:00 -08:00
Martin Thomson
63701128a7 Bug 1115483 - Accept a match on any a=fingerprint value. r=ekr
--HG--
extra : rebase_source : aff16495f2be12cb4c06777df39b39ad32fc4e2e
2015-01-12 15:53:59 -08:00
Chris Pearce
889621fe9a Bug 1138777 - Don't do sync dispatch in gmp-clearkey AudioDecoder. r=edwin 2015-03-04 23:20:29 +13:00
Matthew Gregan
ee400f62d6 Bug 1136107 - Handle reconfiguring audio device if it went away while the stream was stopped. r=padenot 2015-03-02 18:07:43 +13:00
Randell Jesup
fef42c5c7a Bug 1137472: test vp9 sdp in sdp_unittests r=bwc 2015-03-03 23:46:16 -05:00
Ralph Giles
30c1cb6a48 Bug 1119973 - Update libvorbis to upstream 1.5.3. r=kinetik 2015-03-03 09:54:00 -08:00
Randell Jesup
00a74cff8f Bug 1137472: Basic VP9 signaling/pipeline/conduit support r=bwc 2015-03-03 01:31:33 -05:00
Randell Jesup
c9b6a04ac4 Bug 1137474: Fix depacketization of "Generic" encoded RTP video r=pkerr 2015-03-03 01:31:33 -05:00
Randell Jesup
f91175ae7f Bug 1137474: Basic vp9 support added to upstream (using 'generic' packetization) r=pkerr 2015-03-03 01:31:33 -05:00
Andreas Pehrson
9b19093204 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson
68db4947b3 Bug 1129263 - Part 5. Add intial remote PeerConnection tracks atomically to SourceMediaStream. r=jesup 2015-02-11 16:21:11 +08:00
Chris Peterson
e4a0d35e15 Bug 1136004 - Fix -Wthread-safety-analysis warning in webrtc. r=jesup 2015-03-02 19:51:29 -08:00
Byron Campen [:bwc]
c1cdd99c64 Bug 1133866: Some refactoring and simplification in JsepSessionImpl. r=mt
--HG--
extra : rebase_source : 64e445b182c7b1fad514d354cc6bf1f4abfecd7f
2015-02-25 08:36:01 -08:00
Nigel Babu
16d71fc156 Backed out changeset a622dbe33efb (bug 1135544) for ASAN mochitest-3 bustage on CLOSED TREE 2015-03-02 18:13:39 +05:30
Anthony Jones
ad3b3d35da Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-02 16:34:44 +13:00
Chris Pearce
1618c6fa37 Bug 1137489 - Fix unified build failure in gmp-clearkey. r=edwin 2015-02-28 16:15:18 +13:00
Chris Pearce
e4ef49ff55 Bug 1136986 - Fix unthreadsafe uses of GMPVideoHost in gmp-clearkey. r=edwin 2015-02-28 10:23:33 +13:00
Ethan Hugg
b7a81f04b3 Bug 1137508 Change H264 maxPayloadSize to 0 for Mode 1 r=jesup 2015-02-26 15:29:36 -08:00
Felix Janda
573c0c5d46 Bug 1130175 - nICEr: avoid sysctl.h include. r=bwc 2015-02-05 22:24:20 +01:00
Gian-Carlo Pascutto
1482147cb9 Bug 1123012 - Just return a NULL ptr instead of casting NULL. r=jesup 2015-02-25 08:31:11 +01:00
Mike Hommey
66edb0fc3b Bug 1135942 - Enable MMX/SSE code unconditionally in libsoundtouch, it does runtime detection anyways. r=padenot 2015-02-25 13:12:15 +09:00
Byron Campen [:bwc]
1c767dd0c0 Bug 1135902: Set stream id on fake media streams. r=drno
--HG--
extra : rebase_source : edf3e19236c05d6040ae2320d7f385105a30efe2
extra : amend_source : 79efc1ed9537b5710516e9883dc91f45c344847e
2015-02-23 15:19:17 -08:00
Ehsan Akhgari
5bff0c0b03 Bug 1135753 - Mark some overridden virtual functions in WebRTC as MOZ_OVERRIDE; r=mt 2015-02-24 09:51:57 -05:00
Matthew Gregan
bbfbfbf28c Bug 1135878 - Simply post-error cleanup logic in WASAPI cubeb backend. r=padenot 2015-02-24 13:42:33 +13:00
Randell Jesup
05c71da4ba Bug 1136004: fix TSAN warning in webrtc when RED isn't enabled r=cpeterson 2015-02-24 02:08:04 -05:00
Gian-Carlo Pascutto
71cad0a045 Bug 1134991 - Failure to set up voice communication mode in OpenSLES should not be fatal. r=jesup 2015-02-20 19:13:13 +01:00
Randell Jesup
1d16a313f3 Bug 1128116: Fix decoding H264 in webrtc where SPS & PPS aren't in a STAP-A packet r=ehugg
FF 37 and before didn't encode SPS/PPS into a STAP-A packet, and the
webrtc.org in branch 40 code doesn't handle that (common) case.
2015-02-22 19:10:59 -05:00
Makoto Kato
911ef245b5 Bug 1061339 - Part 2: Build AVX code on all Windows build. r=rillian, r=ted 2015-02-16 23:10:00 -05:00
Makoto Kato
fcc34bf07a Bug 1061339 - Part 1: Always use VS2013 target. r=rillian
--HG--
rename : media/libvpx/vp8_rtcd_x86-win32-vs8.h => media/libvpx/vp8_rtcd_x86-win32-vs12.h
rename : media/libvpx/vp8_rtcd_x86_64-win64-vs8.h => media/libvpx/vp8_rtcd_x86_64-win64-vs12.h
rename : media/libvpx/vp9_rtcd_x86-win32-vs8.h => media/libvpx/vp9_rtcd_x86-win32-vs12.h
rename : media/libvpx/vp9_rtcd_x86_64-win64-vs8.h => media/libvpx/vp9_rtcd_x86_64-win64-vs12.h
rename : media/libvpx/vpx_config_x86-win32-vs8.asm => media/libvpx/vpx_config_x86-win32-vs12.asm
rename : media/libvpx/vpx_config_x86-win32-vs8.h => media/libvpx/vpx_config_x86-win32-vs12.h
rename : media/libvpx/vpx_config_x86_64-win64-vs8.asm => media/libvpx/vpx_config_x86_64-win64-vs12.asm
rename : media/libvpx/vpx_config_x86_64-win64-vs8.h => media/libvpx/vpx_config_x86_64-win64-vs12.h
rename : media/libvpx/vpx_scale_rtcd_x86-win32-vs8.h => media/libvpx/vpx_scale_rtcd_x86-win32-vs12.h
rename : media/libvpx/vpx_scale_rtcd_x86_64-win64-vs8.h => media/libvpx/vpx_scale_rtcd_x86_64-win64-vs12.h
2015-02-16 21:15:00 -05:00
Martin Thomson
f11edd5123 Bug 1132813 - Enabling DTLS 1.2 for WebRTC, r=abr 2015-02-21 10:35:21 +13:00
Nils Ohlmeier [:drno]
b25a2bb677 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno]
629772a073 Bug 1089798 - Implemenation of MediaStream IDs. r=bwc 2015-02-19 12:59:00 -05:00
Chris Pearce
2880c3a9b1 Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00
Jean-Yves Avenard
fc5089207f Bug 1134064: Part3. Don't evict partial data and make resource unplayable. r=k17e 2015-02-20 14:19:14 +13:00
Matthew Gregan
0bdf32b0cd Bug 1133386 - Introduce an XASSERT() macro to libcubeb rather than (ab)using assert(). r=padenot f=dmajor 2015-02-20 13:42:14 +13:00
Carsten "Tomcat" Book
dc0853c72b Backed out changeset abf7a473323c (bug 1089798)
--HG--
extra : rebase_source : c1248ca0d1b5f136c935a606f2968cc16aed2b7d
2015-02-19 10:31:42 +01:00
Carsten "Tomcat" Book
51d447f32c Backed out changeset a6ccfddbdac0 (bug 1089798)
--HG--
extra : rebase_source : bec618ddce6083d609ae1432b2b7c7366634a508
2015-02-19 10:31:37 +01:00
Paul Adenot
a6a9beffd3 Bug 1124411 - Add timeout when calling WaitForMultipleObjects to wallpaper over a deadlock. r=kinetik 2015-02-19 19:35:07 +13:00
Matthew Gregan
eda5e9c69f Bug 1134102 - Move cubeb's stream reconfiguration to render thread. r=padenot 2015-02-18 18:43:07 +13:00
Paul Adenot
67200dd25c Bug 1133190 - Don't use auto_unlock in paths where lock is being destroyed. r=kinetik 2015-02-19 19:35:06 +13:00
Paul Adenot
c3491769e4 Bug 1132034 - Properly round the number of frame for the accumulating clock in WASAPI. r=kinetik 2015-02-19 19:35:06 +13:00
Matthew Gregan
f7c07beb8f Bug 1134078 - Don't restart stopped cubeb streams when handling device change notifications. r=padenot 2015-02-18 16:06:55 +13:00
Nils Ohlmeier [:drno]
daec70e513 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno]
0084d83191 Bug 1089798 - Implemenation of MediaStream IDs. r=bwc 2015-02-17 22:52:00 -05:00
Jean-Yves Avenard
aa31157b0a Bug 1130450: Properly handle MP4 with Apple QT extension. r=k17e 2015-02-19 15:37:11 +13:00
Steve Singer
4f3952c197 Bug 1130223 - Add an implementation to the big endian conditional. r=jesup 2015-02-15 09:36:00 +01:00
Anthony Jones
28c7d528c1 Bug 1133572 - Use new demuxer for all sample fetches; r=cpearce 2015-02-18 19:13:15 +13:00
Anthony Jones
250218269a Bug 1133572 - Remove duplication of logic from GetNextKeyframeTime(); r=cpearce 2015-02-18 19:13:14 +13:00
Matthew Gregan
8b8ae2538d Bug 1132257 - Update cubeb from upstream. r=padenot 2015-02-17 11:52:59 +13:00
Byron Campen [:bwc]
794f966f80 Bug 1130534: Use a single bidirectional media conduit that MediaPipelines can attach/detach at will. r=jesup
--HG--
extra : rebase_source : 202a83e513d88bc14f1be2c5b438998461ff4a50
2015-02-10 10:11:24 -08:00
Byron Campen [:bwc]
248d6e6d79 Bug 1017888 - Part 2: Testing for renegotiation. r=mt, r=drno
--HG--
extra : rebase_source : 7434ef35ea6294966220f20431941e0790c4221c
2015-02-10 10:17:03 -08:00
Byron Campen [:bwc]
1f815978b4 Bug 1017888 - Part 1: Renegotiation support. r=mt, r=smaug
--HG--
extra : rebase_source : df1c2962ee88f75c6ad676b9cd79978a87dafb65
extra : amend_source : c938904331323ff3565624795ac76d82502f43fb
2014-12-10 15:53:54 -08:00
Jacek Caban
1de69a46f1 Bug 1133479 - Fixed media/gmp-clearkey build on mingw. r=cpearce 2015-02-17 11:18:04 +01:00
Jean-Yves Avenard
6dffa7b1fa Bug 1133478: Postpone parsing TRUN atom until we have all dependent atoms. r=k17e
Atoms may be out of order inside MOOF, in particular the TFDT may only be
defined after TRUN.
2015-02-17 16:22:52 +13:00
Chris Peterson
7eb58b57db Bug 1133291 - Remove unused code from Clear Key's openaes. r=cpearce 2015-02-15 22:07:10 -08:00
Bobby Holley
2cd7434422 Bug 1127554 - Do a fallible allocation in SampleIterator::GetNext. v1 r=mattwoodrow 2015-02-13 12:19:38 -08:00
Bobby Holley
ced4bbc434 Bug 1127554 - Make MP4Sample::Replace fallible. v1 r=mattwoodrow 2015-02-13 12:19:37 -08:00
Bobby Holley
6217aabf6a Bug 1127554 - Make MP4Sample::Prepend fallible. v1 r=mattwoodrow 2015-02-13 12:19:37 -08:00
Bobby Holley
620ec20063 Bug 1127554 - Make MP4Sample::Pad fallible. v1 r=mattwoodrow 2015-02-13 12:19:36 -08:00
Bobby Holley
f055cc749a Bug 1127554 - Get rid of infallible allocation in MP4Sample copy constructor. v2 r=mattwoodrow 2015-02-13 12:19:36 -08:00
Gian-Carlo Pascutto
cc4a1f03e4 Bug 1131960 - Check for NEON capability before using NEON code. r=derf
CLOSED TREE
2015-02-13 05:13:00 -05:00
Randell Jesup
40f518f5bf Bug 1108248: Swap CreateTimerQueueTimer() for timerSetEvent() in webrtc win32 code r=dmajor
Avoids limits on the number of realtime (timerSetEvent()) timers
2015-02-06 17:24:50 -05:00
Karina Li
e29d8e1845 Bug 1127642 WebRTC support for H.264 max_mbps r=jesup 2015-02-12 11:14:57 +08:00
Randell Jesup
687807441c Bug 1132193: Re-enable AEC debug logging in getUserMedia r=pkerr
Temporarily disabled by landing for upstream webrtc branch 40.  Also saves
as .wav format now
2015-02-12 07:46:59 -05:00
Jean-Yves Avenard
c2512b6c85 Bug 1128939: Part3. Allocate media buffer internal memory dynamically. r=k17e 2015-02-12 18:52:12 +11:00
Jean-Yves Avenard
4132c3064d Bug 1128939: Part2. Make sure we limit read to buffer size and handle error nicely. r=k17e 2015-02-12 18:52:12 +11:00
Matthew Gregan
670653d955 Bug 1131788 - cubeb: Unable to use InterlockedAdd64 on MSVC2010 (and mingw). r=padenot 2015-02-10 17:45:00 +13:00
Randell Jesup
c7a5446fd2 Bug 1124175: Remove limits on odd webrtc downsample sizes due to load/bitrate r=pkerr
Also convert assert to limits on max size
2015-02-11 17:29:01 -05:00
David Major
5e60171da8 Bug 1131871 - auto_com should only uninitialize when successful. r=padenot
--HG--
extra : rebase_source : 4af27a3e50b68ad1ee4d869b1a3bee3eeb4a1141
2015-02-12 10:33:45 +13:00
JW Wang
11407de1f6 Bug 1130917 - Part 2 - improve error handling of StoreData() and ReadData(). r=edwin. 2015-02-10 18:18:00 +01:00
Jean-Yves Avenard
dbc2bf7237 Bug 1128939: Part1. Ensure we have any space in the media buffer before writing. r=k17e 2015-02-11 17:40:13 +11:00
Paul Adenot
c32cf025e7 Bug 1131768 - Unlock before tearing down the stream in case of error, to avoid recursive locking. r=kinetik 2015-02-11 00:12:09 +01:00
Martin Thomson
9ec922dcb3 Bug 1129791 - Check connection state rather than context state. r=ekr
--HG--
extra : transplant_source : %E5RDV%AF%3B%9D%7C%0F%10%9BF3%BB%29%06%8C%92%CF1
2015-02-05 17:18:57 +11:00
Matthew Gregan
554ea67ff5 Bug 1131340 - Avoid template aliasing since GCC 4.6 lacks support. r=cpearce 2015-02-10 14:27:36 +13:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Paul Adenot
5098817b4c Bug 1127213 - Fix various issues with the device change notification in the WASAPI cubeb backend. r=kinetik
This patch does the following:
- Introduces an owned_critical_section object to be able to assert that a
  current thread owns a critical section
- Change the auto_lock to use the above, add auto_unlock (basically like the
  Gecko AutoEnter/AutoExit things)
- Fix an issue during audio output device switch where the clock would use the
  old sample rate. Apparently I did not notice this because my headset and the
  sound card on this laptop have the same rate
- Check that we could acquire a device_enumerator in the ctor before
  deallocating in the dtor, as that can happen if a ton of streams are running at
  once (I had this issue running the full mochitest suite)
- Stop getting another device_enumator in unregister_notification_client, fixing a leak
- Assert that setup_wasapi_stream and close_wasapi_stream are called with the lock held, this was the cause of the crash for this bug
- Make close_wasapi_stream clear out its state to make sure setup_wasapi_stream
  and close_wasapi_stream are called in the right order (especially, not two
  setup_wasapi_stream without close in between, since that would leak stuff)
- In wasapi_stream_destroy, unregister the notification client before destroying
  the CRITICAL_SECTION (this was the cause of a crash I duped against this bug)
2015-02-09 14:42:43 +01:00
Carsten "Tomcat" Book
b514443060 Backed out changeset 2f46afa97421 (bug 1127213) for another bustage on a CLOSED TREE 2015-02-09 16:51:14 +01:00
Paul Adenot
14201f3594 Bug 1123768 - Backout bug 1108455 to avoid truncating the end of audio streams on Vista+. r=kinetik 2015-02-09 14:43:03 +01:00
Paul Adenot
8b005f3fb1 Bug 1127213 - Fix various issues with the device change notification in the WASAPI cubeb backend. r=kinetik
This patch does the following:
- Introduces an owned_critical_section object to be able to assert that a
  current thread owns a critical section
- Change the auto_lock to use the above, add auto_unlock (basically like the
  Gecko AutoEnter/AutoExit things)
- Fix an issue during audio output device switch where the clock would use the
  old sample rate. Apparently I did not notice this because my headset and the
  sound card on this laptop have the same rate
- Check that we could acquire a device_enumerator in the ctor before
  deallocating in the dtor, as that can happen if a ton of streams are running at
  once (I had this issue running the full mochitest suite)
- Stop getting another device_enumator in unregister_notification_client, fixing a leak
- Assert that setup_wasapi_stream and close_wasapi_stream are called with the lock held, this was the cause of the crash for this bug
- Make close_wasapi_stream clear out its state to make sure setup_wasapi_stream
  and close_wasapi_stream are called in the right order (especially, not two
  setup_wasapi_stream without close in between, since that would leak stuff)
- In wasapi_stream_destroy, unregister the notification client before destroying
  the CRITICAL_SECTION (this was the cause of a crash I duped against this bug)
2015-02-09 14:42:43 +01:00
Jean-Yves Avenard
67411f1d5e Bug 1129732: Part1. Dynamically adjust calculations using timestampoffset. r=mattwoodrow
Timestamp Offset calculations are now done exclusively by the Media Source
components which allow to recalculate them on the fly. By abstracting those
offsets it remove the need for the sub-decoders to handle them (which allows
to add WebM support).
2015-02-09 23:28:59 +11:00
Jean-Yves Avenard
2b8def7fd2 Bug 1129071: Add log error should we run out of memory. r=k17e 2015-02-09 23:28:58 +11:00
Andreas Pehrson
a85bba5efb Bug 1130290 - Remove PeerConnectionImpl::CreateFakeMediaStream. r=jesup
--HG--
extra : rebase_source : c5fe9a894178e600c48ce22e45b9c124c76cf712
2015-02-05 23:56:00 +01:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Gian-Carlo Pascutto
9134477c28 Bug 1129921 - Account for stopCapture possibly being called twice. r=jesup 2015-02-05 18:24:02 +01:00
Gian-Carlo Pascutto
58eb5e24e0 Bug 1129858 - Get the local preview surface (line dropped during merge). r=jesup 2015-02-05 18:24:02 +01:00
Gian-Carlo Pascutto
e8ec6fb3c4 Bug 1129365 - Don't assume setPictureSize supports the same sizes as setPreviewSize. r=jesup 2015-02-05 18:24:02 +01:00
Birunthan Mohanathas
847dbb9825 Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo 2015-02-03 18:52:28 +02:00
Edwin Flores
82f6804a0c Bug 1075199 - Output a different clearkey.info depending on platform - r=cpearce,gps
--HG--
rename : media/gmp-clearkey/0.1/clearkey.info => media/gmp-clearkey/0.1/clearkey.info.in
2015-02-03 16:59:39 +13:00
Edwin Flores
bc2814dfe3 Bug 1075199 - More logging in ClearKey CDM - r=cpearce 2015-01-27 18:35:36 +13:00
Edwin Flores
4e3006ddd2 Bug 1075199 - WMF decoding in ClearKey CDM - r=cpearce 2015-01-16 10:37:54 +13:00
Edwin Flores
f68bdd6433 Bug 1075199 - Import WMF decoding code from cpearce's gmp-clearkey implementation - r=cpearce 2015-01-16 10:37:54 +13:00
Jean-Yves Avenard
029454fbd8 Bug 1128410: Part2. Make memory allocation dynamic. r=kentuckyfriedtakahe
Allocations are fallibles.
2015-02-02 21:36:51 +11:00
Jean-Yves Avenard
bc3b53cf6a Bug 1128410: Lazily allocate the MP4 parser buffer. r=kentuckyfriedtakahe
This buffer is unsused for fragmented MP4. So we don't need to unecessarily
allocate it and block a chunk of 3MB data. Also, this removes the restriction
of playing YouTube video > 1080p
2015-02-02 21:36:48 +11:00
Nils Ohlmeier [:drno]
96d001f3d4 Bug 1120065 - unit test for TURN deallocation. r=bwc 2015-01-30 12:36:00 +01:00