RTSP Pull
From version 0.10.4, RTSP Pull input is supported as a beta version. The supported codecs are H.264, AAC(ADTS). Supported codecs will continue to be added.
This function pulls a stream from an external RTSP server and operates as an RTSP client.

Configuration

RTSP Pull is provided through OriginMap configuration. OriginMap is the rule that the Edge server pulls the stream of the Origin server. Edge server can pull a stream of origin with RTSP and OVT (protocol defined by OvenMediaEngine for Origin-Edge) protocol. See the Clustering section for more information about OVT.
1
<VirtualHosts>
2
<VirtualHost include="VHost*.xml" />
3
<VirtualHost>
4
<Name>default</Name>
5
6
<Domain>
7
<Names>
8
<Name>*</Name>
9
</Names>
10
</Domain>
11
12
<Origins>
13
<Origin>
14
<Location>/app_name/rtsp_stream_name</Location>
15
<Pass>
16
<Scheme>rtsp</Scheme>
17
<Urls><Url>192.168.0.200:554/</Url></Urls>
18
</Pass>
19
</Origin>
20
</Origins>
21
</VirtualHost>
22
</VirtualHosts>
Copied!
For example, in the above setup, when a player requests "ws://ome.com/app_name/rtsp_stream_name" to stream WebRTC, it pulls the stream from "rtsp://192.168.0.200:554" and publishes it to WebRTC.
If the app name set in Location isn't created, OvenMediaEngine creates the app with default settings. The default generated app doesn't have an OPUS encoding profile, so to use WebRTC streaming, you need to add the app to your configuration.

Publish

The pull-type provider is activated by the publisher's streaming request. And if there is no client playing for 30 seconds, the provider is automatically disabled.
According to the above setting, the RTSP pull provider operates for the following streaming URLs.
Protocol
URL
WebRTC
ws:://ome.com:3333/app_name/rtsp_stream_name
HLS
http://ome.com:8080/app_name/rtsp_stream_name/playlist.m3u8
DASH
http://ome.com:8080/app_name/rtsp_stream_name/manifest.mpd
LL DASH
http://ome.com:8080/app_name/rtsp_stream_name/manifest_ll.mpd
Last modified 5d ago
Export as PDF
Copy link