nginx-rtmp-module | NGINX-based Media Streaming Server | Stream Processing library
kandi X-RAY | nginx-rtmp-module Summary
kandi X-RAY | nginx-rtmp-module Summary
NGINX-based Media Streaming Server
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nginx-rtmp-module
nginx-rtmp-module Key Features
nginx-rtmp-module Examples and Code Snippets
Community Discussions
Trending Discussions on nginx-rtmp-module
QUESTION
I'd like to use OBS to stream via RTMP to a nginx server, and then locally send the RTMP fragments to WebRTC, so that they can be transmitted to the client via a MediaStream. I think this possible as it is essentially described here. I'm doing this because the multi-second latency of HLS is not appropriate for what I'm trying to do.
I'm having trouble extracting the RTMP fragments from nginx, the only plausible command I could find for doing this in the documentation was pull rtmp://...
. When I tried this I did not see any files appearing in my root folder, where I would normally find the HLS files if I were using hls on
. Does anyone know how to accomplish what I'm trying achieve above?
Thanks!
...ANSWER
Answered 2021-Feb-14 at 03:31This is easily possible! You could base it off Pion’s rtp-to-webrtc example. This allows you to easily get media from ffmpeg into the browser.
The ffmpeg command you run instead would be like this one ffmpeg -re -i rtmp://localhost:1935/$app/$name -vn -acodec libopus -f rtp rtp://localhost:6000 -vcodec copy -an -f rtp rtp:localhost:5000 -sdp_file video.sdp
I would consider transcoding to VP8 since not all browsers support H264.
—-
If you want sub-second playback in the browser I would check out Project Lightspeed that’s your best option today IMO.
QUESTION
I'm trying to redirect an RTMP streaming from my pc into Ngninx using the nginx-rtmp-module following the examples to redirect the stream into an Azure Media Service live event. But it won't detect the encoder. I'm using the following nginx.conf:
...ANSWER
Answered 2020-Aug-27 at 07:20Push URL should be like below. It works for me.
QUESTION
This is my first post here, even though this platform has already helped me a lot.
So, i'm trying to create a stream and display it in a browser. I have already configured NGINX with the rtmp module and my stream works very well with HLS (between 5 and 10 seconds of latency).
Now I would like to set up a low-latency stream and that's why I have installed the janus-gateway webRTC server that allows to take in input an RTP stream and provide in output a webRTC stream.
Here's the schema I'd like to follow :
OBS -> RTMP -> Nginx-rtmp-module -> ffmpeg -> RTP -> Janus -> webRTC -> Browser
But I have a problem with this part : "nginx-rtmp-module -> ffmpeg -> janus"
In fact, my janus's server is running and demos streaming works very well in localhost, but when i try to provide an RTP stream, Janus don't detect the stream in the demos (it shows "No remote video available").
Anyone can help me, please ?
Ressources :
- My janus.plugin.streaming.jcfg configuration :
ANSWER
Answered 2020-Jul-07 at 09:12Do you solve problem? I try console " ffmpeg -i rtmp://0.0.0.0:1935/live/test03 -an -c:v copy -flags global_header -bsf dump_extra -f rtp rtp://127.0.0.1:5004 " " sudo ffmpeg -i "rtmp://0.0.0.0:1935/live/test03" -map 0:2 -c:v libx264 -profile:v main -preset ultrafast -tune zerolatency -f rtp rtp://127.0.0.1:5005 "
I have same issue like you
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nginx-rtmp-module
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page