PDA

View Full Version : How to check if a live RTMPT stream can be accessed


mustafatemiz
03-19-2012, 05:57 AM
I found following link to a live RTMP stream from the site http://semerkand.tv/Site/canli.aspx
rtmpt://semerkandweb.garantisistem.com:80/Semerkand

I tried to view it with some HTML like:

<object width="566" height="400">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf">
<param name="flashvars" value="src=rtmp%3A%2F%2F89.149.244.41%3A1935%2Flive%2Fkon tv">
<param name="allowFullScreen" value="true">
<param name="allowscriptaccess" value="always">
<embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="566" height="400" flashvars="src=rtmpt%3A%2F%2F89.149.244.41%3A1935%2Flive%2Fko ntv"></object>

But it didn't work. Has it something to do with that the server only allows access to the domain www.semerkand.tv?

How can I check if the stream is accessible?

KSV
03-19-2012, 07:29 AM
why don't you use rtmpdump?

rtmpdump -r "rtmp://semerkandweb.garantisistem.com/Semerkand/semerkand2" --live -o Test.flv

RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: author
INFO: copyright
INFO: description
INFO: keywords
INFO: rating
INFO: title
INFO: presetname Custom
INFO: creationdate Mon Mar 19 11:17:18 2012
INFO: videodevice Osprey-210 Video Device 1
INFO: framerate 25.00
INFO: width 480.00
INFO: height 384.00
INFO: videocodecid avc1
INFO: videodatarate 200.00
INFO: avclevel 30.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice Osprey-210 Audio Device 1
INFO: audiosamplerate 22050.00
INFO: audiochannels 1.00
INFO: audioinputvolume 75.00
INFO: audiocodecid .mp3
INFO: audiodatarate 48.00
2133.410 kB / 70.71 sec