Project

rtsptools

0.0
No commit activity in last 3 years
No release in over 3 years
rtsptools is a simple module for testing RTSP media sources. Initiallly, this is intended to be used by applications that need to constantly check the status of RTSP media sources, such as IP Cameras.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

#RTSP tools for Ruby

##Description rtsptools is a simple module for testing RTSP media sources. Initiallly, this is intended to be used by applications that need to constantly check the status of RTSP media sources, such as IP Cameras.

##Installation

Install it from rubygems.org

gem install rtsptools

Or you can build/install it yourself

gem build rtsptools.gemspec && gem install rtsptools-0.1.2.gem

##Usage Simply add it to your application

require 'rtsptools'

Testing RTSP connectivity

begin
    rtspctest = RTSPTools::RTSPConnectionTester.new(
        uri: "rtsp://user:pass@127.0.0.1/path")

    if rtspctest.test_rtsp_connectivity(deep_check: true) #blocking
        puts "Your RTSP media source seems to be alive!"
    else
        puts "Err.. your media source failed at the connectivity test."
    end
rescue => error
    puts "#{error}"
end