wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 19655
    
  18

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to change the Java Media Framework (JMF) RTP packet size?
 
Similar Threads
RTP Streams
Help Regarding Delay in Voice Conversation
Live Video Transmission-Help Required very urgently
Issues w/ receiving RTP Data in AVTransmit2 and AVReceive2
problem with audio video sessions using jmf & rtp