modules:virtual_router:live_stream_input

Table of Contents

Live Stream Input Function (live capture of the real-time Internet streams)

Description is valid for software version 2.11.0 and newer.

In 2.11.0 version, the ability to capture network streams directly in software modules was added.

Most software components that accept video streams as input are not capable of directly capturing real-time network streams.

Modules that support this input mode are:

This feature eliminates the need for a Capture module to capture a network stream in the corresponding module. For modules that support Compressed Workflow, this feature also allows you to input pre-compressed live streams and work without decoding or re-encoding the video. It also allows direct monitoring of network streams in Multiviewer.

Supported streaming formats include:

  • MPEG2TS via UDP or SRT
  • HLS
  • RTMP
  • Youtube
  • Various streaming platforms

Input URL Format

The input URL format is compatible with input URL of ffmpeg stream.

UDP

UDP URL syntax: udp://hostname:port[?options]

Examples:

  • udp://225.1.100.1:1234 - receiving multicast stream.
  • udp://225.1.110.1:2000?localaddr=192.168.0.20 - receiving multicast stream over the selected local interface. It can be useful when more than one interface is used in the system.
  • udp://225.1.110.1:4900?sources=10.1.0.1 - receiving multicast stream sent from the specified addresses.

SRT

SRT URL syntax: srt://hostname:port?mode=caller&passphrase=string&latency=microseconds, where:

  • mode - specifies the type of connection used. Specify one of the following options in the mode parameter: caller, listener or rendezvous.
  • passphrase - specifies the password to receive the stream.
  • latency - specifies the maximum buffer size available for SRT packet management.

Examples:

  • srt://11.22.33.44:8000?mode=caller - receiving the SRT stream with the connection type specified.
  • srt://11.22.33.44:8000?mode=caller&passphrase=string - receiving the SRT stream with the connection type and password specified.

RTMP

RTMP URL Syntax: %rtmp://[username:password@]server[:port][/app][/instance][/playpath]

Examples:

  • rtmp://11.22.33.44:1935/appname/streamname - receiving the RTMP stream.
  • rtmp://username:password@11.22.33.44:1935/appname/streamname - receiving the RTMP stream with login and password specified.
modules/virtual_router/live_stream_input.txt · Last modified: 2025/01/16 09:15 by Dmitriy Sazhin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

Copyright © 2009-2025 Skylark Technology Inc.