This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes How to change the Java Media Framework (JMF) RTP packet size? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to change the Java Media Framework (JMF) RTP packet size?" Watch "How to change the Java Media Framework (JMF) RTP packet size?" New topic
Author

How to change the Java Media Framework (JMF) RTP packet size?

Joao Longo
Greenhorn

Joined: Jan 04, 2012
Posts: 14
Hello people!

I'm able to send RTP sound through JMF, but now I need to change the RTP packet size to 160 (it seems that the default is 480 as I saw in com.sun.media.codec.audio.ulaw.Packetizer JMF class). The problem is that I haven't found yet where can I set the packet size. In fact, many JMF classes are instantiated by Reflection.

Here is a snip of my code:

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19684
    
  20

Please BeForthrightWhenCrossPostingToOtherSites: http://stackoverflow.com/questions/17154949/how-to-change-the-java-media-framework-jmf-rtp-packet-size


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change the Java Media Framework (JMF) RTP packet size?