Copyright © 2001-2011 MultiMedia Soft

SetInternetBufferLength method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the length, expressed in milliseconds, of the buffer used for downloading an Internet stream to play. The current length can be retrieved through the GetInternetBufferLength method.

 

For further details about Internet streams support see the How to play Internet streams section.

 

 

Syntax

 

[Visual Basic]

control.SetInternetBufferLength (

nBufferlengthInMs as Long

)


 

[C++]

void control.SetInternetBufferLength (

long nBufferlengthInMs

);


 

 

Parameter

Description

 

 

nBufferlengthInMs

Number representing the length of the buffer expressed in milliseconds.

By default the buffer is set to 5000 (5 seconds); increasing this buffer decreases the chance of the stream going in stall but, due to the fact that more data has to be pre-buffered, also increases the time taken to prepare the Internet stream for playback.

 

 

Return value

 

None