summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* - Add method in MediaPlayerService to collect and pullGloria Wang2011-02-224-2/+186
| | | | | | | codec usage (duration) for the battery app - Collect MediaPlayer decoding usage data Change-Id: I0ef4e32b6a041ba1fe73c19f9c67185c61d03965
* Merge "Experimental support for https transfers in stagefright."Andreas Huber2011-02-178-22/+133
|\
| * Experimental support for https transfers in stagefright.Andreas Huber2011-02-178-22/+133
| | | | | | | | Change-Id: If1bd0f265dda136c7c34b53317f64383023b53a3
* | A/V synchronization at the beginning of a recording sessionJames Dong2011-02-173-29/+54
|/ | | | | | | | | | | | | o do not use edts/elst boxes since these optional boxes are ignored o manipulate the first video/audio frame duration to make sure that the rest of the audio/video is in sync (ideally, we should only manipulate the vidoe frame duration, not the audio) o reduce the initial audio mute/suppression period, which is used to eliminate the "recording" sound. bug - 3405882 and 3362703 Change-Id: Ib0acfb4f3843b365157288951dc122b006299c18
* Merge "Respond to RTSP server->client requests."Andreas Huber2011-02-162-7/+83
|\
| * Respond to RTSP server->client requests.Andreas Huber2011-02-162-7/+83
| | | | | | | | | | | | | | Even if it's just to tell them that we don't support any (this is optional). Change-Id: I557865ac00d0fb65ffa69363eb1eceaabe522a1a related-to-bug: 3353752
* | Decouple AudioRecord read and audio encodingJames Dong2011-02-161-128/+145
|/ | | | | | bug - 3313754 Change-Id: I951dd0e21e34aa1412c391f003bc32103d0424b0
* Remove legacy, AwesomePlayer-based http live implementation.Andreas Huber2011-02-167-136/+9
| | | | Change-Id: I455d0faa5612dcd4d2bb6f2b3c7b64a1caaabf69
* Merge "Add AAC extractor"Gloria Wang2011-02-1510-52/+442
|\
| * Add AAC extractorGloria Wang2011-02-1510-52/+442
| | | | | | | | Change-Id: Iedb08525ac72e65ba98e5c791734da0720a0e3f6
* | Revert "Make AwesomePlayer's reset process more verbose to track down ANRs ↵Andreas Huber2011-02-152-14/+1
| | | | | | | | | | | | | | | | (yet again)" This reverts commit e7c83d4a711241923854d6bbd5de0e24f9192f93. Change-Id: I5151c7c72d79154528c55aa01bf006c8e38e7af7
* | Merge "Derive the Transport "source" attribute from the RTSP endpoint ↵Andreas Huber2011-02-151-23/+42
|\ \ | | | | | | | | | address if necessary"
| * | Derive the Transport "source" attribute from the RTSP endpoint address if ↵Andreas Huber2011-02-151-23/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | necessary and continue even if we were unable to poke a hole into the firewall. related-to-bug: 3457201 Change-Id: I0a523f38e6959bf00b8b140a70bb65fcc414c9c1
* | | Merge "Work around several issues with non-compliant RTSP servers."Andreas Huber2011-02-156-25/+89
|\ \ \ | |/ /
| * | Work around several issues with non-compliant RTSP servers.Andreas Huber2011-02-156-25/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this particular case these RTSP servers were implemented as local services, retransmitting live streams via a local RTSP server instance. They picked wrong rtp/rtcp port pairs (odd rtp port), blank lines in the session description, wrong case of the format description, relative base URLs... Change-Id: I63fa90ca2398f19e8b52c147248bd2c5c2372426 related-to-bug: 3452103
* | | MTP host: disable some test codeMike Lockwood2011-02-151-2/+6
|/ / | | | | | | | | Change-Id: I2237ad88f73b03a2c324f17267c52cc42b8a0d5b Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Enable cancelling the rtsp connection process early.Andreas Huber2011-02-143-2/+19
| | | | | | | | | | Change-Id: Ie2059c54541ad8c675944d71b39c772b0f6f04c8 related-to-bug: 3452699
* | MTP host: Use usb_device_bulk_transfer for synchronous transfersMike Lockwood2011-02-141-6/+7
| | | | | | | | | | Change-Id: Icf42ea0e5a848cee1565da49713ee9ad0db9f1a6 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Make available h263 DSI information from MPEG4ExtractorJames Dong2011-02-111-0/+24
|/ | | | | | bug - 3446863 Change-Id: Idbaf7a564d544784fdbc36ed0339c98a519adc88
* Start playing (and decoding) audio only after the first video frame has been ↵Andreas Huber2011-02-112-24/+68
| | | | | | | | | | decoded. if there's both audio and video content. This gives the video decoder an opportunity to fill its internal buffer queue at the start of playback. Change-Id: Ib2c95753b430e4e47207953b913b607024a328d7 related-to-bug: 3431702
* Merge "Bug 3352047 Wrong message when adjusting volume"Glenn Kasten2011-02-102-1/+26
|\
| * Bug 3352047 Wrong message when adjusting volumeGlenn Kasten2011-02-102-1/+26
| | | | | | | | | | | | Add hidden AudioManager.getDevicesForStream and output device codes. Change-Id: I4d1c1d3b6a077cd117720817d1f733dda557b947
* | Fix the build.Andreas Huber2011-02-101-1/+1
| | | | | | | | Change-Id: I9b777ffb260eb0f3790ae0907e4a443d33fa3f2f
* | Change timestamp handling in RTSP, remove unused, experimental, gtalk supportAndreas Huber2011-02-1010-291/+174
|/ | | | | | | | related-to-bug: 3216447 NTP timestamp handling is now done at a higher layer than before. Change-Id: I9fb23f1335110ec59e534f9aa0fe6f6a6406dd52
* Reduce blocking time in file writeJames Dong2011-02-091-37/+49
| | | | | | bug - 3418787 Change-Id: I4723662bf46ed07271be8468f84ae5d93cb793fa
* Catch read error from AudioRecord and do not assertJames Dong2011-02-091-4/+3
| | | | | | bug - 3439313 Change-Id: Ie29d6e4945978ef27fc3e5849e467d895c7736d3
* Merge "Should reset errno to 0 before calling strtoll()."James Dong2011-02-081-0/+4
|\
| * Should reset errno to 0 before calling strtoll().James Dong2011-02-081-0/+4
| | | | | | | | | | | | bug - 3431238 Change-Id: I855847209d2e022242b8eb62985759922ab94779
* | Merge "Add more check before using the DRM manager client."Gloria Wang2011-02-084-3/+9
|\ \ | |/ |/|
| * Add more check before using the DRM manager client.Gloria Wang2011-02-084-3/+9
| | | | | | | | Change-Id: I7369dcd6b6abd1945430373200fd5353bca70652
* | Merge "Handle some edge cases when seeking while starting up OMXCodec"Andreas Huber2011-02-081-0/+28
|\ \
| * | Handle some edge cases when seeking while starting up OMXCodecAndreas Huber2011-02-081-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were exposed by the new preview-seekframe while paused code. In particular, the codec may have been in state RECONFIGURING when attempting to seek, or we may have initiated flushing of the output port and this may not have completed yet by the time we want to reconfigure the output port. Change-Id: Id7640ade11dbc7205a22f648ea0b5e3e9b49cf4b related-to-bug: 3392259
* | | Merge "Remove one log message from the VPXDecoder"Andreas Huber2011-02-081-1/+3
|\ \ \ | |_|/ |/| |
| * | Remove one log message from the VPXDecoderAndreas Huber2011-02-081-1/+3
| |/ | | | | | | | | | | | | | | | | | | | | related-to-bug: 3402216 The VPX format supports "internal-only" frames that are referenced by future content but never actually displayed, so this is a perfectly valid scenario that doesn't require a log message. Change-Id: I8330bfdfefcdf4ab66ae6d2b59b99fd9b89350df
* | Merge "- Do not use global DrmManagerClient - Release the DrmManagerClient ↵Gloria Wang2011-02-088-35/+57
|\ \ | |/ |/| | | and DecryptHandle in DataSource Fix for bug 3429811"
| * - Do not use global DrmManagerClientGloria Wang2011-02-078-35/+57
| | | | | | | | | | | | | | - Release the DrmManagerClient and DecryptHandle in DataSource Fix for bug 3429811 Change-Id: I549f72b75225751877eb0e630ce8098f8ec6316f
* | Display a single (still-)frame of video after seeking while paused.Andreas Huber2011-02-072-29/+41
|/ | | | | Change-Id: Ia78bf29ba6d649043e70c49913725cecdf918c03 related-to-bug: 3392259
* Improvements/fixes to ACodec.Andreas Huber2011-02-041-10/+86
| | | | | | | | | | | - Make sure ACodec reverts its state when it's shutdown - Defer "resume" to after handling the OutputPortSettingsChange - If the OMX_EventPortSettingsChanged event comes in while we're flushing, defer it and make sure the output port can be disabled by deleting all buffers not already owned by the component. Change-Id: I1f8cdffa71237b57d4275a48b834647a7b263e8b
* am 6f1bd261: am 9c0a1003: Merge "Fix issue 3371080" into honeycombEric Laurent2011-02-033-26/+27
|\ | | | | | | | | * commit '6f1bd261b7fd86ac7817ca061dfb55b95150b836': Fix issue 3371080
| * Fix issue 3371080Eric Laurent2011-02-033-26/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified default volume control logic in AudioService: 1 IN_CALL volume if in video/audio chat 2 NOTIFICATION if notification is playing or was playing less than 5s ago. 3 MUSIC Modified silent mode: - now also affect MUSIC stream type - entering silent mode when VOL- hard key is pressed once while selected stream volume is already at 0 (except for VOICE_CALL stream). - exiting silent mode when pressing VOL+ hard key while in silent mode Play sound FX (audible selections, keyboard clicks) at a fixed volume. Modified audio framework: - isStreamActive() method now implemented in AudioPolicyManagerBase (previously AudioFlinger) - iStreamActive() now specifies a time window during which the stream is considered active after it actually stopped. Change-Id: I7e5a0724099450b9fc90825224180ac97322785f
* | Merge "Make AwesomePlayer's reset process more verbose to track down ANRs ↵Andreas Huber2011-02-032-1/+14
|\ \ | | | | | | | | | (yet again)"
| * | Make AwesomePlayer's reset process more verbose to track down ANRs (yet again)Andreas Huber2011-02-032-1/+14
| | | | | | | | | | | | Change-Id: Ie1d853c31ad75ec5b12303c1131c9a74eb8cfc9f
* | | Make sure timestamps attached to encoded media are composition timestamps.Andreas Huber2011-02-034-0/+97
|/ / | | | | | | | | | | | | | | not decoding timestamps. Obviously there is no difference between them if the content in question does not involve frame reordering. Change-Id: Iac4d06cfeb8a136f735c1148e98cac340d3ef893 related-to-bug: 3398314
* | Bug 1804058 FLAC extractorGlenn Kasten2011-02-039-17/+912
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: dependent on external/flac for libFLAC Implemented and tested: * FLAC container * mono and stereo * standard sample rates * standard bit depths * sniffer * media scanner * Vorbis comment metadata including album art * random access seeking with "torture test" * web browser integration for audio/flac (not audio/x-flac), but note that most web servers don't correctly report the MIME type Not implemented: * 24-bit to 16-bit dither or noise shaping in AudioFlinger * 96 kHz to 44.1 or 48 kHz downsampling low pass filter in AudioFlinger * replay gain is better done in AudioFlinger * multi-channel, would need AudioFlinger support * Ogg container, does not seem to be very popular yet Change-Id: I300873e8c0cfc2e95403d9adb5064d16a2923f17
* | Fix some memory leaks found in static analysisKenny Root2011-02-021-14/+40
| | | | | | | | Change-Id: Icd630009793c51acfaed45763ef50489ead40024
* | Merge "- Support comfort noise in AMRExtractor - Support duration and ↵Gloria Wang2011-02-012-38/+92
|\ \ | | | | | | | | | seeking in AMRExtractor for different bit rates"
| * | - Support comfort noise in AMRExtractorGloria Wang2011-02-012-38/+92
| | | | | | | | | | | | | | | | | | | | | | | | - Support duration and seeking in AMRExtractor for different bit rates Bug 2530101 Change-Id: I12beffea73cea0ec056f0e0cf51a4a8d46d897b8
* | | am b450d96b: am 537fa17f: Merge "Disconnect HTTP live sessions as soon as ↵Andreas Huber2011-01-312-1/+25
|\ \ \ | | |/ | |/| | | | | | | | | | | | | the request comes in." into honeycomb * commit 'b450d96b3d13cd341ef7aa4483c2223ddfecce3c': Disconnect HTTP live sessions as soon as the request comes in.
| * | Disconnect HTTP live sessions as soon as the request comes in.Andreas Huber2011-01-312-1/+25
| | | | | | | | | | | | | | | | | | | | | Instead of waiting until pending events have been processed. Change-Id: Id758f5508a514561e18aade82175d69e9156965e related-to-bug: 3409681
| * | Mass merge from gingerbread - do not mergeThe Android Open Source Project2011-01-301-2/+7
| |\ \ | | | | | | | | | | | | Change-Id: I45dc3596bf4211d8f91c64f2d1d00588878df629