Fixes a couple of javadocs in .service.neomedia which mention MediaConnector while it's called StreamConnector. Changes an occurrence of fmt to format which seems to be used in other places in the package.

cusax-fix
Lyubomir Marinov 17 years ago
parent 3d1fcc8315
commit 254cc7b09c

@ -46,12 +46,12 @@ public interface MediaService
/**
* Creates a <tt>MediaStream</tt> that will be using the specified
* <tt>MediaDevice</tt> for both capture and playback of media exchanged
* via the specified <tt>MediaConnector</tt>.
* via the specified <tt>StreamConnector</tt>.
*
* @param connector the connector that the stream should use for sending and
* receiving media.
* @param device the device to be used for both capture and playback of
* media changed via the specified <tt>MediaConnector</tt>
* media changed via the specified <tt>StreamConnector</tt>
*
* @return the newly created <tt>MediaStream</tt>.
*/

@ -83,13 +83,12 @@ public interface MediaStream
public void stop();
/**
* Sets the MediaFormat that this <tt>MediaStream</tt> should be
* transmitting in.
* Sets the MediaFormat that this <tt>MediaStream</tt> should transmit in.
*
* @param fmt the <tt>MediaFormat</tt> that this <tt>MediaStream</tt> should
* be transmitting in.
* @param format the <tt>MediaFormat</tt> that this <tt>MediaStream</tt>
* should transmit in.
*/
public void setFormat(MediaFormat fmt);
public void setFormat(MediaFormat format);
/**
* Returns the <tt>MediaFormat</tt> that this stream is currently
@ -101,20 +100,19 @@ public interface MediaStream
public MediaFormat getFormat();
/**
* Sets the device that this stream should be using to playback and capture
* Sets the device that this stream should use to play back and capture
* media.
*
* @param device the <tt>MediaDevice</tt> that this stream should use
* to playback and capture media.
* to play back and capture media.
*/
public void setDevice(MediaDevice device);
/**
* Returns the device that this stream should be using to playback and
* capture media.
* Gets the device that this stream uses to play back and capture media.
*
* @return the <tt>MediaDevice</tt> that this stream should use
* to playback and capture media.
* @return the <tt>MediaDevice</tt> that this stream uses to play back and
* capture media.
*/
public MediaDevice getDevice();

Loading…
Cancel
Save