public interface IStreamService extends IScopeService
| Modifier and Type | Method and Description |
|---|---|
void |
closeStream(IConnection connection,
Number streamId)
Close the stream but not deallocate the resources.
|
Number |
createStream()
Create a stream and return a corresponding id.
|
Number |
createStream(Number streamId)
Create a stream and return a corresponding id.
|
void |
deleteStream(IStreamCapableConnection conn,
Number streamId)
Delete stream
|
void |
deleteStream(Number streamId)
Close the stream if not been closed.
|
void |
initStream(Number streamId)
Called by FMS.
|
void |
initStream(Number streamId,
Object idk)
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
|
static final String BEAN_NAME
Number createStream()
Number createStream(Number streamId)
streamId - Stream idvoid closeStream(IConnection connection, Number streamId)
connection - ConnectionstreamId - Stream idvoid deleteStream(Number streamId)
streamId - Stream idvoid initStream(Number streamId)
streamId - Stream idvoid initStream(Number streamId, Object idk)
streamId - Stream ididk - I dont know what this is yetvoid releaseStream(String streamName)
streamName - stream namevoid deleteStream(IStreamCapableConnection conn, Number 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 flagCopyright © 2005–2017 Red5. All rights reserved.