|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Track
| Method Summary | |
|---|---|
void |
close()
Closes this stream. |
long |
getDuration()
Gets duration of this track. |
org.mobicents.media.Format |
getFormat()
Gets the format of this audio stream. |
long |
getMediaTime()
Gets the current media time. |
void |
process(org.mobicents.media.Buffer buffer)
Fills buffer with next portion of media data. |
void |
setMediaTime(long timestamp)
Rewinds track to the specified timestamp. |
| Method Detail |
|---|
org.mobicents.media.Format getFormat()
long getMediaTime()
void setMediaTime(long timestamp)
timestamp - the value of the time in milliscondslong getDuration()
void process(org.mobicents.media.Buffer buffer)
throws java.io.IOException
buffer -
java.io.IOExceptionvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||