connect
Starts connecting to an RTMP server application.
Observe status events to determine whether the connection succeeds. Calls made while connected, or with an unsupported URI scheme, do not start a new connection.
Parameters
command
The application URI, such as rtmps://example.com/live, without the stream name.
arguments
Additional values sent in the RTMP connect command.
Throws
If command is not a valid URI.