Maximum duration recording

Hello,

I 'm new to JMF ans trying to record files from my USB cam converter that are 30 secondes long, then change to another 30 seconds long file. So far, I can record using jmfsample example, but didn't find a way to set the media file duration. Does anyone know ?

Thanks to all

[301 byte] By [dreydreya] at [2007-9-25]