Anyone know how I can check to see if a RTMP stream is online or not?
Streams are like rtmp://ip/user/stream, "user" being the different streams.
Any advise on how to do this?
Thanks!
I doubt there's a way of doing this just using HTML. You can use rtmpdump if you want to get a little technical:
http://blog.svnlabs.com/how-to-check-rtmp-source-stream-is-live-or-not/
http://www.youtube.com/watch?v=EN-UYi0UVGE
Oh wow this is old.
Fixed this many moons ago using AS3 on the server side to request from the web server with variables to tell the database if the stream is active or not.
Related
I'm using Ant Media Server for streaming. My use case requires me to record the Live Streams as VODs so the users can access the content later as well.
Like the live streams, I want to apply adaptive settings to the VODs as well so that users can get the suited resolution as per their network.
I can't find any built in solution for this yet. Can you please tell me any solution as to how can I do this!
I'm using S3 to store the recordings.
Thanks.
Thank you for the question. As far as I understand from the question, it seems that Live Streams are recorded as VoD files.
I think the most efficient way is doing that through HLS. With this way, the VoD files are recorded as HLS and multibitrates is available. No need to transcode again and it'll be played directly. Let me explain this solution step by step.
Set HLS playlist type to event and settings.deleteHLSFilesOnEnded to false . Edit your red5-web.properties for the application and set the following settings
settings.hlsPlayListType=event
settings.deleteHLSFilesOnEnded=false
Restart the server
sudo service antmedia restart
Add adaptive bitrates on the web panel.
Start Live Streaming and let the Ant Media Server create HLS(m3u8 and ts) files for each bitrate.
Stop Live Streaming
Then you can watch the stream by giving the master m3u8 file which is {STREAM_ID}_adaptive.m3u8. It can be even played directly by embedded player even if it's not live.
For more information, take a look at this wiki about HLS Playing
Please let me know if this approach helps you.
antmedia.io
I'm developing mobile app that has to be able work with either 7 and 8 version protocols through raw json rpc requests.
And after few hours of searches I'm still curious, how to determine which version of OpenERP/Odoo server uses?
Any ideas or may be here exists some specific request to know server build info.
Thanks in advance.
Update
Thanks to #Mischievous 's answer. It gave me a point.
So, my solution is request like that your.server.url/web/webclient/version_info
Yes, you can find the server info from here. Take look at screen-shot.
Just click on the "About Odoo"
In 7 & 8 just import openerp and it is in openerp.release.version.
You may have to write something yourself that returns this though.
Im trying to make a upload progress meter that works on ALL modern browsers in all operative systems (hence that I don't want to use SWFUpload, since all the demo pages fail in my computer, since I use Ubuntu).
Could someone give me please a hint where to look? I've googled the internet up and down without a solution...
Im running a server with PHP, but APC didnt work, apparently doesnt play nice with lightppd. Also I don't know Perl, so I'd rather not having to learn it for this.
I did this using ASP.NET not long ago. Basically, there's no pure HTML way to do it. What needs to be done, is to make changes on your server (in ASP.NET, I wrote an HttpModule to cache the current status of the upload - for PHP, Ruby, etc, there's likely similar methods to plug into).
Then on the client side - when a file was being uploaded, I made periodic ajax calls to the server to access the upload data that the server was caching. Then, using javascript, I would update whatever HTML progress bar.
You can see plUpload : http://www.plupload.com/
If you're using AJAX, you could go with this solution. And here are a few using jQuery.
My sister is a totally internet radio freak. She listens to internet radio all the time. So I thought why not write a little funny styled app for her upcoming birthday ;-)
I'd like to understand the concept behind streaming online web radio. As I never listened to online radio myself I need some advice from you guys.
Questions in my mind:
Is a stream just a file which I "open"? Does it have an URL just like any other web ressource?
My goal is to write an application that takes an stream URL, and then just plays that stream. However, I was reading somewhere else that I need to have my own server hardware with complicated software to convert audio and stuff like that. I mean... really? Aren't there programs for windows already that play any web radio with a given URL out of the box with no third party server in between?
Note: I don't want to stream myself, but I want to listen to a stream. Sorry for my bad english. I don't want to send out a stream. Just receive one.
There are quite a lot stream software providers. Most are free. The most known are:
Shoutcast
Icecast
But if you are looking for a web application that does this someone made there while ago:
PHP radio
Also Wikipedia has a nice article about how webradio's work:
Wikipedia
Microsoft used to offer Windows Media Encoder (built with wma codec 9) that could stream and do static conversions. I haven't seen any recent update to this though....
Shame on me, but i have a plain asp iis6 server and they want an ajax upload input with percent upload feedback, what should i do? do i ask for .net capabilities? any guidelines or some advice? Thanks for advance
I think you'll need a flash/silverlight component to do this, like Uploadify. I think there's also a way to do it without Flash using an iFrame hack or something, but I've never gotten that to work right.