Admin Panel

Admin panel setup

Admin panel is a separate package streambuilder-ui and may be installed with Streambuilder using regular installation. You will need a modern browser (Chrome, Firefox etc.) to use it.

Access

Admin panel runs on port 23001 by default. Type in your browser:

http://<hostname or IP>:23001/

Default access credentials:

  • Login: streambuilder

  • Password: streambuilder

Maintenance

To check Admin panel is up:

$ sudo svstat /etc/service/sb-ui

Restart Admin panel service:

$ sudo svc -d /etc/service/sb-ui $ sudo svc -u /etc/service/sb-ui

or, with one command

$ sudo svc -t /etc/service/sb-ui

Log files are located in /var/log/streambuilder/ui/ directory.

Add several audio streams to udp muxer

To use this feature input signal must have several audio streams. For example

Input #0, mpegts, from ‘example.ts’: Duration: 00:05:00.78, start: 41381.533144, bitrate: 5481 kb/s Program 114

Metadata: service_name : service_provider: Stream #0:0[0xd6]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x13a]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:2[0x19e]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s

  1. On the “Channel” tab of service editor check “Program <id>” checkbox.

2. On the “Profiles” tab of service editor click “Audio” button to add appropriate audio stream. 3. On the “Output” tab of service editor fill in the values to set conformity between input and output audio streams. The value can be a single number (integer value) for the <output pid>

200 201 202

or it can be separated by a colon in format <input pid>:<output pid>

0xd6:200 0x13a:201 0x19e:202

HTTP API

HTTP REST API is available on port 23081

Maintenance

Ubuntu 14.04

To check HTTP API is up:

$ status sb-api

Restart HTTP service:

$ sudo stop sb-api $ sudo start sb-api

CentOS 7.2 and Ubuntu 16.04

To check HTTP API is up:

$ systemctl status sb-api

Restart HTTP service:

$ sudo systemctl stop sb-api $ sudo systemctl start sb-api