Class 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 Detail

      • Proxy

        public Proxy()
    • Method Detail

      • 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​(org.red5.server.net.rtmp.event.IRTMPEvent rtmpEvent)
        Specified by:
        onClientListenerEvent in interface IClientListener