This is not a scenario we can support today. You can get close by decrypting the stream, writing it to a file in your application's private directory, and playing it from there. This would keep it reasonably secure unless the phone is jail-broken. Of course, it's not real-time streaming - you need to write out the complete file first.
On Feb 4, 7:08 pm, "Jerry Yang" <jer...@intertrust.com> wrote: > Hi, all > Any feedback? What I need is like: I try to playback a scrambled > stream/file. I wanna to de-crypto the file and feed the clear stream to > player. But I did not find any detail information about the media player > of android platform. > My possible solution is like: > 1. build a C based service/process to make the decrypto work running, > then try to give the stream to the player by some way. I still do not > know how to give the clear stream to decoder. Does anyone has any idea > about it? > 2. build a C based library to make the de-crypto work, they the android > java app calls the api to decrypto the stream/file, transfer the clear > stream/file to player, but I also noticed the android native code > support is not added, how to transfer the clear stream to decoder is > also problem here. > > With best wishes > Jerry > > -----Original Message----- > From: android-developers@googlegroups.com > > [mailto:android-develop...@googlegroups.com] On Behalf Of Jerry Yang > Sent: Tuesday, February 03, 2009 4:45 PM > To: android-developers@googlegroups.com > Subject: [android-developers] Re: About media player > > I wanna to add a plug-in with certain de-crypto. That means I receive > encrypted meida, and de-encrypt it on run time with certain key. My > propose is to setup a demo system for research and study. > With best wishes > Jerry > > -----Original Message----- > From: android-developers@googlegroups.com > [mailto:android-develop...@googlegroups.com] On Behalf Of Dave Sparks > Sent: Tuesday, February 03, 2009 6:43 AM > To: Android Developers > Subject: [android-developers] Re: About media player > > What kind of plug-in do you want to write? > > "media player" is kind of a vague term. There is the Music player > application, the MusicPlaybackService, the MovieView activity, the > VideoView activity, and the MediaPlayer object. Source for all of > those is available at source.android.com. > > On Feb 1, 12:36 am, "Jerry Yang" <jer...@intertrust.com> wrote: > > Hi, all > > > I have a simple question, except the default player, is there any open > > source media player we can modify or is there anyway we can add some > > feature to the media player in android platform? Like we add a plug-in > > into the MS media player? > > > Thanks > > > With best wishes > > > Jerry Yang > > > Client System Engineer Intertrust. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---