Επεξεργασία

Κοινή χρήση μέσω


Default Networking Settings

[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 following tables describe the default settings of the networking parameters in the Windows Media Format SDK, grouped by interface.

IWMReaderNetworkConfig Default setting
Buffering time 5 seconds
UseFixedUDPPort FALSE
FixedUDPPort 0 (not valid)
ProxySetting: HTTP WMT_PROXY_SETTING_BROWSER
ProxySetting: MMS WMT_PROXY_SETTING_NONE
ProxySetting: RTSP WMT_PROXY_SETTING_NONE
ProxyHostName (HTTP, MMS, RTSP) ""
ProxyPort: HTTP 80
ProxyPort: MMS 1755
ProxtPort: RTSP 554
ProxyExceptionList (HTTP, MMS, RTSP) ""
ProxyBypassForLocal (HTTP, MMS, RTSP) FALSE
ForceRerunAutoDetection FALSE
EnableMulticast TRUE
EnableHTTP TRUE
EnableTCP TRUE
EnableUDP TRUE
Connection Bandwidth 0 (auto-detect)

 

IWMReaderNetworkConfig2 Default setting
Accelerated streaming duration 100000000 (10 seconds)
Enable content caching TRUE
Enable fast cache TRUE
Enable resends TRUE
Enable content thinning TRUE
Reconnect limit 25

 

IWMWriterNetworkSink Default setting
Maximum clients 5
Network protocol 0 (WMT_PROTOCOL_HTTP)
Host URL 0 (not valid)

 

IWMWriterAdvanced2 Default setting
Maximum packet size 1400
Log client ID FALSE
Play mode WMT_PLAY_MODE_AUTOSELECT

 

Implementing Network Functionality