Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic