Media Server :: Recording Live Streams And Play Files Later

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


Similar Posts:


Media Server :: Recording Multicast RTMFP Streams?

Dec 19, 2010

I know this question comes up from time to time, but it's completely unaddressed in the documentation and I'd like there to exist a more authoritative treatment of the subject.Like many other developers, we're trying to record multicast RTMFP streams. We see three options:

Broadcasting clients open two outgoing NetStreams: one for the multicast group through RTMFP, and another directly to FMS through RTMP for recording. One downside to this solution is that now the user has two outgoing streams, so available outbound bandwidth for any broadcasting client could easily become a constraint on video quality.One can stream to FMS 4 using RTMP and have FMS-side code that records and broadcasts the stream to the multicast group using RTMFP (recommended by JayCharles at http:url...). I haven't tried this out yet but my guess it that it will have worse video quality than a pure RTMFP solution. Is my concern justified?Super-hacky solution: one could have flash player running in some kind of virtual environment on a server. This flash player could subscribe to the multicast stream and record the video at a systems level. Has anyone tried a hack as daring as this? What solution is recommended by Adobe?It's incredible to me that FMS 4 can't act as an RTMFP consumer, thereby both acting as a multicast node and also recording the video. Can anyone at Adobe comment on this omission in functionality?

View 3 Replies

Media Server :: Recording Video/audio Files Using Flash Media Server Through Rmtp, And Allow Users To Access The Recorded Files Through Http?

May 25, 2009

As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?

View 1 Replies

Media Server :: Connecting To Live Streams?

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

Media Server :: Remove Lag From Live Streams?

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

Media Server :: 3.5 - Take Multiple Live Streams?

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

Media Server :: How To Stop / Ban Live Streams

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

Media Server :: Listen To Multiple Live Streams At Once?

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

Media Server :: Limit On The Number Of Live Streams?

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

Media Server :: Latencies / Delay In Live Streams

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

Media Server :: Find Metrics For Live Streams?

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

Media Server :: Playing Recordings When No Live Streams Available

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

Media Server :: Limit On The Number Of Live Streams

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

Media Server :: Serving Live Streams To IPad And Android Using FMS?

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

Media Server :: Live Streaming With Recording Simultaneously

Nov 18, 2009

I have got success in making live streaming with telecast at different pc. The application which I have made has the features: I' am publishing live stream using the connection like: nc.connection("rtmp://10.8.4.56:1935/live"); publishing the stream like: ns.publish("mycamera","live"); now, on other pc I am running the file for telecast using the following code: making connection with server: nc.connection("rtmp://10.8.4.56:1935/live"); playing the live stream: ns.play("mycamera"); vid.attachNetStream(ns);

Now, that was for the live stream for publish and view. But I want little more than that.I want to record the live stream at the publish end simultaneously. I have tried the code at publish side like: nc.connection("rtmp://10.8.4.56:1935/live"); ns.publish("mycamera","live"); ns.publish("mycamera","record"); But it is giving me error: NetStream.Record.NoAccess when I am changing the connection point to tmp://10.8.4.56:1935/dvr", t is giving me the result but then effecting the live telecast.

[Code]...

View 4 Replies

Media Server :: Camera Settings Are Not Same After Live Recording?

Jan 25, 2010

I have an application where it records stream from my webcam, stores it in fms 3.5 application folder.
 
Recording is fine, I am using camera.setMode() method to set the width and height properties for the recording.
 
for eg: cam.setMode(388,284,15,false);
 
But when we check for the recorded video i am getting the widht and height as 352 , 264. even after changing the faovare boolean to false.
 
how i should set the camera so that the recorded video is of same size which i have given.

View 4 Replies

Media Server :: 3.5.0 Stops Streaming Live Pre-recorded Streams Unexpectedly

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

Media Server :: Recording Live Video From A Streaming Source?

Jul 16, 2009

