|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.stream.FileStreamSource
public class FileStreamSource
Represents stream source that is file
Field Summary | |
---|---|
protected static Logger |
log
Logger |
Constructor Summary | |
---|---|
FileStreamSource(ITagReader reader)
Creates file stream source with tag reader |
Method Summary | |
---|---|
void |
close()
Closes tag reader |
IRTMPEvent |
dequeue()
Get tag from queue and convert to message |
boolean |
hasMore()
Is there something more to stream? |
int |
seek(int ts)
Seek the stream source to timestamp ts (in milliseconds). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Logger log
Constructor Detail |
---|
public FileStreamSource(ITagReader reader)
reader
- Tag readerMethod Detail |
---|
public void close()
close
in interface IStreamSource
public IRTMPEvent dequeue()
dequeue
in interface IStreamSource
public boolean hasMore()
hasMore
in interface IStreamSource
true
if there's streamable data, false
otherwisepublic int seek(int ts)
seek
in interface ISeekableStreamSource
ts
- Timestamp to seek to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |