summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/chromium_http
Commit message (Collapse)AuthorAgeFilesLines
* Allow data uris to be data sourcesNarayan Kamath2011-12-062-2/+71
| | | | | bug:5571010 Change-Id: I0b6ae6c729ac34d46e9990fcceb08294eb4f7c58
* Various improvements to nuplayer playbackAndreas Huber2011-09-161-0/+22
| | | | | | | | | | | | | | | | | | | | - Drastically cut down the number of times we supply the AudioSink with data by estimating the time until the sink would run out of data and then scheduling a refill in advance of that. - Use a dedicated looper for video decoders since they are currently taking too long to return from OMX_FillThisBuffer (bug 5325201) - Revise thread priorities for the OMX dispatcher and software codecs, instead of running them at ANDROID_PRIORITY_AUDIO, they now only run at ANDROID_PRIORITY_FOREGROUND - Since threads created by pthread_create inherit all of the parent threads attributes including thread priority, briefly reset thread priority to ANDROID_PRIORITY_FOREGROUND before instantiating OMX components and then restore it. Change-Id: If9332a3a20dad5485333d68c11de0d2d5d3fffc3
* Network traffic accounting for chromium stack support in mediaserver.Ashish Sharma2011-08-053-0/+51
| | | | | | | - Atribute network activity to uid calling the mediaplayer - Enables logging of chromium network stack in logcat Change-Id: I2d28c8392248a056b3cee305dd4d4475ebba4337
* Close the DRM session in the destructor of ChromiumHTTPDataSource.Gloria Wang2011-08-041-4/+2
| | | | | | Fix for bug 5015079. Change-Id: I45fcf6ff8b50e62f2812930eaf68c00206cb7e52
* Restart HLS streaming from the bottom of the playlist if we miss the boat on theAndreas Huber2011-08-041-5/+5
| | | | | | | | | | next segment. This can happen if for whatever reason we playback video slower than it is served. Also removed some unnecessary verbosity from ChromiumHTTPDataSource. Change-Id: I6e870879310c9efe4d50d7dc0883c08405442d79 related-to-bug: 5120425
* Merge "Fix for bug 5049763 HLS: Cookies set in main playlist request aren't ↵Kristian Monsen2011-07-271-0/+3
|\ | | | | | | being passed to subsequent HTTP requests"
| * Fix for bug 5049763 HLS: Cookies set in main playlist request aren't being ↵Kristian Monsen2011-07-221-0/+3
| | | | | | | | | | | | | | | | | | | | passed to subsequent HTTP requests Cookies should be store between requests in memory with this. Tell me if you want to store the cookies on disk as well. Change-Id: I9afe5796a3d395afcf54d669c86cf7da432f8d9a
* | Retry datasource fetches a few times before giving up (NuCachedSource2).Andreas Huber2011-07-221-3/+31
|/ | | | | Change-Id: I147fc18ef55bc89d2e2fee69b7869c45abbfdd6b related-to-bug: 3405354
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-2/+0
| | | | | | Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
* Merge changes I7e8401a4,I412ddf36Kristian Monsen2011-07-011-17/+17
|\ | | | | | | | | | | * changes: Merge Chromium at r11.0.696.0: New autofill strings Merge Chromium at r11.0.696.0: Using setter instead of direct variable access
| * Merge Chromium at r11.0.696.0: Using setter instead of direct variable accessKristian Monsen2011-06-291-17/+17
| | | | | | | | | | | | | | Members in UrlRequestContext was made private in upstream CL: http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_context.h?view=diff&pathrev=77261&r1=75164&r2=75165 Change-Id: I412ddf36b0818e59b9b3ae428407d562facd4785
* | Instantiate a NetworkChangeNotifier to have chromium transparently handle ↵Andreas Huber2011-06-291-0/+3
|/ | | | | | | | interface changes. Change-Id: If48d2934ce29d68b9c31a1d120fe8f134f277a33
* Merge "Merge chromium to r11.0.672.0: Compile fix"Kristian Monsen2011-06-142-4/+4
|\
| * Merge chromium to r11.0.672.0: Compile fixKristian Monsen2011-06-072-4/+4
| | | | | | | | | | | | | | Cause by upstream CL: http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_context.h?r1=70592&r2=71522&pathrev=74924 Change-Id: Iada1639b7a38cee963644437e8e3f4f5708d6136
* | Do not call getEstimatedBandwidth if the streaming is not HTTP-basedJames Dong2011-06-021-1/+1
| | | | | | | | Change-Id: I4ab6c57e5b2b989676b8dfbb98402d10a5752261
* | Send estimated bandwidth value as informational event when cache fetcher pausesJames Dong2011-05-311-34/+1
|/ | | | | | | | | | o Application can make informed decision about the available network bandwidth when cache fetcher pauses. o Application can also adjust how frequently the bandwidth is estimated within a range from one second to one minute. Change-Id: I90068001343e79da1886de03c565537787e1580b
* Merge chromium to 10.0.634.0: Compile fixKristian Monsen2011-05-251-1/+1
| | | | | | | base/thread.h moved to base/threading/thread.h: http://codereview.chromium.org/6028009 Change-Id: I4a7dd04055ed931f6bc2c6b63255f3832d0c78bd
* Merge Chromium at 10.0.621.0: Fixes for libstagefreightKristian Monsen2011-05-132-21/+23
| | | | | | | URLRequest is now a member of the net namespace. HttpCache constructor has a new argument, which is a CertVerifier() Change-Id: I21d524938868b2e37993838f4fbb8447b02c3606
* Stagefright DataSources now expose the underlying content mime type.Andreas Huber2011-03-302-2/+15
| | | | | | | | Use that mime type to determine if we should do upfront buffering at the start of playback and don't for audio streams to ensure playback starts fairly instantly. Change-Id: If21e36d1b024f0e5c723911bceadaa2e0307ab42 related-to-bug: 4090916
* Fix for bug 3477330Gloria Wang2011-03-101-3/+3
| | | | | | | This patch fixs a crash bug caused by using a NULL DecryptHandle pointer. Fix by using sp<DecryptHandle> instead. Change-Id: Icbd59858385e8256125a615a3c82656b25319d44
* Support http authentication ala http://foo:bar@host.org in stagefright.Andreas Huber2011-03-091-1/+2
| | | | Change-Id: I0b20077ad540ec8aa11adf0ca9f4142ea8b8ae98
* Use the same http proxy mechanism that webkit uses instead of bypassing proxies.Andreas Huber2011-03-091-1/+3
| | | | | Change-Id: Ifd64664d3052fbfa715c2920984170c2a6190f6b related-to-bug: 3440271
* An HTTP datasource for stagefright using the chromium code.Andreas Huber2011-03-094-0/+965
Use of this new datasource is now the default unless overwritten by adb shell setprop media.stagefright.use-chromium false Change-Id: I156a8eb9a1fff1cb537b4aec6cf3e8e6052be81e