//richinternet.blog

Viewing By Entry / Main
Monday, March 17, 2008
Flash Media Server 3: serverside recording of Flash Media Encoder Live-Streams made easy

If you use Flash Media Encoder 2 to publish your Livestreams to a Flash Media Server 3 it is only possible to record that Livestream on the clientside by default.

If you want to record that Livestream on the serverside you need to add the following serverside ActionScript code to you main.asc file.

// Enable FME Recording on FMS in 3 steps
Client.prototype.FCPublish = function(streamName)
{
// streamName is the name of the stream entered in FME
// 1) Get the stream s = Stream.get(streamName);

// 2) Record it s.record();

// 3) tell FME that everything is OK
this.call("onFCPublish", null, {code:"NetStream.Publish.Start", description: streamName});

}

Comments

Hi,

Nice trick ! Can you tell where the file is stored, ant is there any way to change the location ? chhers, Xris


Hi, that file is stored in the applications media directory and you only can change that be redefining that directory in the application.xml.




Sun Mon Tue Wed Thu Fri Sat
   1234
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

About this blog
www.aws-blog.de
www.richinternet.de
www.flexforum.de
www.die-flexperten.de

AIR (10)
Apollo (3)
BlazeDS (8)
Breeze (1)
Central (5)
Cocoon P2P (1)
ColdFusion (55)
Flash (61)
Flash Media Server (8)
Flex (170)
Flex Trace Panel (6)
FXUG (3)
J2Flex (4)
MAX (31)
Mobile (1)
mxmlc (1)
Other topics (47)
Plugins (9)
Video (7)


Recent Flex Technotes
Recent ColdFusion Technotes
Recent Flash Technotes

http://www.aws-blog.de
http://www.die-flexperten.de
http://www.flexforum.de
http://www.flex.org

Aggregated by fullasagoog.com
Aggregated by MXNA

Short Mode | Full Mode

Herrlich & Ramuschkat