Class RTMPSClient

All Implemented Interfaces:
IRTMPClient, IRTMPHandler, Constants, StatusCodes

public class RTMPSClient extends RTMPClient
RTMPS client object (RTMPS Native)
 var nc:NetConnection = new NetConnection();
 nc.proxyType = "best";
 nc.connect("rtmps:\\localhost\app");
 
Author:
The Red5 Project, Paul Gregoire (mondain@gmail.com), Kevin Green (kevygreen@gmail.com)
  • Constructor Details

    • RTMPSClient

      public RTMPSClient()
      Constructs a new RTMPClient.
    • RTMPSClient

      public RTMPSClient(String keyStoreType, String password)
      Creates a new RTMPSClient with the given keystore type and password.
      Parameters:
      keyStoreType - keystore type
      password - keystore password
    • RTMPSClient

      public RTMPSClient(String keyStoreType, String password, String keystorePath, String truststorePath) throws IOException
      Creates a new RTMPSClient with the given keystore type, password, and paths to store files. If the stores are inside a jar file, use the following format: jar:file:/path/to/your.jar!/path/to/file/in/jar
      Parameters:
      keyStoreType - keystore type
      password - keystore password
      keystorePath - path to keystore file
      truststorePath - path to truststore file
      Throws:
      IOException
  • Method Details

    • startConnector

      protected void startConnector(String server, int port)
      Description copied from class: RTMPClient
      Start network connection to server
      Overrides:
      startConnector in class RTMPClient
      Parameters:
      server - Server
      port - Connection port
    • setKeyStorePassword

      public void setKeyStorePassword(String password)
      Password used to access the keystore file.
      Parameters:
      password - keystore password
    • setKeyStoreType

      public void setKeyStoreType(String keyStoreType)
      Set the key store type, JKS or PKCS12.
      Parameters:
      keyStoreType - keystore type
    • setCipherSuites

      public static void setCipherSuites(String[] cipherSuites)