hi, all
 I have a receive thread run  endless to get video stream from network, but 
after a while I got the error message: 
  
 05-25 08:50:16.421: W/System.err(1072): java.net.SocketTimeoutException
05-25 08:50:16.421: W/System.err(1072):  at 
org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:564)
05-25 08:50:16.421: W/System.err(1072):  at 
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:88)
05-25 08:50:16.421: W/System.err(1072):  at 
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:67)
05-25 08:50:16.421: W/System.err(1072):  at 
dtt.h264.com.ReceiveThread.run(H264Android.java:755)
  
  
 My code like this: 
  
 
     while (true) {
 
      int NumRead = 0;
      try {
       NumRead = this.inStream.read(this.HeadBuf);
  
  
 ....
  
 how can I solve  the problem?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to