Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# audio-video graphics
Hi Andrew,
 
I have written an application which uses DirectShow to read the stream from an Axis camera, which works really well. However, when we switch security on in the camera, when we try to connect we get a login dialog box that pops up. Do you know if there is a way we can pass the login credentials through code so that this does not appear.
 
Regards
 
Jason
Posted 16-May-10 23:29pm
Edited 17-May-10 7:41am
Moak11.4K
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I would suggest that you are more likely to get a valid answer if you ask the question on the Web site of the camera manufacturer.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Axis has an SDK that they call the Media Parser SDK that is a little hard to get... You have to jump through some hoops, but it lets you do that and more. You need to contact Axis to see if they will supply you with the SDK.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Thanks for the two comments above. I want to develop something that is camera agnostic, and therefore using the SDK would not work as they are specific to axis cameras (although they are very good). Axis do provide DirectShow filters as well, although they don’t provide support for them. These work pretty well, but when authentication is switched on in the camera, it pops up the dialog.
  Permalink  
Comments
Henry Minute at 18-May-10 8:14am
   
In that case, it seems to me that you might be banging your head against a brick wall since it is likely that different camera manufacturers would implement their security features in different ways. After all one of the main points about security is er....... security, and if there were a simple way to circumvent it, it would be useless. You might have to have a 'database' of login routines for different manufacturers in order to get round this.
Member 2065437 at 18-May-10 8:28am
   
I appreciate that there is a need for security, and I am not trying to circumvent it, just trying to pass in the login credentials in a programmatic way rahter than having to type it in each time.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 535
1 OriginalGriff 275
2 Shweta N Mishra 244
3 BillWoodruff 235
4 Deepu S Nair 230
0 OriginalGriff 6,168
1 Sergey Alexandrovich Kryukov 5,818
2 DamithSL 4,958
3 Manas Bhardwaj 4,539
4 Maciej Los 3,755


Advertise | Privacy | Mobile
Web03 | 2.8.1411019.1 | Last Updated 18 May 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100