Commit Graph

2790 Commits

Author SHA1 Message Date
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