shweta sharma
unread,Dec 23, 2011, 8:17:23 AM12/23/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bo...@googlegroups.com
Hi ,
I am trying to send a local audio file sample.wav over RTP port using java
For that i am using JMF . I am trying a sample program given in JMF tutorials .
in Audio transmitter code i m getting 0 device for a given format.
AudioFormat format= new AudioFormat(AudioFormat.LINEAR, 8000,8,1);
Vector devices= CaptureDeviceManager.getDeviceList( format);
CaptureDeviceInfo di= null;
if (devices.size() > 0) {
di = (CaptureDeviceInfo) devices.elementAt( 0);
}
else {
// exit if we could not find the relevant capturedevice.
System.exit(-1);
}
As i searched on web i found that device might not be on system . . I have just included jmf.jar in to classpath
do i need to do some more thing .?
Any help in this regard will be helpful.
Thanks in advance.
HAPPY CHRISTMAS TO ALL BOJUG members!!
Shweta