Hi !
First, I want to congratulate you and thank you for your amazing software. As far as I know, there is no such browserless-webrtc endpoint around but Janus gateway, and it seems very well written and robust. Keep up the good work !
I try to setup a rebound server for videogame streaming on my dedicated server: the host sends a rtmp stream to
nginx-rtmp which:
1/ sends the stream as it is received to Twitch, Youtube Gaming, Hitbox and Dailymotion
2/ executes a ffmpeg instance which live transcode the stream to VP8/Opus and sends it to Janus' streaming plugin
I use a
custom html webpage that automatically launches the stream.
It works very well for me: no flash player, very low latency (~1 second from the hoster), no codec installation, no client but the browser...
It works for me in many differents configurations: Windows, OSX, Linux with Chrome, Firefox...
Unfortunately, very few people told me that the get either no sound and video, or no video (just sound). Someone told me that sound was working well, but got a full of artefact-black video.
I have no personal contact with these users, and I cannot extend the test very far to understand the problem. As far as I know, they were using up-to-date Chrome.
2 users successfully tried the streaming plugin test from Meetecho website, so I guess it's more a codec trouble than ISP/ICE/Stun/whatever. For information, here is the complete ffmpeg command launched by nginx-rtmp (there are a low and a high quality versions):
ffmpeg -re -i rtmp://localhost/app/$name -c:v libvpx -deadline realtime -cpu-used 15 -b:v 1536k -vf scale=-1:720 -an -f rtp rtp://127.0.0.1:5004 -c:a libopus -ac 2 -b:a 192k -ar 48000 -vn -f rtp rtp://127.0.0.1:5002 -c:v libvpx -deadline realtime -cpu-used 15 -b:v 256k -vf scale=-1:360 -an -f rtp rtp://127.0.0.1:5008 -c:a libopus -ac 2 -b:a 64k -ar 48000 -vn -f rtp rtp://127.0.0.1:5006
I tried with "-deadline good" and "-cpu-used 0", without any improvements.
As I don't really know where to begin with to tackle this problem, I would need someone to point me toward the right direction, or to propose some insights and ideas to test.
Thank you veyr much,
Cordially,
Adrienj