I sent a bug report for JMF to http://www.blackdown.org/cgi-bin/jdk,
id = 2205. I have included the bug report below.

I would like to add that I have the same problem when using JMF for
streaming of audio over RTP.

Here is the output when when running netstat on the receiver machine.
The machine with the interface 192.168.0.1 performs the streaming on
port 7776 while the machine with interface 192.168.0.2 receives. The
receiving machine transmits a lot of messages back to the sender which
looks like RTCP Receiver Report messages when running netstat with the
-T rtcp argument (not included here). The sending of ca. 50 Receiver
Reports in a second is presumably a bug.

<cut>
20:23:26.996558 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.010009 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.024760 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.038178 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.051553 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.053816 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.065630 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.079002 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.092398 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.105871 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.125510 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.134982 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.139352 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.152905 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.166350 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.179748 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.193177 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.207947 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.210239 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.222040 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.235467 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.248909 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.294989 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.362253 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.365009 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.376739 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.390152 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.404827 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.418304 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.431769 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.445019 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.451000 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.464669 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.478117 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.492809 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.506415 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.519904 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.522374 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.534066 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.547595 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.561106 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.574567 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.589268 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.602739 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.605086 192.168.0.1.7777 > 224.0.10.1.7776: udp 1269 [ttl 1]
20:23:27.617115 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.630739 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.685053 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.744486 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.758008 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.760483 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.778762 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.792243 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.805826 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.819354 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.832864 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.845023 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.846887 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.860560 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.875425 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.888931 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.913600 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.916407 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:27.928378 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.941881 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.955442 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:27.995187 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:28.070319 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
20:23:28.073281 192.168.0.1.7777 > 224.0.10.1.7776: udp 1270 [ttl 1]
20:23:28.084639 192.168.0.2.7777 > 224.0.10.1.7777: udp 132 (DF) [ttl 1]
<cut>


Regards
Viktor S. Wold Eide


----------------------------------------------------------------------


   Full_Name: Viktor S. Wold Eide
   JDK_Version: Blackdown-1.3.0-FCS
   JDK_Arch: i386 (x86)
   Linux_Dist: Debian
   Linux_Dist_Ver: potato
   Libc_Ver: libc-2.1.3
   Ld_Ver: ld-2.1.3
   Dyn_Java: no
   Toolkit: Motif
   Toolkit_Ver: 
   Bug_Example: http://
   Submission from: 129.240.69.24 (129.240.69.24)


   Package: jmf
   Status: install ok installed
   Priority: optional
   Section: non-free/misc
   Installed-Size: 4204
   Maintainer: Juergen Kreileder <[EMAIL PROTECTED]>
   Version: 2.1.0.99-beta2-1
   Depends: j2re1.3, libc6 (>= 2.1.2)
   Description: Java Media Framework
    Blackdown Java-Linux Java Media Framework


   Playback of JPEG/RTP encoded quicktime movie by using JMStudio

   bash-2.03$ java JMStudio rtp://224.0.10.1:7776/video
   <cut>
   <and after a while>
   java.lang.NullPointerException: 
           at com.sun.media.rtp.RTCPTransmitter.makereports(RTCPTransmitter.java:207)
           at com.sun.media.rtp.RTCPTransmitter.report(RTCPTransmitter.java:113)
           at com.sun.media.rtp.RTCPReporter.run(RTCPReporter.java:201)
           at java.lang.Thread.run(Thread.java:484)


   I have also got the following output when running the same application:
   java.lang.OutOfMemoryError: 
           at com.sun.media.rtp.RTPSourceInfo.addSSRC(RTPSourceInfo.java:118)
           at com.sun.media.rtp.SSRCInfo.<init>(SSRCInfo.java:162)
           at com.sun.media.rtp.PassiveSSRCInfo.<init>(PassiveSSRCInfo.java:28)
           at com.sun.media.rtp.SSRCCache.LocalCollision(SSRCCache.java:433)
           at com.sun.media.rtp.SSRCCache.get(SSRCCache.java:284)
           at com.sun.media.rtp.RTCPReceiver.sendTo(RTCPReceiver.java:260)
           at com.sun.media.rtp.RTCPReceiver.sendTo(RTCPReceiver.java:133)
           at com.sun.media.rtp.RTCPReceiver.sendTo(RTCPReceiver.java:70)
           at com.sun.media.rtp.util.PacketForwarder.run(PacketForwarder.java:231)
           at java.lang.Thread.run(Thread.java:484)

   Additionally, when starting a number of applications (JMStudio, vic, etc) each 
   receiving from the same video stream (via RTP over UDP over ip-multicast) once
   in a
   while some or all of the applications stop presenting the video. I do not know a

   deterministic way of reproducing this behaviour, but it occures relatively
   often.
   When this happens, the processes consumes as much CPU cycles as possibe. I think

   this may have something to do with RTCP.

   If I strace one of the processes (and grep) I get the following output. 

   20:25:10 sendto(11, "\201\311\0\7BD9\247A\236\231\325\0\0\0\0\0\0%\214\0\0\t"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD9\336A\236\231\325\0\0\0\0\0\0%\214\0\0\t"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD:\1A\236\231\325\0\0\0\0\0\0%\214\0\0\t\321"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD;=A\236\231\325\0\0\0\0\0\0%\214\0\0\t\321"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD;kA\236\231\325\0\0\0\0\0\0%\214\0\0\t\321"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD;\242A\236\231\325\0\0\0\0\0\0%\214\0\0\t"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD<\'A\236\231\325\0\0\0\0\0\0%\214\0\0\t\321"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD<VA\236\231\325\0\0\0\0\0\0%\214\0\0\t\321"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD<\372A\236\231\325\0\0\0\0\0\0%\217\0\0\n"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD=
   A\236\231\325\0\0\0\0\0\0%\217\0\0\nS\0"..., 132, 0, {sin_family=AF_INET,
   sin_port=htons(7777), sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD=rA\236\231\325\0\0\0\0\0\0%\217\0\0\nS\0"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD=\203A\236\231\325\0\0\0\0\0\0%\217\0\0\n"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:11 sendto(11, "\201\311\0\7BD=\247A\236\231\325\0\0\0\0\0\0%\217\0\0\n"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132
   20:25:12 sendto(11, "\201\311\0\7BD=\351A\236\231\325\0\0\0\0\0\0%\217\0\0\n"...,
   132, 0, {sin_family=AF_INET, sin_port=htons(7777),
   sin_addr=inet_addr("224.0.10.1")}}, 16) = 132

   It seems like the process sends 12 such packets in 1 second. I
   believe these transmissions are RTCP transmissions. It looks like
   Receiver Reports when I user netstat to monitor the transmission of
   packets.


----------------------------------------------------------------------


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to