|
||||||||||
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(IConnection connection,
int streamId)
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 |
initStream(int streamId)
Called by FMS. |
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(IConnection connection, int streamId)
connection
- ConnectionstreamId
- Stream idvoid deleteStream(int streamId)
streamId
- Stream idvoid initStream(int streamId)
streamId
- Stream idvoid releaseStream(String streamName)
streamName
- stream namevoid deleteStream(IStreamCapableConnection conn, int streamId)
conn
- Stream capable connectionstreamId
- Stream idvoid play(Boolean dontStop)
dontStop
- Stoppage flagvoid play(String name)
name
- Stream namevoid play(String name, int start)
name
- Stream namestart
- Start positionvoid play(String name, int start, int length)
name
- Stream namestart
- Start positionlength
- Playback lengthvoid 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 namevoid 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 positionvoid pause(Boolean pausePlayback, int position)
pausePlayback
- Pause or resume flashposition
- Pause positionvoid pauseRaw(Boolean pausePlayback, int position)
pausePlayback
- Pause or resume flashposition
- 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 |