|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.BaseComponent
org.mobicents.media.server.impl.AbstractSource
org.mobicents.media.server.impl.resource.mediaplayer.video.VideoPlayerImpl
public class VideoPlayerImpl
| Field Summary |
|---|
| Fields inherited from class org.mobicents.media.server.impl.AbstractSource |
|---|
logger, otherParty |
| Fields inherited from class org.mobicents.media.server.impl.BaseComponent |
|---|
format |
| Constructor Summary | |
|---|---|
VideoPlayerImpl(java.lang.String name,
org.mobicents.media.server.spi.clock.Timer timer,
java.lang.String videoMediaDirectory)
Creates new instance of the Audio player. |
|
| Method Summary | ||
|---|---|---|
void |
evolve(org.mobicents.media.Buffer buffer,
long timestamp)
This method must be overriden by concrete media source. |
|
long |
getDuration()
(Non Java-doc). |
|
org.mobicents.media.Format[] |
getFormats()
|
|
|
getInterface(java.lang.Class<T> interfaceType)
|
|
long |
getMediaTime()
(Non Java-doc). |
|
void |
setMediaTime(long timestamp)
(Non Java-doc). |
|
void |
setURL(java.lang.String passedURI)
(Non Java-doc.) |
|
void |
start()
(Non Java-doc). |
|
void |
stop()
(Non Java-doc). |
|
| Methods inherited from class org.mobicents.media.server.impl.AbstractSource |
|---|
afterStop, beforeStart, cancel, completed, connect, connect, disconnect, disconnect, failed, getBytesTransmitted, getPacketsTransmitted, getSupportedFormatList, getSyncSource, isActive, isConnected, isMultipleConnectionsAllowed, isStarted, perform, resetStats, setDuration, setPreffered, setSyncSource, started, stopped |
| Methods inherited from class org.mobicents.media.server.impl.BaseComponent |
|---|
addListener, getConnection, getEndpoint, getFormat, getId, getName, removeListener, sendEvent, setConnection, setEndpoint, subset, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mobicents.media.Component |
|---|
addListener, getConnection, getEndpoint, getFormat, getId, getName, removeListener, resetStats, setConnection, setEndpoint |
| Constructor Detail |
|---|
public VideoPlayerImpl(java.lang.String name,
org.mobicents.media.server.spi.clock.Timer timer,
java.lang.String videoMediaDirectory)
name - the name of the AudioPlayer to be created.timer - source of synchronization.videoMediaDirectory - | Method Detail |
|---|
public void setURL(java.lang.String passedURI)
throws java.io.IOException,
org.mobicents.media.server.spi.ResourceUnavailableException
setURL in interface org.mobicents.media.server.spi.resource.Playerjava.io.IOException
org.mobicents.media.server.spi.ResourceUnavailableExceptionorg.mobicents.media.server.spi.resource.AudioPlayer#setURL(java.lang.String)public long getDuration()
AbstractSource
getDuration in interface org.mobicents.media.MediaSourcegetDuration in class AbstractSourceorg.mobicents.media.MediaSource#getDuration(long duration);public void setMediaTime(long timestamp)
AbstractSource
setMediaTime in interface org.mobicents.media.MediaSourcesetMediaTime in class AbstractSourceMediaSource.setMediaTime(long timestamp);public long getMediaTime()
AbstractSource
getMediaTime in interface org.mobicents.media.MediaSourcegetMediaTime in class AbstractSourceMediaSource.getMediaTime();public void start()
AbstractSource
start in interface org.mobicents.media.MediaSourcestart in interface org.mobicents.media.server.spi.resource.Playerstart in class AbstractSourceMediaSource.start().public void stop()
AbstractSource
stop in interface org.mobicents.media.MediaSourcestop in interface org.mobicents.media.server.spi.resource.Playerstop in class AbstractSourceMediaSource.stop().
public void evolve(org.mobicents.media.Buffer buffer,
long timestamp)
AbstractSource
evolve in class AbstractSourcebuffer - the buffer object for media.public org.mobicents.media.Format[] getFormats()
getFormats in interface org.mobicents.media.MediaSourcepublic <T> T getInterface(java.lang.Class<T> interfaceType)
getInterface in interface org.mobicents.media.ComponentgetInterface in class AbstractSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||