|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStreamService
This interface represents the stream methods that can be called throug RTMP.
| Field Summary | |
|---|---|
static String |
BEAN_NAME
|
| Method Summary | |
|---|---|
void |
closeStream()
Close the stream but not deallocate the resources. |
int |
createStream()
Create a stream and return a corresponding id. |
void |
deleteStream(int streamId)
Close the stream if not been closed. |
void |
deleteStream(IStreamCapableConnection conn,
int streamId)
Delete stream |
void |
pause(boolean pausePlayback,
int position)
Pauses playback |
void |
pauseRaw(boolean pausePlayback,
int position)
Undocumented Flash Plugin 10 call, assuming to be the alias to pause(boolean, int) |
void |
play(Boolean dontStop)
Play stream without initial stop |
void |
play(String name)
Play stream with name |
void |
play(String name,
int start)
Play stream with name from start position |
void |
play(String name,
int start,
int length)
Play stream with name from start position and for given amount if time |
void |
play(String name,
int start,
int length,
boolean flushPlaylist)
Publishes stream from given position for given amount of time |
void |
publish(Boolean dontStop)
Publish |
void |
publish(String name)
Publishes stream with given name |
void |
publish(String name,
String mode)
Publishes stream with given name and mode |
void |
receiveAudio(boolean receive)
Can recieve audio? |
void |
receiveVideo(boolean receive)
Can recieve video? |
void |
releaseStream(String streamName)
Called by FME. |
void |
seek(int position)
Seek to position |
| Field Detail |
|---|
static final String BEAN_NAME
| Method Detail |
|---|
int createStream()
void closeStream()
void deleteStream(int streamId)
streamId - Stram idvoid releaseStream(String streamName)
streamName - stream name
void deleteStream(IStreamCapableConnection conn,
int streamId)
conn - Stream capable connectionstreamId - Stream idvoid play(Boolean dontStop)
dontStop - Stoppage flagvoid play(String name)
name - Stream name
void play(String name,
int start)
name - Stream namestart - Start position
void play(String name,
int start,
int length)
name - Stream namestart - Start positionlength - Playback length
void play(String name,
int start,
int length,
boolean flushPlaylist)
name - Stream published namestart - Start positionlength - Playback lengthflushPlaylist - Flush playlist?void publish(String name)
name - Stream published name
void publish(String name,
String mode)
name - Stream published namemode - Stream publishing modevoid publish(Boolean dontStop)
dontStop - Whether need to stop firstvoid seek(int position)
position - Seek position
void pause(boolean pausePlayback,
int position)
pausePlayback - Pause flahposition - Pause position
void pauseRaw(boolean pausePlayback,
int position)
pausePlayback - Pause flahposition - Pause positionvoid receiveVideo(boolean receive)
receive - Boolean flagvoid receiveAudio(boolean receive)
receive - Boolean flag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||