Possible Duplicate:
Check if file exists on remote machine
If I have a URI like this
rtmp://.../mp4:20122013/..._16x9_1.mp4
is there a way in php that can verify and return if that exists or not? if not in php how can I achieve my purpose?
Possible Duplicate:
Check if file exists on remote machine
If I have a URI like this
rtmp://.../mp4:20122013/..._16x9_1.mp4
is there a way in php that can verify and return if that exists or not? if not in php how can I achieve my purpose?
Next time do a deeper research on google and stackoverflow.
This article explains how to check if a rtmp stream is up or down using PHP and rtmpdump.
How to check RTMP source stream is live or not?
if you prefer/need doing this with php native you can use this library
UPDATE
in your case it will need to run :
rtmpdump -v -v -r "rtmp://flash.onthefly.nhl.com/ondemand/NHLHighlights//mp4:20122013/02/0118/2_118_nsh_sjs_1213_h_continuous_1600K_16x9_1.mp4" -W "http://nhl.cdn.neulion.net/u/videocenter/flex/images/evp.swf"
Check rtmpdump for more info.