Flussonic Media Server documentation

Stream groups

Flussonic's configuration with stream groups is intended for use in IPTV, where we'll assume stream groups as groups of TV channels. With channel groups, you can offer packages to your subscribers, with different sets of channels. Flussonic also supports the EPG for individual groups of channels.

Stream groups are configured in the cluster installation of Flussonic Media Server. You define stream groups in stream settings on the source Flussonic server.

Use case examples:

  • In a cluster of Flussonic servers, the source server may send dozens of streams, but you may want to archive only selected streams on the restreamer server. By default, all the streams are recorded in one place (if the dvr option was specified in the source settings). By using groups, you can write certain streams to different directories because the DVR settings can be set for each group of streams.

  • You configured Flussonic to prepare EPG using the EPG export feature, and you want to get the EPG for a specific channel group in order to offer it to your subscribers.

Configuring stream groups Anchor Anchor x2

On a source server, we assign groups to streams, and on the restreaming server we specify individual settings for each of the groups, which will be applied to each stream in the group.

The steps:

  1. On the source server, specify a group for each stream in stream settings. Group names are up to you. One stream can be included in more than one group depending on the channel subject or according to any other criteria.

    If no group was specified for a stream, on the restreamer such a stream will receive general settings, if there are any in source, but not group settings.

  2. On the restreaming server, configure ingest of streams from the source in the source directive.

  3. In the source directive, add settings for each group. Flussonic allows you to specify any settings of streams here.

Now let's perform the described steps:

  1. On the source server, open the Flussonic configuration file and add the directive group to each stream (which you want to include in a group).

    stream stream1 {
      group sport;
    }
    stream stream2 {
      group cartoons;
    }
    stream stream3 {
    }
    stream stream4 {
      group sport;
      group cartoons;
    }
    
  2. On the restreaming server ingest of streams from the source in the source directive. For example:

    source src1 {
    }
    
  3. On the restreaming server, add the group_config directives to the source settings – this directive allows setting individual options for streams of each group:

    source src1 {
      group_config sport {
        dvr /dvr_sport;
      }
      group_config cartoons {
        dvr /dvr_cartoons;
      }
    }
    

    This configuration tells Flussonic to write different groups to different directories.

Note. If a stream belongs to more than one group, it receives all the options defined for those groups. It an option is defined in several groups, the last value will be applied to such a stream.