Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
media
danimation.controls
danimation.programming
devices
drm
dshow.programming
dtransform
encoder
encoder.optimization
hometheaterpc
media
media.beta
media.beta.encoder
mediacenter
mediacenter.portable
mediaplayer
music.products
musicproducer
player
player.plugins
player.skins
player.solaris
player.visualizations
player.web
sdk
server
tools
  
 
date: Mon, 22 Jun 2009 09:08:01 -0700,    group: microsoft.public.windowsmedia.server        back       


Getting the publishingpoint within a plugin   
Hello,
Does anyone know how to get the publishingpointid or a handle on the 
publishingpoint within a custom windows media server plugin?  I've written a 
couple plugins (logging and authorization) and I need to know the 
publishingpointid of the publishingpoint the plugin is executing against.  I 
tried using the command context but the value is never there.  Any help is 
greatly appreciated.

Thanks,
Sean
date: Mon, 22 Jun 2009 09:08:01 -0700   author:   Seang

RE: Getting the publishingpoint within a plugin   
I use the presentation context instead like this (in C#):
string paramValue = "";
pPresentationCtx.GetStringValue("WMS_PRESENT_REQUEST_NAME", 5, out 
paramValue, 0);

Now paramValue has the complete requested URL, in my case something like 
this -> 
rtsp://www.domain.com/publishingpoint/media.play?item=444&sid=02932EBA...
and I just parse out the publishing point name.

"Seang" wrote:

> Hello,
> Does anyone know how to get the publishingpointid or a handle on the 
> publishingpoint within a custom windows media server plugin?  I've written a 
> couple plugins (logging and authorization) and I need to know the 
> publishingpointid of the publishingpoint the plugin is executing against.  I 
> tried using the command context but the value is never there.  Any help is 
> greatly appreciated.
> 
> Thanks,
> Sean
date: Thu, 30 Jul 2009 09:33:01 -0700   author:   phoenixblue

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us