Push Publishing
OvenMediaEngine supports Push Publishing function that can restreaming live streams to other systems. The protocol supports widely used protocols such as SRT, RTMP, and MPEGTS.
The StreamMap feature has been added, and it now automatically restreaming based on predefined conditions. You can also use the Rest API to control and monitor it.
Configuration
Push Publisher
To use Push Publishing, you need to declare the <Push>
publisher in the configuration. <StreamMap> is optional. It is used when automatic push is needed.
The RTMP protocol only supports H264 and AAC codecs.
StreamMap
<StreamMap> is used for automatically pushing content based on user-defined conditions. The XML file path should be specified relative to <ApplicationPath>/conf.
<StreamName> is used to match output stream names and supports the use of wildcard characters. <VariantNames> can be used to select specific tracks. Multiple variants can be specified using commas (','). The <Protocol> supports rtmp, mpegts, and srt. You enter the destination address in the <Url> and <StreamKey> field, where macros can also be used.
${Application}
Application name
${SourceStream}
Source stream name
${Stream}
Output stream name
REST API
Push can be controlled using the REST API. Please refer to the documentation below for more details.