Thread
:
Check if RTMP is live or not
View Single Post
#
4
07-29-2012, 08:06 AM
Elgero
Senior Member
Join Date: Feb 2012
Posts: 177
Re: Check if RTMP is live or not
You can set the timeout in rtmpdump to a few seconds with the -m parameter. If it doesn't connect within 5 seconds, then you can be quite sure that there's no stream.
Code:
-r rtmp://website.com −m 5 -o stream.flv
Elgero
View Public Profile
Send a private message to Elgero
Find all posts by Elgero