共用方式為


IWMReaderNetworkConfig interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMReaderNetworkConfig interface is used to set and test network configuration settings. By using this interface, the application can configure which protocols must be used to receive the stream as well as other advanced network settings, such as proxy specification and buffering time.

An IWMReaderNetworkConfig interface exists for every reader object. You can obtain a pointer to an instance of this interface by calling the QueryInterface method of any other interface of the reader object.

Inheritance

The IWMReaderNetworkConfig interface inherits from the IUnknown interface. IWMReaderNetworkConfig also has these types of members:

Methods

The IWMReaderNetworkConfig interface has these methods.

 
IWMReaderNetworkConfig::AddLoggingUrl

The AddLoggingUrl method specifies a server that receive logging information from the reader object.
IWMReaderNetworkConfig::GetBufferingTime

The GetBufferingTime method retrieves the amount of time that the network source buffers data before rendering it.
IWMReaderNetworkConfig::GetConnectionBandwidth

The GetConnectionBandwidth method retrieves the connection bandwidth for the client.
IWMReaderNetworkConfig::GetEnableHTTP

The GetEnableHTTP method queries whether HTTP is enabled for protocol rollover.
IWMReaderNetworkConfig::GetEnableMulticast

The GetEnableMulticast method ascertains whether multicast is enabled.
IWMReaderNetworkConfig::GetEnableTCP

The GetEnableTCP method queries whether TCP is enabled for protocol rollover.
IWMReaderNetworkConfig::GetEnableUDP

The GetEnableUDP method queries whether UDP is enabled for protocol rollover.
IWMReaderNetworkConfig::GetForceRerunAutoProxyDetection

The GetForceRerunAutoProxyDetection method ascertains whether forced rerun detection is enabled.
IWMReaderNetworkConfig::GetLoggingUrl

The GetLoggingUrl method retrieves a URL from the list of servers that receive logging information from the reader object. Use the IWMReaderNetworkConfig::GetLoggingUrl method to add servers to the list.
IWMReaderNetworkConfig::GetLoggingUrlCount

The GetLoggingUrlCount method retrieves the number of URLs in the current list of logging URLs.
IWMReaderNetworkConfig::GetNumProtocolsSupported

The GetNumProtocolsSupported method retrieves the number of supported protocols.
IWMReaderNetworkConfig::GetProxyBypassForLocal

The GetProxyBypassForLocal method queries whether the reader object bypasses the proxy server for local URLs.
IWMReaderNetworkConfig::GetProxyExceptionList

The GetProxyExceptionList method retrieves the list of computers, domains, or addresses for which the reader object bypasses the proxy server.
IWMReaderNetworkConfig::GetProxyHostName

The GetProxyHostName method retrieves the name of the host to use as the proxy.
IWMReaderNetworkConfig::GetProxyPort

The GetProxyPort method retrieves the port number of the proxy server.
IWMReaderNetworkConfig::GetProxySettings

The GetProxySettings method retrieves the current proxy settings.
IWMReaderNetworkConfig::GetSupportedProtocolName

The GetSupportedProtocolName method retrieves a protocol name by index.
IWMReaderNetworkConfig::GetUDPPortRanges

The GetUDPPortRanges method retrieves the UDP port number ranges used for receiving data.
IWMReaderNetworkConfig::ResetLoggingUrlList

The ResetLoggingUrlList method clears the list of servers that receive logging data.
IWMReaderNetworkConfig::ResetProtocolRollover

The ResetProtocolRollover method forces the reader object to use the normal protocol rollover algorithm.
IWMReaderNetworkConfig::SetBufferingTime

The SetBufferingTime method specifies how long the network source buffers data before rendering it.
IWMReaderNetworkConfig::SetConnectionBandwidth

The SetConnectionBandwidth method specifies the connection bandwidth for the client.
IWMReaderNetworkConfig::SetEnableHTTP

The SetEnableHTTP method enables or disables HTTP.
IWMReaderNetworkConfig::SetEnableMulticast

The SetEnableMulticast method enables or disables multicasting.
IWMReaderNetworkConfig::SetEnableTCP

The SetEnableTCP method enables or disables TCP.
IWMReaderNetworkConfig::SetEnableUDP

The SetEnableUDP method enables or disables UDP.
IWMReaderNetworkConfig::SetForceRerunAutoProxyDetection

The SetForceRerunAutoProxyDetection method enables or disables forced rerun detection.
IWMReaderNetworkConfig::SetProxyBypassForLocal

The SetProxyBypassForLocal method specifies the configuration setting for bypassing the proxy for local hosts.
IWMReaderNetworkConfig::SetProxyExceptionList

The SetProxyExceptionList method specifies the proxy exception list.
IWMReaderNetworkConfig::SetProxyHostName

The SetProxyHostName method specifies the proxy host name.
IWMReaderNetworkConfig::SetProxyPort

The SetProxyPort method specifies the proxy port.
IWMReaderNetworkConfig::SetProxySettings

The SetProxySettings method specifies the proxy settings.
IWMReaderNetworkConfig::SetUDPPortRanges

The SetUDPPortRanges method specifies the UDP port number ranges that are used for receiving data.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

Interfaces

Reader Object