Hi All,
I'm publishing audio to Flash Media Server, using a netStream, from the
user's microphone. I'm trying to mark specific points in time in that stream
that I will use to trigger other code on play back. Right now I'm doing:
ns.send("fooEvent", "fooparams")
and then catching it with a call back function
function fooEvent(info:String):void{}
I am recording the time in the stream (ns.time) at which the send() is
called, and the time in the stream (on playback) when fooEvent is called,
again using ns.time.
The problem is that the ns.time during playback seems to be ~250ms later
than the ns.time during publishing. This isnt *a lot*, but it's too much for
what I'm doing.
Questions:
1. Is this an known issue / feature?
2. Any known work-arounds?
3. Any alternative approaches? (would Event cuePoints be better?)
4. Can anyone point me to documentation on how this send() method even
works. It looks like it is not inserting cuePoints into the flv itself. Do
they get stored in the flv at all, or does FMS put them somewhere else?
thanks in advance,
tom