Share via


WMS_EVENT_PHYSICAL_URL_TRANSFORM

banner art

Previous Next

WMS_EVENT_PHYSICAL_URL_TRANSFORM

The server has transformed the logical URL requested by a client (for example, rtsp://server1/movie1.asf) into a physical URL (for example, file://c:\wmpub\wmroot\movie1.asf). Only an authorization plug-in can register to receive this event. To authorize the event, the plug-in must return S_OK. To deny access, it must return E_ACCESSDENIED. If the event is not authorized, the server disconnects the client. The following values are associated with this event.

Value Description
WMS_PRESENT_ORIGINAL_PHYSICAL_NAME The original physical URL created when the server transforms the requested URL. A plug-in must not change this value.
WMS_PRESENT_PHYSICAL_NAME Initially, this contains the same value as the WMS_PRESENT_ORIGINAL_PHYSICAL_NAME property. However, if you want to specify an alternate physical location, you can set the new location here and return S_OK from your plug-in.
WMS_PRESENT_REQUEST_NAME The URL that the client will be redirected to. If you want to redirect the client to an alternate server, you can set the new URL here and return NS_E_REDIRECT from your plug-in. The server then disconnects and redirects the client.

See Also

Previous Next