Untitled Document

ONVIF

ONVIF (Open Network Video Interface Forum) is an industry standard that was designed to standardize communication between network devices to ensure interoperability between network products for the security market.

Rogue Stream ONVIF is a C# .NET class library that allows developers to probe a network to discover ONVIF capable devices and their properties. Properties include manufacturer, IP addresses, codecs, video resolution, video stream urls and others.

Requirements:

  • .NET Framework 2.0 or higher

Download version 1.0

Download ONVIF

* Please contact us to get the full version.

How to use it


using Onvif;

namespace Test
{
    public partial class MainWindow : Window
    {
        Discovery disco;
        
        public MainWindow()
        {
            InitializeComponent();
    
            disco = new Discovery();
            disco.DeviceDiscovered += DeviceDiscovered;
            disco.Discover();
        }
            
        void DeviceDiscovered(Device device)
        {
            device.SynchronizeTime();
            DeviceInformation info;
            List listProtocols;
                
            try
            {
                info = device.GetInformation();
                
                listProtocols = device.GetNetworkProtocols();
                
                foreach (Profile profile in device.GetProfiles())
                {
                    MediaUri mediaURI = device.GetStreamURI(profile.token);
                }
            }
            catch (Onvif.Exception e)
            {
            
            }
        }
    }
}
Untitled Document
About Contact
© Rogue Stream