We are trying to get super accurate timings in an flv video in relation to javascript. For example, we are using javascript to display an element in a canvas on the screen, and we need to pinpoint the exact frame that the image occurs in on the netstream/flv.
We are publishing the netstream to a wowza media server, and doing no transcoding. Theoretically (at least in my limited knowledge), using ns.send to send a message down the line to Wowza is appending into the same flv file and I can see it there. However, we are seeing that the inserted message is ~100ms off of when we actually sent it.
Does anyone have any experience in doing something like this? A potential solution would be to append an all black frame into the actual video frame, but I can't seem to find any information on how to manipulate a netstream during publish.