Windows Media Services SDK banner art
PreviousNext

Context Properties Set by the Server

The server sets different context properties for different types of events. The following table lists the property values that are set by the server for initialization or when authorization or notification of an event occurs.

Events Properties set by server
When initialization occurs Server context:
NSS_SERVER_NAME
NSS_VIRTUAL_SERVER_NAME
NSS_SERVER_VERSION_HI
NSS_SERVER_VERSION_LO
NSSE_CONNECT and

NSSE_DISCONNECT

Server context:
NSS_SERVER_NAME
NSS_VIRTUAL_SERVER_NAME
NSS_SERVER_VERSION_HI
NSS_SERVER_VERSION_LO

User context:
NSS_USER_AGENT
NSS_USER_IP_ADDRESS
NSS_USER_CONTROL_PROTOCOL
NSS_USER_ID

NSSE_SKIP_AUTHENTICATION Server context:
NSS_SERVER_NAME
NSS_VIRTUAL_SERVER_NAME
NSS_SERVER_VERSION_HI
NSS_SERVER_VERSION_LO

User context:
NSS_USER_AGENT
NSS_USER_IP_ADDRESS
NSS_USER_CONTROL_PROTOCOL
NSS_USER_ID

Presentation context:
NSS_PRESENT_REQUEST_NAME

NSSE_OPEN and

NSSE_CLOSE

Server context:
NSS_SERVER_NAME
NSS_VIRTUAL_SERVER_NAME
NSS_SERVER_VERSION_HI
NSS_SERVER_VERSION_LO

User context:
NSS_USER_AGENT
NSS_USER_IP_ADDRESS
NSS_USER_CONTROL_PROTOCOL
NSS_USER_ID
NSS_USER_AUTHENTICATOR
NSS_USER_NAME

Presentation context:
NSS_PRESENT_PHYSICAL_NAME
NSS_PRESENT_REQUEST_NAME

NSSE_PLAY and

NSSE_STOP

* Items are only set for the NSSE_STOP event.

Server context:
NSS_SERVER_NAME
NSS_VIRTUAL_SERVER_NAME
NSS_SERVER_VERSION_HI
NSS_SERVER_VERSION_LO

User context:
NSS_USER_AGENT
NSS_USER_IP_ADDRESS
NSS_USER_CONTROL_PROTOCOL
NSS_USER_ID
NSS_USER_AUTHENTICATOR (*)
NSS_USER_NAME (*)

(*) When the authentication is enabled.

Presentation context:
NSS_PRESENT_PHYSICAL_NAME
NSS_PRESENT_REQUEST_NAME
NSS_PRESENT_BITRATE
NSS_PRESENT_DURATION_HI
NSS_PRESENT_DURATION_LO
NSS_PRESENT_LIVE
NSS_PRESENT_BROADCAST
NSS_PRESENT_SEEKABLE
NSS_PRESENT_RECORDABLE
NSS_PRESENT_PLAY_RATE
NSS_PRESENT_START_POS_HI
NSS_PRESENT_START_POS_LO

 *NSS_PRESENT_TOTAL_BYTES_SENT_HI
*NSS_PRESENT_TOTAL_BYTES_SENT_LO
*NSS_PRESENT_TOTAL_PLAY_TIME_HI
*NSS_PRESENT_TOTAL_PLAY_TIME_LO


Note   The NSS_USER_AUTHENTICATOR and NSS_USER_NAME properties are not set by the server unless authentication is enabled and the user has been authenticated.

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.