Closed neilyoung closed 3 months ago
PS: Also not working with localhost
as RTMP host
Ok, I found that I had rtc_to_rtmp off;
in my conf. Works now. But 5 sec latency is far beyond everything acceptable for being considered as working playback solution. This is more or less not working, even if it "works" seemingly.
I'm looking for a real-time way to get the media out of SRS server-side in order to provide an RTSP feed (e.g. by using MediaMTX). I have experiences with this stuff, having done WebRTC to RTSP conversion with Kurento Media Server and MediaSoup. All of these transitions have been done with SUB SECOND latency using FFMPEG and SDP directly hooking up to a TCP UDP port carrying RTP. Nothing like this possible with SRS?
EDIT: And with sub second latency I mean the latency between camera and RTSP output...
Long title, sorry, but it says it all:
http://localhost:8080/players/whip.html
with stream URLhttp://localhost:1985/rtc/v1/whip/?app=live&stream=livestream
ffplay rtmp://192.168.188.53/live/livestream
I can see the RTMP doing some startup in the SRS console:
But the FFPLAY console doesn't open up the video window, it just shows:
Shouldn't that work?