|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smaxe.app.uv.agent.RtmpClientScript
com.smaxe.app.uv.loadtester.script.PlayStreamScript
public final class PlayStreamScript
PlayStreamScript
Behaviour:
- Client connects to the server and starts stream playback on successfull connection
(stream name is defined in the "streamToPlay" property)
- Client disconnects from the server after stream playback is stopped/completed.
Field Summary |
---|
Fields inherited from class com.smaxe.app.uv.agent.RtmpClientScript |
---|
PUBLISH_MODE_APPEND, PUBLISH_MODE_LIVE, PUBLISH_MODE_RECORD |
Constructor Summary | |
---|---|
PlayStreamScript()
Constructor. |
Method Summary | |
---|---|
void |
onConnect(java.lang.String code,
java.util.Map<java.lang.String,java.lang.Object> info)
Notifies about connection to the server. |
void |
onPlayStop(java.lang.String stream,
MediaStreamInfo info)
Notifies about stream playback stop. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlayStreamScript()
Method Detail |
---|
public void onConnect(java.lang.String code, java.util.Map<java.lang.String,java.lang.Object> info)
RtmpClientScript
onConnect
in class RtmpClientScript
code
- status codeinfo
- connection infopublic void onPlayStop(java.lang.String stream, MediaStreamInfo info)
RtmpClientScript
stream
playback stop.
onPlayStop
in class RtmpClientScript
stream
- played stream nameinfo
- played stream info
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |