summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/MediaPlayerFactory.cpp
Commit message (Collapse)AuthorAgeFilesLines
* frameworks/av: Changes related to DASHManikanta Sivapala2015-10-061-0/+8
| | | | | | | | | 1) Add MEDIA_QOE event type 2) Open certain methods for extension by declaring them as virtual 3) Add DASH_PLAYER as a new player type 4) Creating DASH Player factory Change-Id: I0376841530218703fabd9d4f45d2c9a32a1f52b2
* stagefright: Disable AwesomePlayerMingming Yin2015-10-061-66/+1
| | | | | | | | | | | | Permanently remove StagefrightPlayer codebase & remove its entry from MediaPlayerFactory as AwesomePlayer is completely replaced by NuPlayer. Keep the AwesomePlayer codebase to make libstagefright_timedtext available to NuPlayer via libstagefright. Conflicts: media/libmediaplayerservice/MediaPlayerFactory.cpp Change-Id: Idfecdc519919ee940817c7bb515433fc37588bd3
* libmediaplayerservice: propagate caller pid to MediaCodec.Ronghua Wu2015-07-211-6/+7
| | | | | Bug: 22630317 Change-Id: I0337d74f4ef04bf96f2de83f33d98d0d7da47c12
* mediaplayer: remove use-awesomeplayer developer optionLajos Molnar2015-06-101-6/+0
| | | | | Bug: 17108024 Change-Id: Id6429eb58226fe955f091f661fcb2f21a5f6ce5e
* Unhide the android.media.[Media]DataSource interface.Chris Watkins2015-04-151-0/+12
| | | | | | | | | | | | | | | | | | | | | This allows apps to implement MediaDataSource, which is modeled on stagefright's DataSource, to supply media data to the framework. This was already implemented for MediaExtractor, but it was renamed from DataSource. MediaExtractor, MediaPlayer and MediaMetadataRetriever each have a new overload: #setDataSource(android.media.MediaDataSource) Only NuPlayer supports this new data source. The change introduces: * IDataSource: The binder interface for DataSource. * JMediaDataSource: The native counterpart to the java interface. It implements IDataSource. * CallbackDataSource: A stagefright DataSource that wraps an IDataSource. Change-Id: Ib3c944b49cc8a792c8eb9c85e5015c07f298ebc1
* Replace MidiFile player with a Midi extractorMarco Nelissen2014-12-181-67/+0
| | | | | | | This gets rids of a bunch of special midi handling and replaces it with an extractor that works with NuPlayer and MediaMetadataRetriever. Change-Id: I8d0f5bbdde2ca24267cf4d62ab26afe9630e0217
* Use callbacks for Midi I/OMarco Nelissen2014-12-161-7/+4
| | | | | | | Instead of having the Sonivox engine directly open the file and use stdio to read from it, use caller-provided callbacks. Change-Id: I4d775c8458c48c591a15794c4517e006dcf034e1
* mediaplayerservice: add support for legacy DRMLajos Molnar2014-12-051-3/+32
| | | | | | | Legacy DRM uses AwesomePlayer for widevine content. Bug: 18006370 Change-Id: I1de9e33de51b60352a9c79c2dcedec330160abe4
* Revert "Revert "disable AwesomePlayer for Ogg vorbis""Andy Hung2014-09-031-11/+14
| | | | | | | | This reverts commit da65048e8e6f65ed9b3f23cda3f4554025c76fc4. Deadlock audio issues for NuPlayer have been resolved. Change-Id: I1853d367dc771a9396a9b2d48ff34e50c78c112c
* Revert "disable AwesomePlayer for Ogg vorbis"Rachad Alao2014-08-251-14/+11
| | | | | | | Temporarily revert commit 9b48f5d780757ffb81709df3633d06b62edaf39f as a workaround for b/17173673 Bug: 17173673 Change-Id: Iec52289e77485a58ce28cc515d6a5b8e7b2d328a
* disable AwesomePlayer for Ogg vorbisChong Zhang2014-08-201-11/+14
| | | | | | Bug: 17108024 Change-Id: I0a970e6476d0f739e65d2200d0f5220dee8d36ef
* mediaplayer: make nuplayer the default playerLajos Molnar2014-07-271-5/+5
| | | | | Bug: 11784824 Change-Id: I60d215d0348adcd589da5bd479d5921dcf076ee4
* am 76e4e02d: am 940c688d: Merge "libmediaplayerservice: unused argument ↵Mark Salyzyn2014-06-241-11/+11
|\ | | | | | | | | | | | | warning messages" * commit '76e4e02d6b6c1da140b8cbe48fc58035d2b7d311': libmediaplayerservice: unused argument warning messages
| * libmediaplayerservice: unused argument warning messagesMark Salyzyn2014-06-241-11/+11
| | | | | | | | Change-Id: I7dbf62858114ac9b8de6d7b66cc00e002769a5cf
| * Fix seek in response to OnPrepared() for HLS contentAndreas Huber2013-04-011-1/+2
| | | | | | | | | | Change-Id: I0e52352845398a4db074e939487f6f6de94bd523 related-to-bug: 8225122
| * Fix a typo in MediaPlayerFactory that would prevent us fromAndreas Huber2013-02-051-1/+1
| | | | | | | | | | | | opting in to nuplayer for general media playback. Change-Id: I050f5178aadbb0b8bf422861ef885745c0b9006a
| * Added HTTP support for SDP files.Oscar Rydhé2013-02-051-0/+4
| | | | | | | | | | | | | | | | | | | | Added support for playing SDP files from http links. Previously, SDP files only worked when started from rtsp links (rtsp://a.b.c/abc.sdp), but they are just as common in http links. patch provided by "Oscar Rydhé <oscar.rydhe@sonyericsson.com>" Change-Id: Ic73af3a9a002009dbe8b04c267a4621bf7fe2f46
| * To support .mxmf which is specified in Android CDD.Dongwon Kang2012-09-051-0/+1
| | | | | | | | | | | | Bug: 7082658 Change-Id: I21269d72d1d21627c6adb2e6fbcb078d0eda6020 Tested: checked MediaScanner scans .mxmf and Music app plays .mxmf file.
* | Fix OGG recognition for 64 bitAndy Hung2014-05-191-1/+1
| | | | | | | | Change-Id: I4cef86ca05e06f508929d109a52e375169c33bf9
* | mediaplayer: add temporary developer settings to use NuPlayer as defaultLajos Molnar2014-03-281-0/+6
| | | | | | | | | | Bug: 11784824 Change-Id: Ic98f5fd15ee283d7f581bdc3331d000198ecc9e8
* | Fix seek in response to OnPrepared() for HLS contentAndreas Huber2013-04-011-1/+2
| | | | | | | | | | Change-Id: I0e52352845398a4db074e939487f6f6de94bd523 related-to-bug: 8225122
* | Fix a typo in MediaPlayerFactory that would prevent us fromAndreas Huber2013-02-051-1/+1
| | | | | | | | | | | | opting in to nuplayer for general media playback. Change-Id: I050f5178aadbb0b8bf422861ef885745c0b9006a
* | Added HTTP support for SDP files.Oscar Rydhé2013-02-051-0/+4
| | | | | | | | | | | | | | | | | | | | Added support for playing SDP files from http links. Previously, SDP files only worked when started from rtsp links (rtsp://a.b.c/abc.sdp), but they are just as common in http links. patch provided by "Oscar Rydhé <oscar.rydhe@sonyericsson.com>" Change-Id: Ic73af3a9a002009dbe8b04c267a4621bf7fe2f46
* | To support .mxmf which is specified in Android CDD.Dongwon Kang2012-09-051-0/+1
|/ | | | | | Bug: 7082658 Change-Id: I21269d72d1d21627c6adb2e6fbcb078d0eda6020 Tested: checked MediaScanner scans .mxmf and Music app plays .mxmf file.
* Move the AAH RTP code out of framework and into vendor.John Grossman2012-08-131-65/+0
| | | | | | | | | | Relocate the AAH RTP code from framework/av into vendor/google_devices/phantasm. This change is the deletion, there will be a separate CL which re-introduces on the vendor side of things. Change-Id: Ibe7e6d4b633a3886b87a615691a2692f2382af6c Signed-off-by: John Grossman <johngro@google.com>
* Add the ability to dynamicaly register MediaPlayer types.John Grossman2012-08-131-0/+404
Add the ability to dynamically register low level MediaPlayer factories which will be probed at setDataSource time to determine the proper MediaPlayerBase to instantiate. This change is in preparation for moving libaah_rtp out of frameworks/base and into phantasm platform directory. Change-Id: Icf8904db3ab9e3c85df6e780d5546d9988cb9076 Signed-off-by: John Grossman <johngro@google.com>