I didn't know the default music player doesn't call MediaPlayer.Reset().

How about you put such as ConsumeRight() in CPM's AuthorizeUsage() not in
CPM's UsageComplete()?
In this case the consumption happens before playback.

2009/10/14 Atish <atish...@gmail.com>

>
> But Currently android music player doesnot call Reset.That means it
> can play DRM files with no constratint!!!!
>
> So where should i put that UsuageComplete code so that every case is
> considered??
>
> On Oct 14, 6:44 am, NoraBora <noranb...@gmail.com> wrote:
> > DoReset() is invoked by MediaPlayer.reset();
> >
> > 2009/10/13 Atish <atish...@gmail.com>
> >
> >
> >
> >
> >
> > > Hi All,
> > > I m trying to run CPM plugin thru opencore for playing DRM contents in
> > > Android.
> >
> > > I was succesfule in registrering and checking the rights for DRM
> > > content thru CPM plugin.
> >
> > > But consuming rights is not working because of below mentioned reason.
> >
> > >  Push(iCPMContainer, PVMFSubNodeContainerBaseMp3::ECPMUsageComplete);
> > > This command will enque the consume rights commands
> > > (ECPMUsageComplete).But this  code is present in DoReset.
> >
> > > So how do reset will be invoked??
> > > Current android music player doesnot even call stop.
> >
> > > so ECPMUsageComplete is not getting called...
> > > how to solve this issue...???- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to