org.pulsar.media
Interface IMediaProtocol
- All Known Implementing Classes:
- AbstractMediaProtocol, FileProtocol, HttpProtocol, PipeProtocol, PulsarDemandMediaProtocol, PulsarLiveMediaProtocol, RtpProtocol, ShoutCastProtocol
public interface IMediaProtocol
|
Method Summary |
void |
close()
|
java.lang.Exception |
getException()
|
java.lang.String |
getUrl()
|
void |
open(java.lang.String url)
|
int |
read(java.nio.ByteBuffer readBuffer,
int size)
|
long |
seek(long offset,
int whence)
|
int |
write(java.nio.ByteBuffer buffer,
int size)
|
SEEK_SET
static final int SEEK_SET
- See Also:
- Constant Field Values
SEEK_CUR
static final int SEEK_CUR
- See Also:
- Constant Field Values
SEEK_END
static final int SEEK_END
- See Also:
- Constant Field Values
open
void open(java.lang.String url)
getUrl
java.lang.String getUrl()
read
int read(java.nio.ByteBuffer readBuffer,
int size)
close
void close()
seek
long seek(long offset,
int whence)
write
int write(java.nio.ByteBuffer buffer,
int size)
getException
java.lang.Exception getException()