cgl.narada.samples.rtp
Class MediaCapturer
java.lang.Object
cgl.narada.samples.rtp.MediaCapturer
public class MediaCapturer
- extends Object
This MediaCapturer class is used to capture media from a device
The given MediaLocator shows the device.
Indeed that Medialocator does not have to be a device, but any MediaLocator
|
Constructor Summary |
MediaCapturer(javax.media.MediaLocator locator,
javax.media.protocol.ContentDescriptor cd,
javax.media.Format outputFormat)
|
|
Method Summary |
javax.media.protocol.DataSource |
getDataSource()
|
static void |
main(String[] args)
Sample Usage for MediaCapturer class |
void |
stop()
Stops reading if already started |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaCapturer
public MediaCapturer(javax.media.MediaLocator locator,
javax.media.protocol.ContentDescriptor cd,
javax.media.Format outputFormat)
getDataSource
public javax.media.protocol.DataSource getDataSource()
stop
public void stop()
- Stops reading if already started
main
public static void main(String[] args)
- Sample Usage for MediaCapturer class
For comments and suggestions please send
e-mail to
The NaradaBrokering Project