Commit Graph

94 Commits

Author SHA1 Message Date
JW Wang
9602426a5f Bug 1001317 - reset |MediaCacheStream::mDidNotifyDataEnded| so that it can notify data ended correctly upon 2nd download. r=roc 2014-05-11 20:43:00 +02:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Eric Rahm
0af50cdae6 Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
Chris Pearce
235ecad631 Bug 978647 - Properly handle EOF in DirectShow backend. r=edwin 2014-03-03 19:57:10 +13:00
Chris Pearce
9272d52033 Bug 975858 - Ensure that MediaResource dtor always runs on the main thread, making it safe to deref on non-main threads. r=roc 2014-02-26 13:36:54 +13:00
Chris Pearce
3e6e5e4364 Bug 903051 - Prevent aborted loads from messing with ChannelMediaResource state. r=roc 2014-02-13 17:08:55 +13:00
Sotaro Ikeda
1b40262c90 Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec 2013-12-02 10:22:33 -05:00
Ryan VanderMeulen
74325bfb43 Backed out changeset a1628c9ba4af (bug 929029) for timeouts/crashes in test_dataChannel_basicAudio.html. 2013-12-02 12:12:45 -05:00
Sotaro Ikeda
860875d55a Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec 2013-12-02 10:22:33 -05:00
Ehsan Akhgari
8ab03a33ee Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec 2013-11-20 22:02:42 -05:00
Ehsan Akhgari
7092b111ba Backed out 2 changesets (bug 939582) because of build bustage
Backed out changeset 2079c828645a (bug 939582)
Backed out changeset af472e590088 (bug 939582)
2013-11-20 21:41:40 -05:00
Ehsan Akhgari
258944b4d5 Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec 2013-11-20 21:11:54 -05:00
Matthew Gregan
aca39c9f09 Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce 2013-11-18 17:22:47 +13:00
Phil Ringnalda
aa4f4a9e99 Back out 4fd2bf2ec8db (bug 939662) for Windows build bustage
CLOSED TREE
2013-11-18 21:34:48 -08:00
Matthew Gregan
fdcb4e1cac Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
--HG--
extra : rebase_source : 922db8de8e9103e3001c26f23ed7402efa8237f5
2013-11-18 17:22:47 +13:00
Matthew Gregan
15ae6a844f Bug 935349 - Remove remaining disabled DASH code. r=doublec 2013-11-07 17:08:42 +13:00
Matthew Gregan
28ccbdd7df Bug 934820 - Remove LoadedEvent from MediaResource.cpp since it's almost identical to DataEnded. r=cpearce 2013-11-05 16:19:50 +13:00
Benjamin Chen
a9ca45668c Bug 831645 - part2, Rtsp media resource and decoder. r=roc, doublec, sworkman, khuey, gps 2013-09-23 17:53:36 +08:00
Chris Pearce
499a20ae5f Bug 915957 - Move MediaDecoder::NotifyBytesConsumed() calls into MediaResource, so we don't need to remember to do them in all decoder backends. r=kinetik 2013-09-18 15:37:23 +12:00
Ehsan Akhgari
3b48889d78 Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-05 16:25:17 -04:00
Ehsan Akhgari
22fac42fb0 Backed out changeset 2f15518f566e (bug 912702) because of B2G JB Emulator build bustage
--HG--
extra : rebase_source : 6c01ad3bc2f91b0e7e3edab84aedbfe064310a8b
2013-09-05 13:29:38 -04:00
Ehsan Akhgari
2ce2ec0cdb Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-04 17:58:14 -04:00
Robert O'Callahan
a229234f06 Bug 899863. Ensure resources with a Content-Length (that's not the result of a range request) are treated as bounded. r=cpearce
--HG--
extra : rebase_source : b3741deef952bf31b651c418efa5f168f9881469
2013-08-01 16:02:40 +12:00
Chris Double
c84ff42c47 Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce 2013-07-17 13:54:52 +12:00
Masatoshi Kimura
7fcc5c4dbc Bug 859022 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/media. r=roc 2013-06-27 20:30:41 +09:00
Chris Pearce
00671d8805 Bug 872866 - Set length of MediaResource earlier in load. r=roc 2013-05-16 15:22:34 +12:00
Chris Pearce
c8081a14c7 Bug 862182. r=roc,doublec 2013-05-03 10:59:18 +12:00
Chris Pearce
3262662a85 Bug 862182 - Revert bug 862183 due to frequent orange in 459439 crashtest. CLOSED TREE. r=philor 2013-05-01 13:33:33 +12:00
Chris Pearce
f7895b7d0b Bug 862182 - Hold references to MediaResource in nsRefPtrs. r=roc 2013-05-01 11:23:46 +12:00
Robert O'Callahan
042c9329a8 Bug 786539. Part 2: AreAllStreamsForResourceSuspended should ignore streams that can't read the resource data we need. r=cpearce 2013-04-24 21:19:02 +12:00
Robert O'Callahan
a2885f20df Bug 786539. Part 1: When receiving an HTTP 416 in response to a seek, tell the media cache that we reached the end of the resource. r=cpearce
See the comments. This is especially likely to happen if we reach the end of
a resource and then do our reopen-on-error dance because at some point we
paused and resumed and we fear the server may have timed out our connection
without giving us all the data.
2013-04-24 21:18:56 +12:00
Steve Workman
03e047f02c Bug 855064 - Exclude DASH code from default builds r=cpearce 2013-04-02 17:05:00 -07:00
Andrea Marchesini
6b08dd17f5 Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLMediaElement.h => content/html/content/public/HTMLMediaElement.h
rename : content/html/content/src/nsHTMLMediaElement.cpp => content/html/content/src/HTMLMediaElement.cpp
2013-03-19 13:23:54 +01:00
Chris Pearce
5607881905 Bug 839031 - Store the Content-Type/MIME-Type on MediaResource. r=padenot 2013-02-15 14:10:58 +13:00
Chris Pearce
43af4dbc94 Bug 836927 - Bustage fix. r=bustage 2013-02-05 10:57:29 +13:00
Chris Pearce
661c2de3a5 Bug 836927 - Make WMFByteStream bug compatible with WMF's IMFByteStream implementation. r=padenot 2013-02-05 10:34:23 +13:00
Steve Workman
3a059a192c Bug 792935 - Remove code to cancel DASH subsegment downloads during a seek r=cpearce 2013-01-28 18:34:28 -08:00
Steve Workman
31eb1c380d Bug 792935 - Miscellaneous fixes for DASH Mochitests r=cpearce 2013-01-23 11:24:41 -08:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Marco Chen
8644a5cebe Bug 823445 - Avoiding deadlocks and main-thread blockage on input streams, by not taking the lock in FileMediaResource::Close. r=roc, a=blocking-basecamp 2013-01-08 17:52:24 +08:00
Michal Novotny
80c1dcd801 Bug 725993 - Remove usage of STORE_ON_DISK_AS_FILE flag in media cache, r=roc 2013-01-04 00:27:04 +01:00
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Steve Workman
d35442c8ee Bug 820588 - Aggregate and forward statistics in DASH decoder classes r=cpearce 2012-12-13 11:42:45 -08:00
Steve Workman
86cc6e7a4b Bug 816726 - Add seeking capabilities to DASH-WebM code r=cpearce 2012-12-13 11:42:45 -08:00
Steve Workman
d954a4dc17 Bug 792404 - Add code to enable adaptive decoder and reader switching for DASH-WebM r=cpearce 2012-12-06 15:27:08 -08:00
Paul Adenot
57e360d284 Bug 455165 - Add support for chained ogg audio file and proper metadata dispatching. r=cpearce 2012-11-30 14:17:54 +01:00
Scott Johnson
29f9330bf3 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
Ehsan Akhgari
20dc6bb56b Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
This refactoring is needed for the introduction of the BufferMediaResource class.

--HG--
extra : rebase_source : e4b5016e9b947948799f1b8975b23a3dd685a366
2012-11-16 20:31:53 -08:00
Ehsan Akhgari
9f5743242b Backed out changeset f76720054116 (bug 813209) because of leaks 2012-11-19 18:15:18 -05:00
Ehsan Akhgari
e498035d23 Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
This refactoring is needed for the introduction of the BufferMediaResource class.
2012-11-16 20:31:53 -08:00