RTMPSource(java.lang.String ip,
int port,
java.lang.String serverApp,
java.lang.String resourceName,
ConnectionParameter[] connectionParams,
int flags,
java.beans.PropertyChangeListener listener)
Creates a RTMPSource and connects to the given server application running on the host at %ip, requesting the
given resource. |
RTMPSource(java.lang.String appUrl,
java.lang.String resourceName,
ConnectionParameter[] connectionParams,
int flags,
java.beans.PropertyChangeListener listener)
Creates a RTMPSource and connects to the server application at the given url, requesting %resource.
Extended parameters as given in %connectionParams will be passed to the NetStream.connect() method, eventually overwriting
the defaults that dsj would send as a minimum requirement (flashVer, swfUrl, tcUrl, audioCodecs, videoCodecs,
videoFunction and objectEncoding plus for mp4 streams fpad and capabilities). |