Re: How to restrict length of on-demand stream.

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Fri, 17 Aug 2007 04:20:00 -0700, Marc
<Marc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi,

I'm creating authentication and pay-per-minute plug-ins for WMS and have got
them pretty much working apart from one scenario. The client is required to
buy credit prior to viewing the content and the problem I have is restricting
the length of the playback if the client has insufficient credit to view the
full clip. I know I can specify a duration in the playlist, but I need to
possibly specifiy a different dusration for each request.

Does anyone have any thoughts on how this could be accomplished?

The SDK indicates you can disconnect a client by index within the
IWMSPlayers collection using IWMSPlayers.Remove :
http://msdn2.microsoft.com/en-us/library/ms752499.aspx

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
.



Relevant Pages

  • Re: Getting the Groups a User belongs to ( in a service)
    ... > TokenGroups property led me in the right direction. ... > token of the client user. ... If you specify a username and password, ... This is by far the fastest way to get all of the relevant SIDs. ...
    (microsoft.public.dotnet.security)
  • Re: Merge Replication Problems after upgrade to SQL Express
    ... I found out that I need to specify QueryTimeout as DWORD ... specify 120 there for QueryTimeout synchronization work again and Profiler ... I applied the hotfix on the server and client now, ... The merge process could not clean up the subscription to ...
    (microsoft.public.sqlserver.replication)
  • Re: Secifying RPC ip address of client
    ... >> the client side in terms of an RPC call? ... Server side", I don't agree that this is the same situation. ... If it has to specify remote addresses, ... it is important to have control over the source address being ...
    (microsoft.public.win32.programmer.networks)
  • Re: Software file collection problems - which log
    ... the number of lines you see where you specify "Collect ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > when I go into the Software Inventory Client agent properties and click on ... > I will check the logs later. ...
    (microsoft.public.sms.admin)
  • Re: Software file collection problems - which log
    ... the number of lines you see where you specify "Collect ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > when I go into the Software Inventory Client agent properties and click on ... > I will check the logs later. ...
    (microsoft.public.sms.inventory)