[Red5] First frame of playback dropped - Negative timestamp

Justin Munning justin_munning at yahoo.com
Thu Dec 27 16:29:12 PST 2007


Hi Everyone,

I'm using a modified version of the simpleRecorder.fla
that allows me to record multiple videos in a row. 
Sometimes when I playback a something I just recorded
the playhead starts one frame into the video.

For example if I have fps set to 15 and
KeyFrameInterval at 45, then sometimes the playback
will start at 3 seconds and I get a "skipping negative
timestamp" message on the server.

I've tried a bunch of different settings, as well as
recreating the streams on each new record, but I can't
figure it out.

cam = Camera.get();
cam.setLoopback(true);
cam.setMode(360, 270, 12);
cam.setQuality(0,90);
cam.setKeyFrameInterval(60);
mic = Microphone.get();
mic.setRate(22);
mic.setSilenceLevel(0);
mic.setGain(65);

I saw this problem referenced by Gregor on 7/24/07 in
his post below

"BTW, what about negative timestamps? Sometimes, when
I record, some timestamps get discarded (negative
timestamp message on the serverside), and the playback
starts only at the first timestamp, sometimes 5, 10
seconds after the start of recording."

Any information or help debugging would be greatly
appreciated.

Thanks,
Justin


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the Red5 mailing list