Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java Media Framework
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: May 17, 2013 12:33 AM by
Problem in jmf voice capture
May 17, 2013 12:33 AM
I have made my custom DataSource, custom DirectSoundStream, custom DSoundST class for voice capture.
Sample Rate: 8000
Sample Size: 16
capture buff size:
Read method in custom DSoundST class which calls native read method of DSound class (in package com.sun.media.protocol)
has variable delay in reading capture voice from microphone.
The following code sample in DSoundST class gives variable delay(of 60,42,0,145,211 ms) in read method
long t = System.currentTimeMillis();
this.result = super.read(this.data, this.offset, this.len);
System.err.println("# DSoundSTRead "+this.len+" "+this.result+" "+(System.currentTimeMillis()-t));
Why there is variable delay in the above read() method. How to remove this delay, how to have constant delay ?
This content has been marked as final.
Show 0 replies