ros-drivers / axis_camera

Contains basic Python drivers for accessing an Axis camera's MJPG stream. Also provides control for PTZ cameras.
BSD 3-Clause "New" or "Revised" License
52 stars 74 forks source link

Provide username and password automatically, when available #3

Closed jack-oquin closed 11 years ago

jack-oquin commented 11 years ago

The current driver always prompts for the username and password, even when they were specified as parameters.

I think that is happening under the covers inside urllib.urlopen(). There seem to be ways to provide the authentication information automatically, either by overloading the prompt_user_passwd() method, or by migrating to urllib2.

jack-oquin commented 11 years ago

This was fixed in the urllib2 commit.