Media Server :: Server Side Recording - Inconsistent When Called Automatically?

Mar 23, 2012

We have mutiple live streams(games) in our application and one of our requirement is to record the games when they start and end the record after stop.We have written a servere side Code based on  guidelines provided in the forums. Our Sample code looks like this.
 
Client.prototype.startRecord = function( source, destination )
{
    trace("Recording Stream: " + source + " to: " + destination);
    this.newStream = Stream.get(destination);[code]..............
 
We have written a PHP page which receives the Game Start and Game Stop and calls the FMS  startRecord and stopRecord functions accordingly.We tested this record manuall by passing the values to PHP page and recording works perfectly.Our problem arises when we automate this recording. Every minutes we have 10 games that are created and hence the PHP page calls FMS 10 times a minute to startRecord and stopRecord.Some of the recorded flv are inconsistent and recording is never complete.
 
Can FMS take such sequential request? We are stuck with this because the recording is partial sometimes.We are using FMS 4 with Red Hat. Any other information will be provided.

View 1 Replies


Similar Posts:


Media Server :: Scheduled Recording Server-side?

Apr 18, 2011

any code examples on server-side scheduled recording on FMIS?
 
Need to record live stream i'm getting from FMLE but from scheduled start to end time.

Can i add more scheduled recordings while live streaming is working?

View 6 Replies

Media Server :: Server Side FLV Recording?

Oct 13, 2010

I'm trying to record a FLV, using servers-side scripting. It's working as expected. I'm using record('append') to add streams to the same file. What I want to do now is record the streams in "real-time". I want to keep the same functionality (append) but I want to "records" the time that there is no streams available. In other words, I want to ends a with a file (FLV) with the srtreams separated by black frames when there are no streams available. If the time between a stream and the next stream is 5 minutes, I want the FLv to play 5 minutes in black.

View 4 Replies

Media Server :: OnDisconnect Function Called Automatically At Any Time?

Jul 15, 2010

onDisconnect function called automatically at any time on script side. idea why it's getting called at random time.tell us how to handle this situation.

View 9 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 Replies

Media Server :: Streaming Server 4 - Server Side Playlist?

Jan 26, 2011

The $995.00 version is listed as not supporting server side playlists.  Is it possible to implement internet TV station like functionality using that version?  I would like to have a list of files to play out and have it so those connected are all viewing the same thing.

View 1 Replies

Flash :: Media Server - Automatically Configure Edge From The Admin Console Of Media Interactive Server?

Jan 17, 2010

How can we automatically configure edge from the admin console of flash media interactive server?

View 1 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 :: Media Files Be Moved To Some Ftp Account Using Fms Server Side Script?

Mar 22, 2010

I need to move recorded media files at my fms account to some other ftp account. How can i achieve this through server side scripting.

View 2 Replies

Media Server :: Recording In F4v Format At FMS And Then Republishing To Another Server?

Aug 20, 2010

My data path looks like this:

Live Stream Encoder====>My FMS (my own server) republish to======>CDN======>Viewing Client

I want to archive the live stream at the first stop, my FMS.  Adobe live docs say if I want the recorded file to be of format F4V (H.264), the stream name with which I publish must be of the format mp4:streamname.f4v.  My CDN, unfortunately, requires the stream name it receives to be of the format "streamname".

[Code]...

Is there anyway to satisfy both requirements?

View 8 Replies

Media Server :: Recording Video To Flash Media Server

Mar 30, 2010

I want to have a website where users can record short video clips (using a webcam) and then have those videos saved on the FMS for viewing later. I've seen a lot about streaming video, but I actually want to save the video.

View 1 Replies

Media Server :: Editor For Flash Media Server Side Scripting?

Nov 24, 2010

I am new to flash media server side scripting, i want to know that is there any tool or editor available to write server side script easily like we are doing in Adobe Flex or Flash Builder

View 1 Replies

ActionScript 3.0 :: Writing And Modifying XML Files Using Server-Side / Flash Media Server?

Jul 8, 2009

can you write and modify XML files using server-side Actionscript? I've been going through Adobe's Server-side Actionscript reference, reading up on the File class that lets you modify files on the server, and the server-side XML class that lets you read and 'understand' XML data, but can you put them together and essentially edit XML files on the server?

View 2 Replies

Media Server :: Stream.play On Server Side Makes Video Choppy?

Apr 30, 2010

I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.

View 20 Replies

Media Server :: NetStream.Play.InsufficientBW When Streaming Server Side Playlist?

Sep 23, 2010

I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions,
streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
 
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.

View 1 Replies

Media Server :: Change Recorded Stream Files Permissions From Server Side?

Dec 20, 2010

I need a way to set the permissions (ex 0777) for the recorded streams without calling any additionals scripts.

View 2 Replies

Media Server :: Server-side Buffer For Live Dynamic Streaming?

Jul 10, 2009

Finding faults in my reasoning, or expanding the discussion further. We are benchmarking FMS 3.5.x for live dynamic streaming and we have run across an issue. When throttling the client from a high bandwidth (1500kbps) to a low bandwidth (325kbps) via a bandwidth shaper (a physical firewall) it takes a very long (real-) time for the client to see the new stream-quality.
 
During the investigation of this issue we have narrowed this down to:
 
1. when transition is requested from client, the client-side buffer is 1/2 i.e. 4-5seconds.
2. if transition is request on a client with unlimited bandwidth, it takes about 6 seconds for the server to process, find an acceptable switching position and send a "transition.complete" event.
3. on the throttled client however, this event takes much longer.

[Code]...

View 2 Replies

Media Server :: Write Bytes Server Side With File Class?

Sep 18, 2009

Does anyone knows if it's possible to write some bytes received from an AIR or Flex client in a server side file using the File class ? I have been trying for hours without any result.My goal is to store on the server side a swf file sended by a client in a ByateArray.Here is the code I have ended with, assuming that myfile.swf alreadey exists on the server prior to the code execution, and is at the right place, and that pBytes is a ByteArray received from the client which contains a swf file :

function writeFile( pBytes )
{
var myFile = new File( "myFile.swf" );

[code]........

View 2 Replies

Media Server :: Possible In FMS To Record Thumbnails Of A Streaming Video In The Server Side?

Dec 8, 2009

to generate thumbnails of the streaming video to control de contents of the video streaming. Could I do that in the server side?There is any setting to do that? Could I use the getOnMetadata method to catch a bitarray and then put in into a bitmap file?

View 1 Replies

Media Server :: Sending Information From Server-side Script To Client?

Apr 18, 2010

I have created a script for an Adobe FMS application to broadcast a playlist of video files as a live stream. (internet tv)
 
I am now working on a custom Flash-based video player to play my stream.

How do I send information from my server-side FMS application (main.asc) to the client-side video player? (e.g: title, duration of current video player)

View 2 Replies

Media Server :: Dynamic Stream Switching From Server (not Client) Side

Sep 6, 2010

I understand how clients use bandwidth detection etc to dynamically switch streams via client calls with ns.play2( ... ), but I was wondering if it's possible to only ever use 1 initial ns.play( ... ) call on the client side, but let FMS server side logic that I write dictate which client sees what content. For example, I have 3 clients connected to my FMS server, all watching a live stream. I then decide I want clientA to see 'recordedMovieA.flv', clientB to continue seeing the live stream, and clientC to watch 'recordedMovieB.flv'.

[Code]...

View 5 Replies

Media Server :: Receive Stream.send Commands On Server-side?

Nov 12, 2010

I am recording a video and while recording I issue some NetStream.send("doSomething", params) commands from client side. When I am playing back this video I receive the doSomething events on client side. No problems so far.Can I receive those events on server side? I want to handle those events on server side. Not client side.

View 2 Replies

Media Server :: Why Server Side Shared Object Doesn't Work

Mar 29, 2011

application.onPublish = function (client, p_stream){  var myInfo = SharedObject.get(p_stream.name);   myInfo.setProperty("live", true);

I set the sharedobject using code above,now I can publish video,but so is not set(from admin console, "shared object" tab).

View 3 Replies

As3 :: Media Server :: Limit Server Recorded Netstream Length To 10 Seconds At Client Side

Sep 19, 2010

I want to limit server recorded netstream length to 10 secs at client side using as3. How can I do that?

View 2 Replies

Media Server :: Application Doesn't Have Permissions For Server-side Record/append Of Streams

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

Media Server :: Manipulate In Any Way The Video Streams On The Server Side?

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

Media Server :: Killing Clients Stream From Server Side?

Nov 6, 2009

Why can't (or better yet) you kill client stream from server side - I seen some code that FME may call on server side like  s= stream.get(streamOBJ.name); s.play(false); delete s; application.gc(); // over kill but still did not work

View 2 Replies

Media Server :: 2 Origins / Edges - Sharing Same Server Side

Jun 4, 2010

Now I want to do a different test, I put two origin, you can share the same application from two origins? The idea is to have two edges, and two origins, sharing the same server-side application.

View 5 Replies

Media Server :: Scrubbing Server-side Generated Playlist?

Jun 18, 2010

I am generating a playlist server-side but am having problems when I try and scrub it on the client-side.Here's the contents of main.asc of my application:
 
application.onConnect = function(client) {
this.testStream = Stream.get("mp4:testplaylist");
this.testStream.play("mp4:test.f4v", 9, 16);
this.testStream.play("mp4:test2.f4v", 11, 10, false);

[code]...
 
The client calls "getStreamLength" to get the length of the sequence from the server; I do this in order to set the length of the scrub bar correctly.The problem is when I try and scrub - both forwards and backwards - it doesn't work; the stream just pauses then picks up where it last stopped, regardless of the position of the scrub bar.Is it possible to scrub a server-side generated playlist using Flash Media Server?I am using both Flash Player 10 and 10.1 and version 3.5.3 of Flash Media Server.

View 3 Replies

Actionscript :: Media Server - Set Metadatafor A Streamvia Server-side

Aug 5, 2010

I'm trying to figure out how to set metadatafor a streamvia server-side action script but can't find any reference how to do this, can anyone point me in the right direction?

View 1 Replies







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