Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md Update README.md Mar 24, 2017
server_plugin.brs Update server_plugin.brs Mar 7, 2017

README.md

Overview

This plugin converts an XT, XD, 4K player to a Media Server that can multicast streams or respond to client streaming requests. When the files being streamed are cached (i.e. they aren't being read from the SD card), XDx30, XDx32 players support up to four 19Mbps streams. XT, 4K, and XDx33 players support up to 50 19Mbps streams of the same file or 11 streams (16Mbps average) of different files.

When file streaming, the Media Server currently only supports the MPEG-2 transport stream format.

Requirements

  • BrightAuthor version 4.3 or newer
  • XTx43, XDx33, 4Kx42, XDx32 for streaming the presentation display or HDMI input

Adding the Plugin to your Presentation

Follow these steps to add this plugin to your BrightAuthor presentation:

  1. Download the plugin file from GitHub.
  2. Navigate to File > Presentation Properties > Autorun.
  3. Click Add Script Plugin.
  4. Locate and select the Streaming Server plugin.
  5. Specify the plugin Name as "server".

Server Parameters

When the presentation starts, the plugin will begin streaming the HDMI input (if available). You can alter the default behavior by changing the following parameters in the plugin script:

  • s.streamdisplayenabled = false: Set to true to stream the presentation display.
  • s.hdmioutenabled = true: Set to false to disable the default behavior.
  • s.hdmimultienabled = false: Set to true to stream HDMI input via multicast.

Note: If all of the above values are false, then clients will stream video files from the server.

Encoder Settings

To edit the standard HDMI input streaming, change this value:

pipleline$="hdmi:,encoder:vformat=720p60&vbitrate=8000,"

To edit multicast HDMI input streaming, change this value:

pipelineaddress$ = "hdmi:,encoder:vformat=720p30&vbitrate=8000,"+m.multicast$

To edit presentation display streaming, change this value:

display:mode=1&vformat=720p30&vbitrate=8000,encoder:,mem:/display

The following parameters can be changed:

  • vformat: Can be "720p30" or "1080p60".
  • vbitrate: Can range from 8000 to 15000 (8mbps to 15mbps).

Multicast address

To set the multicast streaming address, edit the string value of the s.multicast$ variable on line 53:

s.multicast$ = "rtp://239.192.0.0:5004/"

Streaming URLs

Use the following URLs outline to access streams on a client:

Accessing a file stream on a client

rtsp://ServerIpAddress:8090/file:///folder/file.ts

rtsp://ServerIpAddress:8090/file:///file.ts

Accessing an HDMI-input stream on a client

rtsp://serverIPAddress:8090/mem:/hdmi/stream.ts

Acessing a display stream on a client

rtsp://serverIPAddress:8090/mem:/display/stream.ts