Romediaserver – BrightSign Object Reference Manual (FW 5.1) User Manual
Page 205

197
roMediaServer
The roMediaServer object waits for client requests, deals with negotiation, and ultimately generates an
pipeline to fulfill the request. For more information, see the Media Server Developer’s Guide on t
This object currently supports RTSP and HTTP requests. Requests from the client must take the following form:
protocol://IP_address:port/media_streamer_pipeline
•
protocol: Either rtsp or http
•
IP_address:port: The IP address of the BrightSign player and the port number on which the media server is
running.
•
media_streamer_pipeline: A media streamer pipeline, but without the final destination component (as the
destination is implicit in the request from the client).
Object Creation: The roMediaServer object is created with no parameters
CreateObject("roMediaServer")
Interfaces: ifMediaServer, ifIdentity, ifMessagePort
The ifMediaServer interfaces provides the following:
•
GetFailureReason() As String: Returns useful information if the Start(), Stop(), or Terminate()
methods return False.
•
Start(a As String) As Boolean: Begins a media server instance. This method can be passed a string that
specifies the streaming protocol and the port number of the server:
s = CreateObject("roMediaServer")
s.Start("http:port=8080")