-
I'm a bit confused using the REST API. I like to push a RTMP Stream (in my case it's an ABR stream transcoded on OME) to another server. Backgroud: I like to stream to commercial end-user IPTV devices (Set-Top Boxes, TV's, Satellite TV receivers). They don't support LL-HLS or WebRTC. Most only support RTMP or RTSP. That makes OME to a show stopper. So I like to use MediaMTX Server as an edge to stream in RTSP and RTMP directly to devices, which do not support LL-HLS or WebRTC as a compromise for users that don't have capability for WebRTC or LLHLS, but can have a latency less than 5 seconds. Traditional HLS or DASH has much more latency. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Have you checked the API docs? https://airensoft.gitbook.io/ovenmediaengine/rest-api/v1/virtualhost/application/push Put rtmp://edge.url:1935/ in "url" and "0" in "streamKey" of Json body |
Beta Was this translation helpful? Give feedback.
-
Yes, I checked the API docs. The problem was the variant names. I can put in anything there, but it won't work. If i use "trackIds" instead, it works fine but it is not documented in the API docs. I came across this in one of the issue posts here. Now everything works fine with a reasonable end-to-end latency of 1...1.5s. For those who may have the same problem, this is the curl syntax: Start push: Stop push: |
Beta Was this translation helpful? Give feedback.
@zapf2000
I committed the patched code to the master branch.
Thanks to you, I was able to find and solve the problem. 👍
5e3edad