|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.resource.mediaplayer.audio.mpeg.AMRTrackImpl
public class AMRTrackImpl
| Constructor Summary | |
|---|---|
AMRTrackImpl(java.net.URL url)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AMRTrackImpl(java.net.URL url)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public org.mobicents.media.Format getFormat()
Track
getFormat in interface Track
public void process(org.mobicents.media.Buffer buffer)
throws java.io.IOException
Track
process in interface Trackjava.io.IOExceptionpublic void close()
Track
close in interface Trackpublic long getMediaTime()
Track
getMediaTime in interface Trackpublic void setMediaTime(long timestamp)
Track
setMediaTime in interface Tracktimestamp - the value of the time in milliscondspublic long getDuration()
Track
getDuration in interface Track
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||