Moment Video Server
Clustering

Several Moment Video Server instances can be configured as a cluster, which allows for load distrubution between cluster nodes. Such cluster consits of master servers which receive video streams from primary sources, and slave servers acting as retransmitters. Here's a pipeline for retransmitting a stream from another server:

mod_gst {
  streams {
    {
      // Retransmitting "video" channel from server my.server.com
      name = video
      chain = "rtmpsrc location=\"rtmp://my.server.com:1935/app/video\" ! \
               flvdemux name=demux                                        \
               demux.video ! queue ! fakesink name=video                  \
               demux.audio ! queue ! fakesink name=audio"
  }
}


Back to Contents