Package org.red5.client.net.rtmpe
Class Proxy
java.lang.Object
org.red5.client.net.rtmpe.Proxy
- All Implemented Interfaces:
IClientListener
A proxy for publishing an RTMPE stream to an RTMP stream.
- Author:
- Andy Shaules (bowljoman@hotmail.com), Paul Gregoire
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonClientListenerEvent(IRTMPEvent rtmpEvent) voidSets the applicaiton to proxy to.voidSets the host to proxy to.voidsetPort(int port) Sets the port to proxy to.voidStarts the process of proxying data.voidstop()Stops proxying.void
-
Constructor Details
-
Proxy
public Proxy()
-
-
Method Details
-
start
Starts the process of proxying data.- Parameters:
publishName-publishMode-
-
stop
public void stop()Stops proxying. -
setHost
Sets the host to proxy to.- Parameters:
host-
-
setPort
public void setPort(int port) Sets the port to proxy to.- Parameters:
port-
-
setApp
Sets the applicaiton to proxy to.- Parameters:
app-
-
onClientListenerEvent
- Specified by:
onClientListenerEventin interfaceIClientListener
-
stopListening
public void stopListening()- Specified by:
stopListeningin interfaceIClientListener
-