Build Webcam and IP camera solutions efficiently in C#.Net
- Download the SDK
- Copy the C# code example into Visual Studio
- Build your IP Camera project
Did you know?This SDK was used to build:
Ozeki Phone System XE - VoIP PBX Software for Developers Which is a high performance PBX system supporting Mobile and Desktop phones.
It was also used to create Ozeki 3D VoIP softphone. A cool SIP client that allows 3D Video calls.
C# Onvif IP Camera Viewer Git repository management
You have the opportunity to get the source code of Onvif IP Camera Viewer application from online project manager sites like GitHub, BitBucket, CodePlex, Google Code, GitLab and CodeBase. These sites have the ability to manage versions of projects with online git based repositories. You can find and fork (or simply download) the latest version of Ozeki's Onvif IP Camera Manager application because these repositories updated every time when a new version of Ozeki's Camera SDK is released. With this option you can easily clone this remote repository to your local repository which is very useful when you would like to use this application to your own project.
Prerequisites to download and use the application
- Visual Studio 2010 or newer
- .NET Framework 4
- Git installed on your local PC is recommended
- An USB, RTSP or Onvif Camera to connect with
How to get Onvif IP Camera Viewer from GitHub
If your goal is only to get and check the source file of the applicaton or see a complex example of the usage of Ozeki's Camera SDK, you can reach the repository of the project on this link where you can find a short description and the source file of the application. If you would like to try the Onvif IP Camera Viewer app you need to get the .dll file including the SDK first. Open the solution file with Visual Studio and add the .dll file to the references. After these steps you are able to run the app or modify it according to your needs.
Figure 1 - Download project from GitHub
The other way to get the files of the repository is forking the repo. A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea.
Figure 2 - Fork repository on GitHub
If you logged in with your GitHub account you are able to fork this repository into your GitHub repo. Search for the "Onvif-IP-Camera-Viewer" in search bar to find the latest version of the repository. If you found it then hit the Fork button.
Figure 3 - Forking the repository
After the successful forking you will have the same project in your own repository which can be managed by yourself or by your colleagues too.
Figure 4 - Your new forked repository
As it was mentioned before the Onvif IP Camera Viewer can be found in many online repositories. You can find it on BitBucket
Figure 5 - Bitbucket download and repo fork
Figure 6 - CodePlex download and repo fork
Figure 7 - Google Code project download
Figure 8 - GitLab project download
DISCLAIMER: Please note that the following features will only work if your IP camera supports the given function. You should check the user manual of your IP camera to make sure it supports the feature that you wish to implement in C#.
Below you can find the answers for the most frequently asked questions related to this topic:
How can I get the URL of the camera?
You can get the URL from the producer of the camera. (In the 10th tutorial you can find information on how to create an own IP camera discoverer program.)
I have not managed to build the solution. How to solve it?
- Please set the Target framework property of the project to .NET 4.0.
- You should add the OzekiSDK.dll to the references of the solution.
- Please import the missing classes.
Why can not I zoom?
Some cameras does not support it.
Why is the camera moving, when I am not using it?
It is possible that someone else is also using the camera.
Why cannot I turn the camera in bigger angle than the current?
Because all camera have a limit in rotation.