beautypg.com

Romediastreamerevent – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 209

background image

201

roMediaStreamerEvent

This object is sent by instances of

roMediaStreamer

. It provides information about the current state of an IP stream being

sent by the player.

Interfaces: ifUserData, ifMediaStreamerEvent

The ifUserData interface provides the following:

SetUserData(user_data As Object): Sets the user data that will be returned when events are raised.

GetUserData() As Object: Returns the user data that has previously been set via SetUserData(). It will
return Invalid if no data has been set.

The ifMediaStreamerEvent interface provides the following:

GetEvent() As Integer: Returns an integer describing the status of an roMediaStreamer instance:

o 0 – EOS_NORMAL: The end of the stream has been reached without any errors being detected. This signal

is not sent if the

loop parameter is specified using the roMediaStreamer.SetSource() method.

o 1 – EOS_ERROR: The stream has been aborted prematurely because of an error condition.