Class Proxy

java.lang.Object
org.red5.client.net.rtmpe.Proxy
All Implemented Interfaces:
IClientListener

public class Proxy extends Object implements IClientListener
A proxy for publishing an RTMPE stream to an RTMP stream.
Author:
Andy Shaules (bowljoman@hotmail.com), Paul Gregoire
  • Constructor Details

    • Proxy

      public Proxy()
  • Method Details

    • start

      public void start(String publishName, String publishMode)
      Starts the process of proxying data.
      Parameters:
      publishName -
      publishMode -
    • stop

      public void stop()
      Stops proxying.
    • setHost

      public void setHost(String host)
      Sets the host to proxy to.
      Parameters:
      host -
    • setPort

      public void setPort(int port)
      Sets the port to proxy to.
      Parameters:
      port -
    • setApp

      public void setApp(String app)
      Sets the applicaiton to proxy to.
      Parameters:
      app -
    • onClientListenerEvent

      public void onClientListenerEvent(IRTMPEvent rtmpEvent)
      Specified by:
      onClientListenerEvent in interface IClientListener
    • stopListening

      public void stopListening()
      Specified by:
      stopListening in interface IClientListener