|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.protocol.DataSource
javax.media.protocol.PushBufferDataSource
net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.alsa.DataSource
public class DataSource
low-latency ALSA access through JNI wrapper
| Field Summary | |
|---|---|
protected boolean |
connected
|
protected javax.media.Time |
duration
|
protected boolean |
started
|
protected AlsaStream |
stream
|
protected AlsaStream[] |
streams
|
| Fields inherited from interface javax.media.Duration |
|---|
DURATION_UNBOUNDED, DURATION_UNKNOWN |
| Constructor Summary | |
|---|---|
DataSource()
Constructs a new ALSA DataSource. |
|
| Method Summary | |
|---|---|
void |
connect()
Connect the datasource |
void |
disconnect()
Disconnect the datasource |
String |
getContentType()
Gets the type of the content made available by this DataSource (i.e. |
Object |
getControl(String controlType)
Return required control from the Control[] array if exists, that is |
Object[] |
getControls()
Gives control information to the caller. |
javax.media.Time |
getDuration()
Gives to the caller the duration information of our stream Which is, obviously unknown. |
javax.media.protocol.PushBufferStream[] |
getStreams()
Returns an array of PushBufferStream containing all the streams i.e. |
void |
start()
Start the datasource and the underlying stream |
void |
stop()
Stop the datasource and it's underlying stream |
| Methods inherited from class javax.media.protocol.DataSource |
|---|
getLocator, initCheck, setLocator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean started
protected boolean connected
protected javax.media.Time duration
protected AlsaStream[] streams
protected AlsaStream stream
| Constructor Detail |
|---|
public DataSource()
| Method Detail |
|---|
public String getContentType()
getContentType in class javax.media.protocol.DataSource
public void connect()
throws IOException
connect in class javax.media.protocol.DataSourceIOExceptionpublic void disconnect()
disconnect in class javax.media.protocol.DataSource
public void start()
throws IOException
start in class javax.media.protocol.DataSourceIOException
public void stop()
throws IOException
stop in class javax.media.protocol.DataSourceIOExceptionpublic Object[] getControls()
getControls in interface javax.media.ControlsgetControls in class javax.media.protocol.DataSourcepublic Object getControl(String controlType)
getControl in interface javax.media.ControlsgetControl in class javax.media.protocol.DataSourcepublic javax.media.Time getDuration()
getDuration in interface javax.media.DurationgetDuration in class javax.media.protocol.DataSourcepublic javax.media.protocol.PushBufferStream[] getStreams()
getStreams in class javax.media.protocol.PushBufferDataSource
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||