View Single Post
  #7  
Old 01-08-2010, 06:14 PM
hyc hyc is offline
RTMPdump team
 
Join Date: Dec 2009
Posts: 169
hyc will become famous soon enoughhyc will become famous soon enough
Default

Re: How to send multiple values in the --auth?


Quote:
Originally Posted by uartt View Post
How to send multiple values in the --auth? If you separate them with commas, spaces or slashes, they are passed incorrectly.
For example you need to pass variables to authenticate with the option --auth:

Code:
flvstreamer - rtmp rtmp://url.com/live_video -- auth login
In the example in the parameter --auth, we send a variable login. As early as
the same parameter (--auth) sends a second variable, password
example?

If you like this video stream is displayed in flash player, it turns out there using the line


Code:
nc.connect("rtmp://url.com/live_video", login, password, any_other_variables);
Please help. The second day of head scrap
The --auth option can only set one value. A new --conn option is available in rtmpdump 2.1c that lets you set arbitrarily many parameters. You must also know the type of the parameter... E.g. for two string parameters, use
--conn S:login --conn S:mypassword
Reply With Quote