共用方式為


IWMReaderNetworkConfig2 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 IWMReaderNetworkConfig2 interface provides advanced networking functionality.

An IWMReaderNetworkConfig2 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 IWMReaderNetworkConfig2 interface inherits from IWMReaderNetworkConfig. IWMReaderNetworkConfig2 also has these types of members:

Methods

The IWMReaderNetworkConfig2 interface has these methods.

 
IWMReaderNetworkConfig2::GetAcceleratedStreamingDuration

The GetAcceleratedStreamingDuration method retrieves the current accelerated streaming duration.
IWMReaderNetworkConfig2::GetAutoReconnectLimit

The GetAutoReconnectLimit method retrieves the maximum number of times the reader will attempt to reconnect to the server in the case of an unexpected disconnection.
IWMReaderNetworkConfig2::GetEnableContentCaching

The GetEnableContentCaching method queries whether content caching is enabled. If content caching is enabled, streaming content can be cached locally.
IWMReaderNetworkConfig2::GetEnableFastCache

The GetEnableFastCache method queries whether Fast Cache streaming is enabled. Fast Cache streaming enables network content to be streamed faster than the playback rate, if bandwidth allows.
IWMReaderNetworkConfig2::GetEnableResends

The GetEnableResends method ascertains whether resending is enabled.
IWMReaderNetworkConfig2::GetEnableThinning

The GetEnableThinning method ascertains whether Intelligent Streaming is enabled. Intelligent Streaming is the communication between the reader and the streaming server that enables the server to change the content sent based on available bandwidth.
IWMReaderNetworkConfig2::GetMaxNetPacketSize

The GetMaxNetPacketSize method retrieves the maximum size of packets being streamed over a network.
IWMReaderNetworkConfig2::SetAcceleratedStreamingDuration

The SetAcceleratedStreamingDuration method sets the accelerated streaming duration. This duration applies to the Fast Start feature of Windows Media Services, which enables content to be played quickly without waiting for lengthy initial buffering.
IWMReaderNetworkConfig2::SetAutoReconnectLimit

The SetAutoReconnectLimit method sets the maximum number of times the reader will attempt to reconnect to the server in the case of an unexpected disconnection.
IWMReaderNetworkConfig2::SetEnableContentCaching

The SetEnableContentCaching method enables or disables content caching. If content caching is enabled, content that is being streamed can be cached locally.
IWMReaderNetworkConfig2::SetEnableFastCache

The SetEnableFastCache method enables or disables Fast Cache streaming. Fast Cache streaming enables network content to be streamed faster than the playback rate, if bandwidth allows.
IWMReaderNetworkConfig2::SetEnableResends

The SetEnableResends method enables or disables resends.
IWMReaderNetworkConfig2::SetEnableThinning

The SetEnableThinning method enables or disables Intelligent Streaming. Intelligent Streaming is the communication between the reader and the streaming server that enables the server to change the content sent based on available bandwidth.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMReaderNetworkConfig Interface

Interfaces