|
||||||||||
| 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 reader| Method Detail |
|---|
public void close()
close in interface IStreamSourcepublic IRTMPEvent dequeue()
dequeue in interface IStreamSourcepublic boolean hasMore()
hasMore in interface IStreamSourcetrue if there's streamable data, false otherwisepublic int seek(int ts)
seek in interface ISeekableStreamSourcets - Timestamp to seek to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||