I'm very new to FMS and I have been experimenting around with it as a part of my job. I already have the encoder, FMS, and my AIR application all talking, so that portion is going well.The problem that I want to tackle next though is to have the FMS server record the live stream to it's hard drive. All of the guides that I've found talk about how to make a DVR stream, but that's not what I want. I want to be able to have the live stream, and then separately I would like to have it recorded.

View 1 Replies

Media Server :: Merge Multiple Live Audio Streams Into A Single Stream In FMS?

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

Media Server :: FMIS Multipoint Publishing Setup - Viewing Live Streams?

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

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

Media Server :: Retrieving List Of Live Streams Names With Status Publishing?

Jan 3, 2012

I want to retrieve the list of live stream name.

View 1 Replies

Media Server :: While Live / Recording When Refresh The Browser Will The Stream Closed In FMS

Oct 25, 2010

While live/recording will the stream closed in fms when I refresh the browser??

View 1 Replies

Media Server :: Storing Streams As Files?

Jan 31, 2011

Is there a way to save FMS streams as files, such as AVI, MPEG or MP4?

View 1 Replies

Media Server :: No Permission To Play Streams?

Mar 18, 2011

When i publish the streams on a linux server, the .flv files have permissions like this:-rw-rw----. And i don't have permissions to access this file on a client browser... Currently, i can only change the permission using "chmod" manually

View 2 Replies

Media Server :: How Can An Administrator Play Streams Published To FMS

Jun 15, 2010

I need to be able to play any stream published to our FMS application, without connecting to the application as regular users do. I am an administrator and the service is ours. Can I do so using Administration API, for instance? I sure can get the list of the streams, but I have not found a way to stream these as video yet. I am building an application not unlike Admin. console, but with more functions that we need. If Admin. console seems to be able to play streams, it must be possible?

View 4 Replies

Media Server :: Last Few Seconds Of Stream Cut Off When Recording A Live Stream?

Aug 27, 2010

I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
 
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
  
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?

View 2 Replies

Media Server :: NetStream.Play.Stop And Complete Fired Early On RTMPE Streams

Oct 20, 2011

I am experiencing an issue with playback on RTMPE streams. after investigation it seems that the FMS server is firing the NetStream.Play.Complete message at random points, indicating that a stream has ended. This is happening and random points during the stream,  not even close to the end.[code]As you can see roughly 17mins into playback...although the stream is 1 hour 24mins long.I have tested this numerous times, and each time it is at a different point in the stream.Intermittently the NetStream.Play.InsufficientBW warning is being fired prior to NetStream.Play.Stop.I am using a player built on OSMF 1.5

View 1 Replies

Media Server :: Playing Recorded Files As If They Were Live

Jan 10, 2011

There are some recorded flv files. The guy in the video is showing numbers with his hands. (1.flv, 2.flv, 3.flv etc) And there are live idle videos. In these idle videos the guy doesnt do anything.
 
I need to be able to click 1 as the operator and viewers should see the guy make "1" in the video. Actually I have accomplished so far. It works. I do this:
 
If the operator selects a video it adds the video to playlist:   stream.play(filename, -2, -1, false);
 
Also have this event handler to play a random idle video when there are no more action videos lined up:
 
function onStreamStatus(obj) {
if (obj.code != "NetStream.Play.Stop") return;
switch (obj.code) {

[Code]..... 
 
So it is working so far. Problem is:
 
As time goes by there appears to be a delay between I issue the play command on the stream and I actually see it in the video on client side.

View 9 Replies

Media Server :: Play Live Video Stream With Flex?

Sep 23, 2010

I'm trying to get Flex Builder 3 to play a live video stream with Flash Media Server and Flash Live Media Encoder.
 
I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not with Flex.
 
This code streams pre-recorded Video on Demand flvs, but not live streams:
If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
 
<?xml version="1.0"?><!-- controlsvideodisplayVideoDisplayFMS.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:HBox>        <mx:Label text="RTMP FMS 2.0"/>        <mx:VideoDisplay autoBandWidthDetection="false"             source="rtmp://localhost/vod/Legend.flv"/>    </mx:HBox></mx:Application>

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved