Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Joao Longo
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

 
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!