Hi folks... I would like to know how to build a live recorder that can save the time that an action is called... for example Breeze... when you record, when u click on the screen share, it stores the time you have called that function ex.: 00:04:38. and in the playback, this function happens again at the right saved time... I want to add a video to that, so I want to Sync the video with the actions, and chat too... you can see the messages comming to the chat component as if it were all live... I hope you can solve my problems... I trust on You! tnx
Let's assume you have a netstream named myStream, and it's recording. Try something like this: myStream.doSomething = function(val){ trace(val); } myStream.send(doSomething, "Hello World"); When the video stream plays back, it will call the function again.
Sorry for my inconvenience but... could you be more clear!!! im newbie with FMS, but iam learning a lot of things all alone let me see if i understood. //this is the function that is called myStream.doSomething = function(val){ trace(val); } //and this one will send the var when an action happens myStream.send(doSomething, "Hello World"); but... when im playing back, these functions will happen automatically??? sorry for my bad english
Yes. If you are recording the stream, the function will be called automatically on playback at the same time in the video.
Can u give a sample of its... but explaining what happens in each line??? Sorry. but ive tryed, and i could get success only with live recording and live receiving with that code... now i want to make a playback and sync the data... i failed tnx
Hi folks... I could figure it out ... tnx for the reply Jay Charles... I have a doubt... I want to record the chat too... is it possble, using oly that function... I was trying... but only one could send!!! One other... I was trying to send this ns.send("sendMessage", "<b>" add _root.userName add ":" add "</b>" add label1.txt); when i receive... the HTML tags appears instead changing in the text box... it displays something like this: Hacebe: ol? <b>undefined:</b> Ol?.... <b>undefined:</b>asdas I dont know how to make this stuff works... but im worried about letting people chat!!! tnx
For playing back: myConnection = new NetConnection(); myConnection.connect("rtmp://myServer.myDomain.com/appName"); myStream = new NetStream(myConnection); myStream.play("nameOfYourRecordedStream"); myStream.doSomething = function(val){ trace(val); } That's really all there is to it. Also, in my first post, there is an error. This line: myStream.send(doSomething, "Hello World"); should be: myStream.send("doSomething", "Hello World"); < Notice the quotes around the function name.
Hi folks... Im happy because I have almost finished my app!!! It works like breeze but with less functions. but im working hard on it and trying to finish it!!! i have also recordered a sample of how good is that app!!! here it goes: http://www.hacebe.gotdns.com/conferencerecording/room_enter.php?instanceName=tha nxs&confTitle=Thank%20for%20all%20folks!!!&userName=Vin?cius%20Hacebe
Don't see what you're looking for? Try a search.
|