6.1-roMediaStreamerEvent

ON THIS PAGE


This object is sent by instances of roMediaStreamer. It provides information about the current state of an IP stream being sent by the player.  

ifUserData

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.

ifMediaStreamerEvent

GetEvent() As Integer

Returns an integer describing the status of an roMediaStreamer instance:

  • 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.
  • 1 – EOS_ERROR: The stream has been aborted prematurely because of an error condition.