org.mobicents.media.server.impl.resource.audio
Class RecorderStream
java.lang.Object
java.io.InputStream
org.mobicents.media.server.impl.resource.audio.RecorderStream
- All Implemented Interfaces:
- java.io.Closeable
public class RecorderStream
- extends java.io.InputStream
- Author:
- Oleg Kulikov
|
Field Summary |
protected int |
available
|
protected boolean |
blocked
|
protected java.util.List<org.mobicents.media.Buffer> |
buffers
|
protected java.util.concurrent.Semaphore |
semaphore
|
| Methods inherited from class java.io.InputStream |
close, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffers
protected java.util.List<org.mobicents.media.Buffer> buffers
available
protected int available
semaphore
protected java.util.concurrent.Semaphore semaphore
blocked
protected boolean blocked
RecorderStream
public RecorderStream(RecorderImpl recorder,
long recordinglength)
available
public int available()
- Overrides:
available in class java.io.InputStream
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] buff)
- Overrides:
read in class java.io.InputStream
Copyright © 2009. All Rights Reserved.