>B2G does not use AwesomePlayer at all, but uses MediaExtractor and OMXCodec. >AwesomePlayer is not used in B2G. If you saw AwesomePlayer in the log, it come >from >android::CameraService. B2G do not modify android's CameraService, just >removing the sound files. So, it try to open sound files but failed, because >of no file.
On caf ics code, the sound files load can be stopped by setting "persist.camera.shutter.disable". It seems a CAF specific system property. AOSP does not have it. https://www.codeaurora.org/cgit/quic/la/platform/frameworks/base/tree/services/camera/libcameraservice/CameraService.cpp?h=b2g_ics_1.2#n297 sotaro ----- Original Message ----- From: "Sotaro Ikeda" <sik...@mozilla.com> To: "Randy Lin" <r...@mozilla.com> Cc: "amitav anand" <amitav.an...@accenture.com>, dev-b2g@lists.mozilla.org Sent: Saturday, October 19, 2013 10:55:31 AM Subject: Re: [b2g] Media Framework Queries >I noticed that during media playback for mp3 file, the traces were from >SYDNEY_AUDIO and MP3 Openmax component, but in case of Camera application, I >can see the traces from Awesome Player, Stagefright and then Openmax >component. B2G does not use AwesomePlayer at all, but uses MediaExtractor and OMXCodec. AwesomePlayer is not used in B2G. If you saw AwesomePlayer in the log, it come from android::CameraService. B2G do not modify android's CameraService, just removing the sound files. So, it try to open sound files but failed, because of no file. http://androidxref.com/4.3_r2.1/xref/frameworks/av/services/camera/libcameraservice/CameraService.cpp#737 android default sound files are removed by the following. https://github.com/mozilla-b2g/platform_build/commit/e49a060e6177098abcdf7ce6f60cacb3d9ecec23 sotaro ----- Original Message ----- From: "Randy Lin" <r...@mozilla.com> To: "amitav anand" <amitav.an...@accenture.com> Cc: dev-b2g@lists.mozilla.org Sent: Friday, October 18, 2013 11:16:38 AM Subject: Re: [b2g] Media Framework Queries Hi Amitav, You can refer the Sotaro's diagrams for media playback stuff. https://github.com/sotaroikeda/firefox-diagrams/wiki/Firefox-Diagrams ------------------------------------- -rlin ----- Original Message ----- From: "amitav anand" <amitav.an...@accenture.com> To: dev-b2g@lists.mozilla.org Cc: "amitav anand" <amitav.an...@accenture.com> Sent: Friday, October 18, 2013 6:33:09 PM Subject: [b2g] Media Framework Queries Hi All, I am new to Firefox OS and I am trying out some use cases for Firefox OS Media Framework. I have tried media playback and camera services. Just to check the flow I had enabled traces in Awesome player and Stagefright. I am trying these use cases on emulator. I noticed that during media playback for mp3 file, the traces were from SYDNEY_AUDIO and MP3 Openmax component, but in case of Camera application, I can see the traces from Awesome Player, Stagefright and then Openmax component. Can Some one please clarify, is there any other media framework being used in playback case or I need to enable some macros to use Stagefright for playback. Regards Amitav ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. . ______________________________________________________________________________________ www.accenture.com _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g