com.flazr.rtmp
Class LoopedReader

java.lang.Object
  extended by com.flazr.rtmp.LoopedReader
All Implemented Interfaces:
RtmpReader

public class LoopedReader
extends Object
implements RtmpReader


Constructor Summary
LoopedReader(RtmpReader reader, int loopCount)
           
 
Method Summary
 void close()
           
 Metadata getMetadata()
           
 RtmpMessage[] getStartMessages()
           
 long getTimePosition()
           
 boolean hasNext()
           
 RtmpMessage next()
           
 long seek(long timePosition)
           
 void setAggregateDuration(int targetDuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoopedReader

public LoopedReader(RtmpReader reader,
                    int loopCount)
Method Detail

getMetadata

public Metadata getMetadata()
Specified by:
getMetadata in interface RtmpReader

getStartMessages

public RtmpMessage[] getStartMessages()
Specified by:
getStartMessages in interface RtmpReader

setAggregateDuration

public void setAggregateDuration(int targetDuration)
Specified by:
setAggregateDuration in interface RtmpReader

getTimePosition

public long getTimePosition()
Specified by:
getTimePosition in interface RtmpReader

seek

public long seek(long timePosition)
Specified by:
seek in interface RtmpReader

close

public void close()
Specified by:
close in interface RtmpReader

hasNext

public boolean hasNext()
Specified by:
hasNext in interface RtmpReader

next

public RtmpMessage next()
Specified by:
next in interface RtmpReader


Copyright © 2011. All Rights Reserved.