Modifier and Type | Method and Description |
---|---|
boolean |
isPaused()
Is the stream paused
|
boolean |
isPlaying()
Is the stream playing
|
boolean |
isStopped()
Is the stream stopped
|
void |
pause()
Pause the stream
|
void |
play()
Start playback
|
void |
play(int length)
Start playback with a given maximum duration.
|
void |
resume()
Resume a paused stream
|
void |
seek(int position)
Seek to the keyframe nearest to position
|
void |
stop()
Stop the stream, this resets the position to the start
|
close, getCodecInfo, getCreationTime, getName, getScope, start
void play()
void play(int length)
length
- maximum duration in millisecondsvoid seek(int position)
position
- position in millisecondsvoid pause()
void resume()
void stop()
boolean isPaused()
boolean isStopped()
boolean isPlaying()
Copyright © 2006-2012 The Red5 Project