video
Class LiveStream

java.lang.Object
  extended by video.LiveStream
All Implemented Interfaces:
java.lang.Runnable, javax.media.Controls, javax.media.protocol.PushBufferStream, javax.media.protocol.SourceStream

public class LiveStream
extends java.lang.Object
implements javax.media.protocol.PushBufferStream, java.lang.Runnable

Copyright 2005, DocJava, Inc. User: dlyon Date: Sep 7, 2006 Time: 2:01:53 PM


Field Summary
 
Fields inherited from interface javax.media.protocol.SourceStream
LENGTH_UNKNOWN
 
Constructor Summary
LiveStream(javax.media.MediaLocator locator)
           
 
Method Summary
 boolean endOfStream()
           
 javax.media.protocol.ContentDescriptor getContentDescriptor()
          ************************************************************************ SourceStream *************************************************************************
 long getContentLength()
           
 java.lang.Object getControl(java.lang.String controlType)
           
 java.lang.Object[] getControls()
           
 javax.media.Format getFormat()
           
static void main(java.lang.String[] args)
           
 void read(javax.media.Buffer buffer)
           
 void run()
          ************************************************************************ Runnable *************************************************************************
 void setTransferHandler(javax.media.protocol.BufferTransferHandler transferHandler)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveStream

public LiveStream(javax.media.MediaLocator locator)
Method Detail

getContentDescriptor

public javax.media.protocol.ContentDescriptor getContentDescriptor()
************************************************************************ SourceStream *************************************************************************

Specified by:
getContentDescriptor in interface javax.media.protocol.SourceStream

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface javax.media.protocol.SourceStream

endOfStream

public boolean endOfStream()
Specified by:
endOfStream in interface javax.media.protocol.SourceStream

getFormat

public javax.media.Format getFormat()
Specified by:
getFormat in interface javax.media.protocol.PushBufferStream

read

public void read(javax.media.Buffer buffer)
          throws java.io.IOException
Specified by:
read in interface javax.media.protocol.PushBufferStream
Throws:
java.io.IOException

setTransferHandler

public void setTransferHandler(javax.media.protocol.BufferTransferHandler transferHandler)
Specified by:
setTransferHandler in interface javax.media.protocol.PushBufferStream

run

public void run()
************************************************************************ Runnable *************************************************************************

Specified by:
run in interface java.lang.Runnable

getControls

public java.lang.Object[] getControls()
Specified by:
getControls in interface javax.media.Controls

getControl

public java.lang.Object getControl(java.lang.String controlType)
Specified by:
getControl in interface javax.media.Controls

main

public static void main(java.lang.String[] args)