Flussonic Media Server Documentation

Contents

Video Playback

Protocols for video playback

Flussonic Media Server can play video streams via various protocols.

On this page you will find:

  • the URL addresses that you should use in players in order to play video via different protocols

  • links to sections that provide more information about configuring the playback via each certain protocol

  • how to allow and prohibit certain output protocols.

URLs for playing video

embed.html

URL: http://FLUSSONIC-IP/STREAMNAME/embed.html

Flussonic Media Server has a special page embed.html which is intended for video insertion to a website or viewing of video via a browser. The page automatically detects a browser version to select a supported protocol. For the majority of devices for today — it's HLS. Read more in the article «Video insertion on the website (embed.html)».

HLS

URL for the player: http://FLUSSONIC-IP/STREAMNAME/index.m3u8

Read more in «HLS playback». Use (embed.html)or any third-party player to insert HLS stream on your website. For example, hls.js or clappr.

HLS for multi-language streams, viewing using an STB or VLC

URL for the player: http://FLUSSONIC-IP/STREAMNAME/video.m3u8

Read more in «Multilanguage HLS».

HTML5 (MSE-LD)

The stream is available at the URL: http://FLUSSONIC-IP/STREAMNAME/embed.html?realtime=true

Read more in «HTML5 (MSE) low latency playback».

DASH

The stream is available at the URL: http://FLUSSONIC-IP/STREAMNAME/index.mpd

Also Flussonic Media Server has special playlist "rewind-N.mpd" with a wide sliding window that allows to rewind and pause DASH streams for many hours. http://flussonic-ip/STREAMNAME/rewind-7200.mpd

Read more in «DASH playback».

MSS

The stream is available at the URL: http://FLUSSONIC-IP/STREAMNAME.isml/manifest

Playing individual tracks, selecting subtitle tracks

If a stream has several audio, video, and subtitles tracks, you can specify which tracks should be delivered. For this, specify track numbers by adding ?filter=tracks: to the stream's URL.

  • http://FLUSSONIC-IP/STREAMNAME.isml/manifest?filter=tracks:v1a1 — select the first audio and second video tracks.
  • http://FLUSSONIC-IP/STREAMNAME.isml/manifest?filter=tracks:a1 — select audio only.
  • http://FLUSSONIC-IP/STREAMNAME.isml/manifest?filter=tracks:v1 — select video only.
  • http://FLUSSONIC-IP/STREAMNAME.isml/manifest?filter=tracks:a1t2 — select the first audio and second subtitle tracks.
  • http://FLUSSONIC-IP/STREAMNAME.isml/manifest?filter=tracks:v1t1t2t3 — select the first video track and three tracks with subtitles.

Selecting tracks is useful to play video on client devices that do not support, for example, the multi-language MSS manifest.

How to play an archive via MSS is described in Accessing DVR archives

HTTP MPEG-TS

The stream is available at the URL: http://FLUSSONIC-IP/STREAMNAME/mpegts

HDS

URL for the player: http://FLUSSONIC-IP/STREAMNAME/manifest.f4m

RTMP

The stream is available at the URL: rtmp://FLUSSONIC-IP/static/STREAMNAME

RTSP

The stream is available at the URL: rtsp://FLUSSONIC-IP/STREAMNAME

If a stream has several audio and video tracks, Flussonic uses the first track by default (a1v1).

You can specfy which tracks Flussonic must deliver. For this, specify track numbers in the tracks parameter of the stream's URL.

Examples:

  • rtsp://FLUSSONIC-IP/STREAMNAME?tracks=a2v1

  • rtsp://FLUSSONIC-IP/STREAMNAME?tracks=a2v1&from=1 — DVR.

  • rtsp://FLUSSONIC-IP/vod/file?tracks=a2v1 — VOD.

  • rtsp://FLUSSONIC-IP/STREAMNAME2 = rtsp://FLUSSONIC-IP/STREAMNAME1?tracks=v1a1

Selecting only one track:

  • rtsp://FLUSSONIC-IP/STREAMNAME?tracks=a1 — select an audio track.

  • rtsp://FLUSSONIC-IP/STREAMNAME?tracks=v1 — select a video track.

If you specify more than two tracks or make a syntax error, the default tracks will be used (a1v1).

WebRTC

The stream is available at the URL:

  • ws://FLUSSONIC-IP/STREAMNAME/webrtc

  • wss://host/STREAMNAME/webrtc?transport=tcp — using TCP for delivery of a WebRTC stream.

Read more about our WebRTC player and how to organize playback in «WebRTC Playback».

SHOUTcast

The stream is available at the URL: http://FLUSSONIC-IP/STREAMNAME/shoutcast

Flussonic Media Server can deliver SHOUTcast, ICEcast radio stream.

Setting up output protocols for a stream

The URLs described earlier on this page can be found in the Flussonic UI on the Output tab of stream settings.

By default, playback via all protocols is allowed, but you can prohibit playback via the protocols that you specify.

Starting from version 20.02, you can use a shorter notation for specifying output protocols for a stream. In the coniguration file, you can list all the protocols by using the protocols option.

The previously used notation is still supported.

Example

For example, you want to allow all protocols except MPEG-TS and HLS for the stream channel_01.

output protocols

In the configuration file, the settings look as follows:

stream channel_01 {
  protocols -mpegts -hls;
}

If you want to allow only DASH and RTMP for playing the stream channel_02 and disable other protocols:

output protocols

In the configuration file, the settings look as follows:

stream channel_02 {
  protocols dash rtmp;
}