|
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.Objectnet.java.sip.communicator.impl.neomedia.conference.InputDataSourceDesc
class InputDataSourceDesc
Describes additional information about a specific input DataSource of an AudioMixer so that the AudioMixer can, for example, quickly discover the output AudioMixingPushBufferDataSource in the mix of which the contribution of the DataSource is to not be included.
Private to AudioMixer and AudioMixerPushBufferStream but extracted into its own file for the sake of clarity.
| Field Summary | |
|---|---|
javax.media.protocol.DataSource |
inputDataSource
The DataSource for which additional information is described by this instance. |
AudioMixingPushBufferDataSource |
outputDataSource
The AudioMixingPushBufferDataSource in which the mix contributions of inputDataSource are to not be included. |
| Constructor Summary | |
|---|---|
InputDataSourceDesc(javax.media.protocol.DataSource inputDataSource,
AudioMixingPushBufferDataSource outputDataSource)
Initializes a new InputDataSourceDesc instance which is to describe additional information about a specific input DataSource of an AudioMixer. |
|
| Method Summary | |
|---|---|
(package private) void |
connect(AudioMixer audioMixer)
Connects the effective input DataSource described by this instance upon request from a specific AudioMixer. |
(package private) boolean |
createTranscodingDataSource(javax.media.Format outputFormat)
Creates a DataSource which attempts to transcode the tracks of the input DataSource described by this instance into a specific output Format. |
(package private) void |
disconnect()
Disconnects the effective input DataSource described by this instance if it is already connected. |
Object |
getControl(String controlType)
Gets the control available for the effective input DataSource described by this instance with a specific type. |
javax.media.protocol.DataSource |
getEffectiveInputDataSource()
Gets the actual DataSource from which the associated AudioMixer directly reads in order to retrieve the mix contribution of the DataSource described by this instance. |
javax.media.protocol.SourceStream[] |
getStreams()
Gets the SourceStreams of the effective input DataSource described by this instance. |
(package private) void |
start()
Starts the effective input DataSource described by this instance if it is connected. |
(package private) void |
stop()
Stops the effective input DataSource described by this instance if it is connected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final javax.media.protocol.DataSource inputDataSource
public final AudioMixingPushBufferDataSource outputDataSource
inputDataSource are to not be included.
| Constructor Detail |
|---|
public InputDataSourceDesc(javax.media.protocol.DataSource inputDataSource,
AudioMixingPushBufferDataSource outputDataSource)
inputDataSource - a DataSourc for which additional
information is to be described by the new instanceoutputDataSource - the AudioMixingPushBufferDataSource in
which the mix contributions of inputDataSource are to not be
included| Method Detail |
|---|
void connect(AudioMixer audioMixer)
throws IOException
AudioMixer.connected(InputDataSourceDesc).
audioMixer - the AudioMixer requesting the effective input
DataSource described by this instance to be connected
IOException - if anything wrong happens while connecting the
effective input DataSource described by this instanceboolean createTranscodingDataSource(javax.media.Format outputFormat)
outputFormat - the Format in which the tracks of the input
DataSource described by this instance are to be transcoded
void disconnect()
public Object getControl(String controlType)
controlType - a String value which specifies the type of
the control to be retrieved
public javax.media.protocol.DataSource getEffectiveInputDataSource()
public javax.media.protocol.SourceStream[] getStreams()
void start()
throws IOException
IOException - if starting the effective input DataSource
described by this instance fails
void stop()
throws IOException
IOException - if stopping the effective input DataSource
described by this instance fails
|
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 | |||||||||