views:

34

answers:

0

I have a site where users can broadcast their own live streams. They are provided with a URL to push their stream to over RTMP. Viewers have an embedded flash player to watch each stream.

I need to be able to determine whether a particular stream is broadcasting. It doesn't need to do any analysis, simply to check that there's an actual stream at the RTMP URL.

It seems that VLC doesn't support RMTP. I've tried ffmpeg but not managed to solve the problem yet.

Server is running Ubuntu.

Bonus: How can I update the database based on the results of this stream test?