Local Data address Does not belong to any of this hosts local interfaces
byte ip =newbyte;
ip=(byte)8;SessionAddress localSessionAddr =newSessionAddress(InetAddress.getByAddress(ip), LOCAL_RTP_PORT);
Throws: Local Data Address Does not belong to any of this hosts local interfaces
Solution and Cause
The problem is JMF seems to use InetAddress.getAllByName() which gives (in most cases) only single IP address as it may not be in the /etc/hosts. It can be sorted out by setting your interface ip (say eth0, wlan0) in /etc/hosts .
> cat /etc/hosts>127.0.0.1 localhost>127.0.1.1 noor>192.168.1.8 noor