Media Server :: Retrieving List Of Live Streams Names With Status Publishing
Apr 28, 2011
i have a website like ustream, where user can register and create live channels and publish live video using FMLE.
Now i want to check wether a particular channel is online or offline. I have stream name for particular channel. My website is coded in PHP. I have tried using getLiveStreamStats function, it works fine where the XML file is not heavy. I mean number of subscribers are less. Then i can just check the Publisher Tag. if it exists that means stream video is live, else not.
But problem arrives when the number of subscribers are high. The XML file do not loads in PHP, and it takes too much time to load the page.
what can be done to just check if the xml file has publisher tag. and display if the stream is live or not
View 12 Replies
Similar Posts:
Jan 3, 2012
I want to retrieve the list of live stream name.
View 1 Replies
Sep 1, 2010
I am facing a strange issue with a pair of FMIS servers set up with Multipoint Publishing. Configuration is as follows:
Encoder >>>> FMIS1 >>>> FMIS2
When freshly started, I am able to view live streams from both servers, however, periodically, FMIS2 unpublishes the streams as seen in the log below. When this happens lives streams are accessible from FMIS1 but not FMIS2. In order to resume live streams on FMIS2, FMIS1 must be restarted.
Logs:
2010-09-01 14:31:00 9244 (s)2641173 NGA_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 FTV_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 BBCWN_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 CTI_1 is unpublishing -
2010-09-01 14:31:00 9244 (s)2641173 CNN_1 is unpublishing -
.....
View 7 Replies
Jul 5, 2010
What is best way to set up my application. I currently have a working app but the work flow doesn't feel right at all. Here are the basic steps involved:
[Code]...
View 1 Replies
Apr 26, 2010
I've been using FMS for a few weeks, and feel relatively comfortable with it, but am currently having some trouble connecting to a live stream in a a video conferencing-type application. I suspect I'm leaving some small step out, but am having trouble seeing what that step is.
I have one client application open the video camera, connect to the FMS, and publish it's live camera stream to the server. Something like this:
Connect to the FMS
nc.connect("rtmp://<ip addr>9/chat_test/");
In my connection (success) handler:
cam = Camera.getCamera();
cam.addEventListener(StatusEvent.STATUS, statusHandler);
...
[code]...
However, I keep getting "NetStream.Play.StreamNotFound" errors. This seems relatively straightforward, but I'm clearly missing a small step somewhere.
View 1 Replies
Jun 4, 2010
I am publishing 2 live streams from a computer with 2 video capture cards in it and I get a lag every 30 seconds or so on the subscribers side. I have tried adjusting the camera quality and setMode properties but still the lag persists inside and outside the LAN, is there a way to create a buffer on the server or adjust the way the live stream is received on the subscribers side so there is no noticeable lag? I saw something about editing application.xml to adjust the queue and a suggested bitrate but not sure if this is applicable, here is the link:
[URL]
Here is my setup:
The publishing computer:
2 PCI-e x1 cards, one takes S-Video (480i) and the other DVI (720p)
Windows 7 64bit
Intel i7
6 GB RAM'
GB NIC and Switch
From the switch is one hop to a GB router and out to a 10 MB pipe which leads to our datacenter 30 miles away. The swf on this side just gets the 2 cameras, sets the quality to (0,80) and mode to (640,480,25,false) (I have played with these settings a little) and creates 2 lives streams on the FMS.
The FMS:I am running Flash Media Interactive Server 3.5 on my own server with two 3.6 Dual Core Xeon processors and 4 GB RAM. This server resides in a Datacenter and has a 100 MB burstable pipe. From the FMS administration console I am barely using 4MB total bandwidth, 1% CPU usage, 2% RAM.
The subscribing computer:I have used many different types of hardwired PC's within the same LAN and outside the LAN, results are the same.The swf on this side just creates 2 new video instances and attaches the 2 netstreams to them. They are placed side by side and the height and width of these videos are undefined.
View 1 Replies
Jun 17, 2010
Can Flash Media Server 3.5 do the following?. Can it take multiple live streams?. Is it possible to control the ip streams - by using API's in to the Media Servers?.
View 4 Replies
Jun 15, 2011
I own a site like ustream/justin where users can register and broadcast their channels using FMLE. Sometime I need to ban broadcasters after I receives any complaint against any channel. I do them on website, there is no issue in that. But how to do that on server side at FMIS. I need to do it bcause the stream users are already watching the channel page before it got banned, they still can watch it till they do the refresh. So I need something that can stop the Live Stream of that particular channel on FMS server too. How can I supply stream names to main.asc that should be banned or not to allow publishing without restarting server each time.
View 1 Replies
Sep 7, 2009
I am developing an application where I need musicians to play together and I want to have an audience listen to it. I have created my publisher clients and they can create the streams, but now I want to take those multiple streams and combine them so that you can hear the guitar, singer, etc. all together.
View 8 Replies
Jan 4, 2010
I wanted to know if there is any limit on the number of live streams that a client can connect to?For example, there are four live streams s1, s2, s3, s4 being published to FMS, can a flash client subscribe to all the four streams at the same time?If yes, what is the maximum number of streams that a client can subscribe to and what are the trade-offs?
View 3 Replies
Mar 15, 2010
I'm doing some tests with FMS and live streaming, but I observe quite long delays. When the stream is first accessed, the latency is around 3-5 seconds, which is acceptable. But as we watch the stream for about 30 minutes or more, the latency grows to around 20 seconds, which is just too much. What settings should I look at to keep the latency / delay minimal?
View 3 Replies
Jun 2, 2010
We have installed FMS and have used it for a live streaming video event.The event lasted an hour and FMS worked great.How can I get statistics on that live stream? I'd like to know how many people saw the video, and how many people were watching at one time.
View 1 Replies
Jun 1, 2011
I am able to record live streams on server side. Now I am looking for an option to play recorded streams on server side when no one is publishing a live stream. Currently I am able to record all live streams that are currently being published in /opt/adobe/fms/webroot/live_recorded Folder. All the recorded streams are saved in stream.f4v format. I want to change main.asc in livemyapp folder in such a way that if any one is not publishing live streams of the name "abc" then automatically the client is served with the previously recorded abc.f4v in his browser.
Here is main.asc
/* * application.onAppStart:* is called when application load. It contains Live (out of the box) * application specific initializations. */
application.onAppStart = function(){ // Logging
trace("Starting Live Service...");
[Code] ....
What should I write in main.asc so that if a client is requesting to watch a stream and if that is not being published at the moment, he should be served the recorded version of that stream.
View 1 Replies
Aug 12, 2011
I wanted to know if there is any limit on the number of live streams that a client can connect to? For example, there are four live streams s1, s2, s3, s4 being published to FMS, can a flash client subscribe to all the four streams at the same time? If yes, what is the maximum number of streams that a client can subscribe to and what are the trade-offs?
View 2 Replies
Apr 19, 2011
My Purpose is to record live streams on server side and play recorded files later. What I have done is -
1. Copied All files of applications/live in some safe location.
2. Copied all files from samples/applications/live to applications/live folder. (Deleted main.far from live folder)
3. Restricted SWF and HTML to mydomain in these files - allowedHTMLdomains.txt and allowedSWFdomains.txt
4. In main.asc I added these line in the end
var mystream;var intervalID;
[Code] .....
5. Then I restarted FMS and tried streaming using FLash Media Encoder. I was able to live stream and then i stopped it.
6. A FLV File was recorded in application/live folder with the stream name that i used in encoder.
I am able to view live video on my domain as well as some other domain, that means allowedHTMLdomains.txt and allowedSWFdomains.txt did not worked. Another issue is that I am not able to view recorded video after I stopped encoder but I was able see live video before stopping. I am using jwplayer to view the video and using flashvars streamer (rtmp://xx.xx.xx.xxx/live) and file(abc) to view the live and recorded video.
View 17 Replies
Jun 13, 2011
I need to serve live video streams to Flash players, Apple devices, and Android and Blackberry handhelds. Right now I'm using FMS (actually, the CDN I stream through is running FMS), and configuring Wowza Media Server to suck the Flash stream from FMS and reprocess it for Apple, Android, and Blackberry. It works well, but it's kind oif a PITA having to have a separate server just to handle mobile devices.
Is anyone aware of any plans to release a version of FMS that will stream directly to Apple and Android? I saw a video clip on Techtilt of an Adobe presentation at NAB where they were showing live streaming to iPad, but that clip didn't way anything about when we might actually see that version of FMS become available.
View 1 Replies
Mar 1, 2010
When broadcasting pre-recorded streams on a live applicationFMS always stops streaming at a certain time...
It can be after 10 seconds, it can be after 2 hours, or it can be after any other time, the frame just freezes on the client and the buffer drops to 0.
any attempt to diconnect / reconnect does not resume the streaming, althought the FMS console registers the connected client, no streaming is ensuing. One of the common events we get on the client in such instances when the streaming stops results in get "NetStream.Play.InsufficientBW".[code]...
View 4 Replies
Oct 10, 2011
1) I currently have multi point publishing set up to rebroadcast a stream between several servers. I'm running into an issue where even if it's a live stream, when a client connects, it starts from the beginning and you have to seek to the very end for it to go live.I've attached my main.asc file
application.onAppStart = function()
{
trace("Application name: " + application.name);[code]........
2) Is there any way to set up multi point publishing on Video on Demand files?
3) Say server 2 has restarted, is there anyway to force a push to that server without having to restart the feed?
View 29 Replies
Nov 17, 2009
I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.For this i tried the following approach:Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.
Below is the code :
application.onAppStart = function()
{
[code].....
View 1 Replies
Aug 15, 2010
I have made a sample application for publishing video through FMS using as3.In that I had used the same code as given in the sample provided by the adobe,
m_nc = new NetConnection("rtmpt://localhost:1935/Test");
private function onNetStatus(event:NetStatusEvent):void {
switch (event.info.code) case "NetConnection.Connect.
[code].....
View 2 Replies
May 3, 2010
I have installed Flash Media Server on our server. When I load up the application home page, I see the demo video of a train.
Then I click on the "Interactive" tab on the right hand side. I was SHOCKED to see that I can create a live stream from my local camera without any credentials at all. Anyone who visits this webpage can publish a live video stream on our Flash Media Server?
View 5 Replies
Sep 15, 2010
I'm having a reliability problem with publishing live, h.264 streams from FFMPEG (using the rtmp publish ability now built into FFMPEG, where I can set an rtmp address as the output).After a random period of time (usually between an hour and several hours), the default "live" application in FMS 4 (or 3.5) eventually drops the connection from the FFMPEG encoder. This is what appears in the log for the application:"Dropping application (live/_definst_) message. Clients not allowed to broadcast message."After googling the error, I discovered that people have been reporting this error for several years, but there has not been a single response from any FMS experts or Adobe about what causes the error.
View 6 Replies
Oct 4, 2010
I've managed to publish video now: ns.attachAudio (mic);ns.attachCamera (cam);ns.publish ("name","record"); But without time information.
View 22 Replies
Jul 22, 2009
I want to record a stream which is published with Flash Live Encoder to FMS 3.5, but split the recording in files with predefined length. For example if a stream 'webcam' is published I want to record it in chunks of 10 minutes: 'webcam1.flv', 'webcam2.flv' ... From what I can tell there's no facility to work with timers. The only solution I could think of was using stream.record() with a time limit parameter but that seems like a hack because it triggerstStream.Record.DiskQuotaExceeded on the stream when the recordin should stop and start recording another chunk. Has anyone done something similar?
View 10 Replies
Jan 3, 2010
I would like to know if there is a solution available that allows me to plug 2 HDV cameras into a laptop and live switch between the 2 cameras while uploading the live stream via adobe flash media live encoder to the adobe streaming server? the scenario is I want to offer live streaming of corporate seminars that I normally shoot with 2 cameras.
View 1 Replies
Feb 1, 2010
i am developing video chat system , one side is model, another sider is customer. Now i want that model sider stream sended to FMS, and then FMS make two streams, that the one stream is regular, the other stream is compressed. the compressed stream is just for administrator, so it should be small.
View 1 Replies
May 24, 2010
I'm using the server Stream.play() method to playback a recorded stream, it plays back fine until it hits the buffer limit (Say I set the buffer to 5 seconds, it will playback fine for 5 seconds). But then it freezes and playback is very stuttery (1 frame every 2/3 seconds). Is this a know issue? I'm using windows 2008 server. I've tried a few things to resolve this but no luck. The server is running the dev license and has no load.
View 13 Replies
Aug 23, 2010
I have Flash Media Streaming Server 3.5 (not Interactive) running on RHEL5.5 x86_64 Linux.All is working well, however how do I prevent unauthorized access to connecting to the live stream and streaming content?How can I setup the server to require a user and password to stream live media to the server?I am new to this product and I have been reading some documentation but I have not found a clear cut answer on how to force a username and password to connect to the server to stream live content only.I am using the Adobe FMS Apache install, what files need changing?[code]I want to lock down a person from connecting to the server on the public internet and starting a live stream?Can this be done with a user name and password?
View 13 Replies
Aug 12, 2011
I have configured FMS on Amazon EC2 I am trying to capture data from my webcam and push it to the server.For storing the webcam i created a new folder but as it is recommended in other forums "You need to replace the signed Live application (main.far) with main.asc in[FMS-Install-Dir]/samples/applications/live/ ;(For more Info: refer to documentations & live/readme.txt) "I am not able to locate samples folder from where i can get my main.asc file
View 4 Replies
Jan 26, 2007
I was wondering. is it possible to manipulate in any way the video streams on the server side? Like for example,to have two streams coming from two clients and mix them into one stream,so a third client (or more) can play just one stream per client instead of two?
View 5 Replies