hawkeye camera support(not tested)

This commit is contained in:
meelstorm
2025-08-19 12:45:50 +02:00
parent f80b275ad8
commit 6ef6aced8d
170 changed files with 20190 additions and 72 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Net;
using System.Net.Sockets;
using Inspectron.HawkEye.RTSP;
namespace Inspectron.HawkEye.Protocol
{
public static class SocketExtensions
{
public static void Listen(this Socket self,IPAddress adapterAddress,int port)
{
self.Bind(new IPEndPoint(adapterAddress,port));
}
public static void SendData(this Socket self, byte[] data)
{
Console.WriteLine("send data");
self.Send(data);
}
}
}