aspose file tools*
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
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: 19722
    
  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?