Noisy Androids Mastering the Android Media Framework Dave Sparks 27-May-2009 Agenda • Frank Lloyd Android: Media Framework architecture • Sweet Android: What's new in Cupcake V1.5? • Busted Android: Common problems • Curious Android: Q & A 3 Architecture Design Goals • Simplify application development • Share resources in multi-tasked environment • Strong security model • Room for future growth 5 Media Framework Surface Flinger Media Application Server Audio Flinger 6 Typical Stack for Media Function Call DVM Native Binder Binder Native JNI Proxy Proxy Proxy Native Implementation 7 Media Server Process Media Camera Media Player Service Recorder Service Service OpenCORE Vorbis MIDI OpenCORE Camera 8 Media Playback Surface Flinger ISurface source URI ISurface Media Application Server audio type audio type Audio Flinger 9 Media Recorder Surface Flinger ISurface setCamera ISurface Media Application Server selectAudio audio Audio Flinger Camera Service Camera 10
Description: