Remarks
Occurs when an Internet stream doesn't have enough data for playback and starts buffering new data and also when there are enough buffered data for resuming the stalled playback.
For further details about Internet streams support see the How to play Internet streams section.
Syntax
[Visual Basic]
Public Event DownloadBuffering As DownloadBufferingEventHandler
|
|
[C#]
public event DownloadBufferingEventHandler DownloadBuffering;
|
|
[C++]
public: __event DownloadBufferingEventHandler* DownloadBuffering;
|
|
Event Data
The event handler receives an argument of type DownloadBufferingEventArgs having the following parameters:
Parameters
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the player that fired the event
|
nState
|
The buffering status.
Supported values are the following:
Mnemonic value
|
Value
|
Meaning
|
STREAMING_BUFFERING
|
0
|
The player is stalled and started buffering data from the Internet
|
STREAMING_PLAYING
|
1
|
The player has enough data to play and resumed the stalled playback
|
|
|