[android-porting] DRM rights consumption in Android

2009-10-13 Thread Atish
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, PVMFSubNodeContainerBase

[android-porting] Re: DRM rights consumption in Android

2009-10-13 Thread Atish
009/10/13 Atish > > > > > > > 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

[android-porting] Re: DRM rights consumption in Android

2009-10-14 Thread Atish
27;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 > > &g

[android-porting] Re: DRM rights consumption in Android

2009-10-15 Thread Atish
> Under this opencore structure, > all I can think of is to reset MediaPlayer in CompletionListener. > > I hope there is a better solution. > > 2009/10/14 Atish > > > > > > > Thanks for Replying... > > > I have already tried that. > > > CPM's

[android-porting] Re: DRM rights consumption in Android

2009-10-15 Thread Atish
ke > BITMASK_PVMF_CPM_DRM_INTENT_RESUME, BITMASK_PVMF_CPM_DRM_INTENT_SEEK_BACK in > parser nodes. (I haven't used them yet..) > > 2009/10/15 Atish > > > > > > > yeah we can do that but i feel that won't be a gud solution as anybody > > can write an application which won't ca

[android-porting] Re: DRM rights consumption in Android

2009-10-17 Thread Atish
On Oct 17, 10:16 am, RaviY wrote: > Are you saying that you want to consume a right every time the clip is > either paused, or stopped, or played in a loop? > > On Oct 15, 8:47 am, Atish wrote: > > > > > Whatever u said is absolutely correct.But imaging actual use c

[android-porting] Re: DRM rights consumption in Android

2009-10-20 Thread Atish
what do u say?? how to handle that case??? Thanks and Regards, Atish On Oct 17, 8:10 pm, RaviY wrote: > That would mean that you want to consume a license for every play in a > loop. Right? > > As a consumer, that is a very bad scenario. Also, it introduces > trickcy situations/

[android-porting] Re: DRM rights consumption in Android

2009-10-20 Thread Atish
u say?? how to handle that case???" as I > said, there is no good way around it. As an example, one could do a > reposition in the last second of the clip, and playback from the > beginning. In your usecase, wouldn't that be allowed? > > -Ravi > > On Oct 20, 4:39 

[android-porting] Re: DRM rights consumption in Android

2009-10-20 Thread Atish
, Atish wrote: > Thanks Ravi for your reply it's a great help... > "played completely" for this i was checking end of file in Pause State > (TRACKSTATE_ENDOFTRACK) > > if track state is TRACKSTATE_ENDOFTRACK then consume rights otherwise > do not... > > Is it a s

[android-porting] Acquire license for DRM contents.

2009-10-31 Thread Atish
Hiii All, i am trying to work with CPM plugin for playing of DRM contents.I saw get license code snippets in Parser node and CPM code. All calls are made from AcquireLicense from PvPlayer Engine. After that i was clueless.Where should i call AcquireLicense of Engine in order to retrieve license