Copyright © 2005-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.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event StreamLoaded As StreamLoadedEventHandler


 

[C#]

public event StreamLoadedEventHandler StreamLoaded;


 

[C++]

public: __event StreamLoadedEventHandler* StreamLoaded;


 

 

Event Data

 

The event handler receives an argument of type StreamLoadedEventArgs having the following parameters:

 

Parameters

Description

 

 

nPlayerIndex

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

nResult

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