Playback skips forward on KDP

5 replies [Last post]
Joined: 12/15/2009
Points: 27

http://174.143.151.19/wemash_test/test.php?entry_id=rfq15l61yo

Why is it that after 2-3 seconds it skips to 15 sec???

Joined: 12/15/2009
Points: 27

More examples:
http://174.143.151.19/wemash_test/test.php?entry_id=2s38kjxcp4

http://174.143.151.19/wemash_test/test.php?entry_id=1ckjmeldh0

This is a really big holdup for our application as it relies very heavily on webcam based recording so any help with this would be greatly appreciated.

Joined: 03/29/2009
Points: 764

Hi,

Does it happen when you play the video in the KMC as well?

Joined: 12/15/2009
Points: 27

Yeah it does -- I guess maybe I am using krecord improperly? Because it never does with the first clip I record.
Basically I am prompting the user and then recording 2-3 clips of them using the krecord widget. I use the .stopRecording and .startRecording functions.

Joined: 12/15/2009
Points: 27

another example:
http://174.143.151.19/wemash_test/test.php?entry_id=08n04i4oia

There is no way anywhere near 51 seconds of video were recorded yet it has that as the length ??!

Joined: 12/15/2009
Points: 27

So I fixed the error but I don't know the underlying root of the problem.

I modified the KRecord class and added a method called resetConnection which I call after each stopRecording() call

I store the config object in an instance variable and the resetConnection method creates a new KRecordController after being called (meaning you re-connect to the streaming server)
This seems to produce videos without the problems that occurred earlier -- which leads me to think the underlying cause is something to do with the netstream sending bad data