VisClient/org/hfbk/vid/VideoFetcher.java

Go to the documentation of this file.
00001 /*
00002  * Created on 08.05.2008
00003  *
00004  */
00005 package org.hfbk.vid;
00006 
00007 
00015 public class VideoFetcher extends Thread {
00016 
00021         static int count;
00022         
00027         public AVStreamingThread streamer = null;
00028 
00029         String url;
00030 
00036         public VideoFetcher(String url) {
00037                 super("VideoFetcher: "+url);
00038                 this.url = url;
00039                 setPriority(Thread.MIN_PRIORITY);
00040                 start();
00041         }
00042 
00043         public void run() {
00044                 try {
00045                         while (count>0) Thread.sleep(100);
00046                         count++;
00047                         streamer = new AVStreamingThread(url, 0x100000);
00048                 } catch (Exception e) {                                 
00049                         System.out.println(e);                  
00050                 }               
00051                 count--;
00052         }
00053 }

Generated on Tue Apr 7 17:57:20 2009 for visclient by  doxygen 1.5.1