Skip to main content
April 8, 2010
Question

Stream.record suddenly stops

  • April 8, 2010
  • 2 replies
  • 323 views

Hey guys.

I'm having really strange situation here and tought maybe u can give some tip, where to search.

im recording stream on server side with simple function:

var l_s = Stream.get(someNameHere);

l_s.onStatus = function(info){

        trace("RECORDING STREAM ON STATUS: ")

for (var i in info ) trace ("    "+i+": "+info);

trace(">>>>>");

};

if (l_s)

{

var l_success = l_s.record("record");

l_s.play(p_info.path, -1, -1);

}

now its the strange part:

for some reasone stream is being recorded for some random time like 1MB, other 5MB other 12, etc and then suddenly without any onStatus information (which is traced) it stops recording. Live stream is being published normally, but recording suddenly stops without triggering onStatus event.

would appreciate any help

    This topic has been closed for replies.

    2 replies

    April 9, 2010

    Hey, thanks for response.

    I found complete solution in other post in this forum

    thanks

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    April 9, 2010

    Which FMS version are you on?

    Inside which method are you trying to record the stream? Is it inside application.onPublish? Can you pass me the complete code?

    Regards,

    Janaki L