summaryrefslogtreecommitdiff
path: root/media/libmediaplayerservice
AgeCommit message (Collapse)Author
2013-06-27Fix compilation warning: incorrect format specifier for type 'ssize_t'.Scott Fan
warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t {aka int}' [-Wformat] Change-Id: I823835a26320a3abb82f8dff9fbe82e5132e7556 Signed-off-by: Scott Fan <fancp2007@gmail.com>
2013-04-24Merge "fix a race condition of MediaPlayerServce::Client::mClient"Andreas Huber
2012-11-29[wfd] Support a low(er) power state by triggering PAUSE/RESUME.Andreas Huber
Change-Id: Ibe42bfa73816bbfeb7e652d435254d0171b89727 related-to-bug: 7638150
2012-11-27Add support for HLS playlists of type 'event'.Andreas Huber
related-to-bug: 6870049 Squashed commit of the following: commit eee2f3ba6bb7335f4e285632726db85645669929 Author: Andreas Huber <andih@google.com> Date: Tue Nov 27 15:02:01 2012 -0800 Make everything a lot less verbose by default. Change-Id: I884d7a7901aa1e7d4ff590f065ca57a79d2af8b3 commit 6bbdb837ed5bd88008e45efb8faf595e4051ba26 Author: Andreas Huber <andih@google.com> Date: Tue Nov 27 14:34:46 2012 -0800 HLS now properly signals media time changes at discontinuities including the start of playback (which may not necessarily be at time 0 if the playlist is of type 'event' and hasn't completed yet). Change-Id: I5ab747d024f9b8d0df72a4e06a12ebb29f62802e commit 1555589832b1878a144a976a643e1af4d61f877c Author: Andreas Huber <andih@google.com> Date: Tue Nov 27 14:32:28 2012 -0800 As part of a time discontinuity, clients of IStreamListener can now signal the corresponding media time after the discontinuity, i.e. the first PTS timestamp following the discontinuity will be considered equivalent to the specified media time and media buffers timestamped accordingly. Change-Id: Id7db7679b7faa6efd6270620ff52e34e884f3e92 commit 5c24c605c073a11c426d025b1e7478fc1ad8365a Author: Andreas Huber <andih@google.com> Date: Tue Nov 27 13:00:56 2012 -0800 NuPlayer sources now expose flags() and can announce that duration may change (increase) dynamically, in which case duration will be polled at 1 second intervals and communicated to the upper layers. Change-Id: I45102909b7a19eed0dda576747e3814d742a0eea commit ecb71de8e281e61971a2cd73e7161a97540bc357 Author: Andreas Huber <andih@google.com> Date: Tue Nov 27 12:57:47 2012 -0800 Stop caching duration in MediaPlayer, duration could increase dynamically. Change-Id: I7bb2f16c0abe49debdf45c776d2266aa069d7791 commit 544aec5823e6d7a3e97e15b6b23546616bcd343e Author: Andreas Huber <andih@google.com> Date: Tue Nov 27 08:46:28 2012 -0800 An attempt to add support for "event" style HLS playlists. Change-Id: I3dfb2e801ecaff8f5d8bdb3a4fca1b18aeeb2c60 Change-Id: I48cf7f65a654d33f2f49ded74f8be22aed9e3b98
2012-11-05fix a race condition of MediaPlayerServce::Client::mClientbeanz
there will be race condition between mClient.clear in MediaPlayerServce::Client::disconnect method and c=client->mClient in in MediaPlayerServce::Client::notify method Change-Id: I767294c4cb864c08e9c0e9f23d6d304a39016205 Signed-off-by: beanz <beanz@marvell.com>
2012-10-11Fix some missing checks against missing codecsJames Dong
o related-to-bug: 6971073 Change-Id: Ia6d926663231f9a9ef31c82c85c70595c4a30ebe
2012-09-27Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit.Andreas Huber
Change-Id: Ie54ee3edd672ec629360b4ecc5df2f85ecbaa45f related-to-bug: 7247584
2012-09-21Remove legacy code and APIs in wifi display related code.Andreas Huber
Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
2012-09-19HDCP module binderizedAndreas Huber
Change-Id: I866768b1e3f3b232f1934a35b65f66befc12f3f6
2012-09-14Fixed a native crash due to deref of a NULL pointerJames Dong
We only checked the mNativeWindow against NULL, but did not check the native window object itself against NULL. o related-to-bug: 7153683 Change-Id: I430d344dc09a2fc337bf51001551627056713773
2012-09-12Various improvements to the wifi display implementation.Andreas Huber
Using a MediaPuller now, audio and video on their separate threads. No more flushing the RTP stream on audio tracks, since it wastes too much of a full size UDP packet. Change-Id: I53346b4aea739c3142da13bd179428503a3c98b0
2012-09-07Add a permission for controlling wifi display.Jeff Brown
Change-Id: I321b6c1a0223e0c3d5df04fde7a13ab91c08c7bc
2012-09-06Add a small hook to support gapless in AAH.John Grossman
Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630
2012-09-06Merge "Update remote display API." into jb-mr1-devJeff Brown
2012-09-05Merge "To support .mxmf which is specified in Android CDD." into jb-mr1-devMarco Nelissen
2012-09-05Update remote display API.Jeff Brown
Renamed disconnect() to dispose() to emphasize the fact that this method is intended to clean up the IRemoteDisplay completely, not just temporarily disconnect the current client (which might be useful someday). Other minor tweaks. Change-Id: I1209639eb0cd8af09c724206642d7e52aab48257
2012-09-05Merge "Fragmented mp4 extractor" into jb-mr1-devMarco Nelissen
2012-09-05Fragmented mp4 extractorMarco Nelissen
Still experimental. Set property "media.stagefright.use-fragmp4" to true to enable. Change-Id: I210b9c5b5164b5c5eefc31309845ee881ac7db8e
2012-09-05Expose an IRemoteDisplay to trigger wifi display connections setup and feedback.Andreas Huber
Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e
2012-09-05Implement remote display service stubs.Jeff Brown
Change-Id: I582ed000026bba6d116db8304e15a3c52f8a9a01
2012-09-05To support .mxmf which is specified in Android CDD.Dongwon Kang
Bug: 7082658 Change-Id: I21269d72d1d21627c6adb2e6fbcb078d0eda6020 Tested: checked MediaScanner scans .mxmf and Music app plays .mxmf file.
2012-09-04Add setVideoScalingMode support to NuPlayerJames Dong
o related-to-bug: 7089195 Change-Id: Ic30d9312673f2d5837c779e023ac64468ecd4951
2012-09-04Support for acting as a wifi display sink.Andreas Huber
Change-Id: I0beac87025b93c60164daa865c89f16b72197a47
2012-09-04Merge "Improvements to our MPEG2 Transport Stream parser" into jb-mr1-devAndreas Huber
2012-08-31Merge "Move fragmented mp4 parser to libstagefright" into jb-mr1-devMarco Nelissen
2012-08-31Move fragmented mp4 parser to libstagefrightMarco Nelissen
and rename it from Parser to FragmentedMP4Parser Change-Id: I986f50d0c5c93648aac675d6160e18623b031541
2012-08-31Improvements to our MPEG2 Transport Stream parserAndreas Huber
Verifies the continuity counter Parses and associates PCR time with streams Allows for a absolute time anchor to be signalled via discontinuity. Change-Id: I4bc88c78382c9cc6380f28df584cc6c254e0a8f9
2012-08-31Add support for mpeg2 transport streams to the RTSP implementation.Andreas Huber
Change-Id: I409d7133a53a71e62523b1acc2b03302fcf824a5
2012-08-30Only run the wifi display RTSP server on demand, and only on the wifi directAndreas Huber
interface. Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
2012-08-29Merge "Initial checkin of support for acting as a wifi display source" into ↵Andreas Huber
jb-mr1-dev
2012-08-29Initial checkin of support for acting as a wifi display sourceAndreas Huber
Change-Id: I08f17efa0c7d007e17408feb7d4fbef0a19f531a
2012-08-29Preliminary support for HDCP as a binder service for wifi display support.Andreas Huber
Change-Id: Ie0de1c086c629a668d1c7863992eef56fb94157c
2012-08-26Fixed a potential/rare race condtion in MediaPlayerService::Client::notify() ↵James Dong
method o The mClient could be disconnected before the notify message is sent out. Use a local reference could help resolve this issue. o related-to-bug: 6782035 Change-Id: Ia2047bd7f2666100fed83c6e5417a3bf2e20cd2c
2012-08-23Add a missing NULL check.John Grossman
Don't crash if its time to start the next media player in a media player chain, but the current player's client has a NULL mAudioOutput, as is the case when the low level player implements MediaPlayerHWInterface. Change-Id: If555da3a46960cbee91ff26e5b1fd05e52c8ef28
2012-08-13Use the correct data offset by remembering the offset of the enclosing 'moof'Andreas Huber
container. Change-Id: I2f0f92dabe31341a6a91d435943e4a65e34884ba
2012-08-13Merge changes Ibe7e6d4b,Icf8904db into jb-mr1-devJohn Grossman
* changes: Move the AAH RTP code out of framework and into vendor. Add the ability to dynamicaly register MediaPlayer types.
2012-08-13Move the AAH RTP code out of framework and into vendor.John Grossman
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>
2012-08-13Add the ability to dynamicaly register MediaPlayer types.John Grossman
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>
2012-08-09Signal end of stream if no more fragments are going to be available.Andreas Huber
Change-Id: I16696740d3551aa8a5ba904ec757c64b0ecd1307
2012-08-09Fix static sample table processing, add support for h.263 video.Andreas Huber
Change-Id: I5628d3437b5e6f8836d78557fd07ab87e5a914e3
2012-08-08Handle empty stsc boxMarco Nelissen
Change-Id: I867e2499fac3045075654aaaecf44327753327fd
2012-08-03experimental support for fragmented mp4 playback in nuplayerAndreas Huber
cherry picked from change 170999 Change-Id: I407775f0290154ad4961134839a15c9f296424c0
2012-07-29Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-devEd Heyl
Conflicts: services/audioflinger/AudioFlinger.cpp Change-Id: If27e4ff35de1e182394cc149e1557a49f0f7c95b
2012-07-25NuPlayer: Prevents creation of Video Decoder when we use Music PlayerHaynes Mathew George
- Prevents instantion of Video Decoder when we use applications like Music Player which do not support Video Playback - Adds a check to prevent scanning for sources when it is either an Audio only clip or a video only clip or an AV clip played with a Music Player. Change-Id: I74dd9bc53e54fd4f3682536c987289ac252690b0 Signed-off-by: Arvind Thatikonda <arvindt@codeaurora.org>
2012-07-24Codecs: Add MetaDataMode support to software video encoders.Eino-Ville Talvala
This support is needed to enable efficient video recording with emulator and camera HAL 2. - Update SoftAVCEncoder and SoftMPEG4Encoder to support MetaDataMode extension. - Allow CameraSource to handle opaque pixel formats, so that MetaDataMode can be used. - Remove hardware codec restriction for MetaDataMode Bug: 6243944 Change-Id: I970eb3d55542a413b6d75a78f76d3a8583155601
2012-07-20Added a callback in nuplayer via informational event to signal the start of ↵James Dong
video rendering Change-Id: Id7b9b82d4e5467ad8701bfbad4dcc5070f3703cf
2012-07-17Merge from jb-dev for "sample video corruption in MediaCodec mode." DO NOT MERGEEdwin Wong
jb-dev commit: fa2b8f243eb048fb2b8e5a14356190f69eb31a36 Change-Id: I4f08b9c8e9682a998db01c509a390e51bae60c2d related-to-bug: 6732061
2012-07-13Fixed sample video corrupted in MediaCodec mode.Edwin Wong
Change-Id: I50c5660072d40f6e297e58fd026ea04c89d6a70a related-to-bug: 6732061
2012-06-13Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/James Dong
Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26 related-to-bug: 6647465
2012-06-11Fix gapless for deep buffersMarco Nelissen
Forward current flags to next output. b/6645676 Change-Id: I584f7a67472d99cbd6bc38f3fe84763331d115d1