Hi,
I made a live stream as you adviced.
I use rtmp from ffmpeg to wowza, and it’s seems to be stable.
If I connect to wowza by vlc with rtsp://…:1395… , it sometimes disconnects. But if I connect with rtmp://… it always disconnect after about 30 sec.
If I connect by ffmpeg with rtsp://…:1935… , it also disconnects sooner or later (max 1 hour). It says “Last message repeated 2659 times” and “missing picture in access unit”. If I connect with rtmp://… it’s seems to be stable. I’ve run a test for 1.5 hour.
my ffmpeg commands:
ffmpeg -r 30 -i rtsp://<server>:1935/live/teststream?tcp -vcodec libx264 -r 30 -vpre libx264-lossless_fast -f matroska kimenet.mkv
ffmpeg -r 30 -f flv -i rtmp://<server>:1935/live/teststream?tcp -vcodec libx264 -r 30 -vpre libx264-lossless_fast -f matroska kimenet.mkv
If I connect with rtmp, I always wait more than half minute before start play/decode.
Ffmpeg with rtsp start fast. Vlc with rtsp also slower.
Server with wowza has public IP, Encoder is behind firewall, Client is behind another firewall.
I want use ffmpeg after tests, but I don’t know if these problems is normal? Should I change some options in ffmpeg and/or wowza to make it more stable?