Commit Graph

2759 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
ce9164c343 Bug 1131960 - Check for NEON capability before using NEON code. r=derf
CLOSED TREE
2015-02-13 05:13:00 -05:00
Randell Jesup
f01e29d351 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
956c026bed Bug 1127642 WebRTC support for H.264 max_mbps r=jesup 2015-02-12 11:14:57 +08:00
Randell Jesup
fafce09a24 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
d43c136448 Bug 1128939: Part3. Allocate media buffer internal memory dynamically. r=k17e 2015-02-12 18:52:12 +11:00
Jean-Yves Avenard
6cec06fc09 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
35e54d290f Bug 1131788 - cubeb: Unable to use InterlockedAdd64 on MSVC2010 (and mingw). r=padenot 2015-02-10 17:45:00 +13:00
Randell Jesup
0c7c2dd363 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
a5abfe834e 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
d849892fc5 Bug 1130917 - Part 2 - improve error handling of StoreData() and ReadData(). r=edwin. 2015-02-10 18:18:00 +01:00
Jean-Yves Avenard
911759aeb7 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
e5c574e0b2 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
2378453943 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
100e19229b Bug 1131340 - Avoid template aliasing since GCC 4.6 lacks support. r=cpearce 2015-02-10 14:27:36 +13:00
Nicholas Nethercote
6ee3666899 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
e9ac689033 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
cfbcf68e03 Backed out changeset 2f46afa97421 (bug 1127213) for another bustage on a CLOSED TREE 2015-02-09 16:51:14 +01:00
Paul Adenot
68db274ab2 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
4f8d3e1d1b 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
07ee477ad2 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
4e885c361c Bug 1129071: Add log error should we run out of memory. r=k17e 2015-02-09 23:28:58 +11:00
Andreas Pehrson
5112c3404f Bug 1130290 - Remove PeerConnectionImpl::CreateFakeMediaStream. r=jesup
--HG--
extra : rebase_source : c5fe9a894178e600c48ce22e45b9c124c76cf712
2015-02-05 23:56:00 +01:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
3629781b69 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
54320124a9 Bug 1129921 - Account for stopCapture possibly being called twice. r=jesup 2015-02-05 18:24:02 +01:00
Gian-Carlo Pascutto
3b48ccfc4f Bug 1129858 - Get the local preview surface (line dropped during merge). r=jesup 2015-02-05 18:24:02 +01:00
Gian-Carlo Pascutto
66465bbb49 Bug 1129365 - Don't assume setPictureSize supports the same sizes as setPreviewSize. r=jesup 2015-02-05 18:24:02 +01:00
Birunthan Mohanathas
318898d688 Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo 2015-02-03 18:52:28 +02:00
Edwin Flores
71474735c1 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
e6979544a2 Bug 1075199 - More logging in ClearKey CDM - r=cpearce 2015-01-27 18:35:36 +13:00
Edwin Flores
8aa8ebd09e Bug 1075199 - WMF decoding in ClearKey CDM - r=cpearce 2015-01-16 10:37:54 +13:00
Edwin Flores
c4b974a36f 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
0aef6c3262 Bug 1128410: Part2. Make memory allocation dynamic. r=kentuckyfriedtakahe
Allocations are fallibles.
2015-02-02 21:36:51 +11:00
Jean-Yves Avenard
63be8f20a5 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]
cf1eee6096 Bug 1120065 - unit test for TURN deallocation. r=bwc 2015-01-30 12:36:00 +01:00
Nils Ohlmeier [:drno]
0ff298e563 Bug 1120065 - release TURN resources on PC release. r=bwc 2015-01-27 01:18:00 +01:00
Nils Ohlmeier [:drno]
4fba3c3e61 Bug 1120065 - removed dead function nr_ice_candidate_destroy_cb. r=bwc 2015-01-23 13:47:00 +01:00
Mike Hommey
824818ee98 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
JW Wang
85bd4cbdce Bug 1083658 - add "output-downscaled" to GMP. r=cpearce. 2015-02-01 09:18:39 +08:00
JW Wang
5fdc2d3679 Bug 1121332. Part 1 - add media key status to gmp-api. r=cpearce. 2015-01-31 13:22:12 +13:00
Edwin Flores
d8c025228d Bug 1127115 - Make MP4 parser assertion non-fatal - r=ajones 2015-01-30 16:54:12 +13:00
Paul Kerr [:pkerr]
9f7b135063 Bug 1099318: Fix for conduit receive then send creation order issue. Now insensitive to order. r=bwc" 2015-01-29 08:52:40 -08:00
Gian-Carlo Pascutto
5ffc8692cf Bug 1109248: Merge with webrtc.org update (android compile/merge fixes) r=jesup
ON A CLOSED TREE
2015-01-29 18:34:16 -05:00
Randell Jesup
10dd4a6dac Bug 1109248: remove unused media/webrtc/trunk/base directory (ancient) rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
9fecbd3568 Bug 1109248: Include/etc fixes for B2G from webrtc.org update rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
4d5ff5bccb Bug 1109248: webrtc.org update needs some floating point routines on Android rs=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
44dcdd8ab9 Bug 1109248: Merge webrtc.org update with our OpenSLES changes rs=jesup 2015-01-29 18:33:36 -05:00
Gian-Carlo Pascutto
70fd7cc0b0 Bug 1109248: fixes for changes to webrtc Android camera fps handling r=jesup 2015-01-29 18:33:36 -05:00
Gian-Carlo Pascutto
d78166f848 Bug 1109248: Revert removal of SetAndroidObjects calls in webrtc.org r=jesup 2015-01-29 18:33:36 -05:00
Randell Jesup
b486978770 Bug 1109248: Adapt GMP video decoder code to API changes in webrtc.org 40 r=ehugg 2015-01-29 18:33:36 -05:00