WMP 10 SDK change buffer time

  • Thread starter Thread starter juky
  • Start date Start date
J

juky

Hi all,

I'm using WMP 10 SDK with vb.net and I need to reduce the buffer time.
By default is setting to 5 seconds. How can do it within my code ?

Thanks,
Juky
 
Hi

This is not a complete solution, but it shows you how to change the buffer
time

First, add a refernce (COM) to your project. The file I used was called::

Name: Windows Media Player
TypeLib Version: 1.0
Filename: WMP.DLL

It adds the WMPLib to your references.

You can declare your object like such & change the buffer time:

Dim objWMP As WMPLib.WindowsMediaPlayerClass
objWMP.network.bufferingTime = 3000 ' 3 seconds
In the WMP 10 SDK Help Documentation, lookup 'Network.bufferTime' & it has
the info.

Looking at the above page, you are able to change the buffer time from 1
sec. - 60 secs.

I will leave you to work the rest out.

I hope this has helped a little
 
Back
Top