<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>
<DIV dir=ltr>I've&nbsp;realized that there is no java api for encoding into 
vorbis. We got decoding one tough(Vorbis SPI).</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Currently we got Java Prgm to capture sound from mic and 
"encoder_example.c" that would take byte stream and encode it into ogg 
format.So, right now we are in the process of using JNI for calling the C 
routines using Java.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>The main aim is to transfer this data over Darwin Streaming 
Server(DSS), since DSS accepts only RTP data, we want to create RTP packets. We 
already a have Java program that does that, I mean&nbsp;it takes byte stream as 
input and converts(adds RTP header) them into RTP packets.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>What I would like to know is&nbsp;there something else to be kept 
in RTP header&nbsp;or will this method work ?</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Did anyone ever try to do this kind of thing ?</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>-Vithal</DIV></FONT></DIV></FONT></DIV></BODY></HTML>