Copyright © 2001-2018 MultiMedia Soft

StreamLoaded event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the player has buffered enough data from an Internet stream in order to start playback. In case the Internet stream should have been successfully loaded from a playlist, this event would be fired immediately before the StreamLoadedFromInetPlaylist event.

 

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

 

 

Syntax

 

[Visual Basic]

StreamLoaded (

ByVal nPlayer as Integer,

ByVal nResult as enumEventLoadStreamResults

)


 

[C++]

void StreamLoaded (

short nPlayer,

long nState

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that fired the event

nState

The stream loading result.

Supported values are the following:

Mnemonic value

Value

Meaning

STREAM_LOAD_FAIL

0

The stream loading failed

STREAM_LOAD_OK

1

The stream loading was successful