hi! I am new and I speak English not very well. I resolved ptz for my pc540 Victure. Find the port opened on you camera with port scan or other software, then you can open socket communication on this port (I have used c#) and send bytes that RoseGold have shared
Before of all you enabled onvif on your app Home Victure
/ Right
cc dd ee ff 77 4f 00 00 e3 12 69 00 48 00 00 00 00 00 00 00 af 93 c6 3b 09 f7 4b 01 01 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
/ Left
cc dd ee ff 77 4f 00 00 e3 12 69 00 48 00 00 00 00 00 00 00 af 93 c6 3b 09 f7 4b 01 01 00 00 00 00 00 00 00 00 00 00 00 fb ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
/ Down
cc dd ee ff 77 4f 00 00 e3 12 69 00 48 00 00 00 00 00 00 00 af 93 c6 3b 09 f7 4b 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fb ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
/ Up
cc dd ee ff 77 4f 00 00 e3 12 69 00 48 00 00 00 00 00 00 00 af 93 c6 3b 09 f7 4b 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
My Code in c# send turn right on my cam:
namespace TestPC540
{
class Program
{
static void Main(string[] args)
{
try
{
IPAddress ipAddress = IPAddress.Parse("192.168.1.67");
Socket client = new Socket(ipAddress.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
client.Connect(ipAddress, 23456);
byte []messageBytes = { 0xcc, 0xdd, 0xee, 0xff, 0x77, 0x4f, 0x00, 0x00, 0xe3, 0x12, 0x69, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xaf, 0x93, 0xc6, 0x3b, 0x09, 0xf7, 0x4b, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
client.Send(messageBytes, SocketFlags.None);
client.Shutdown(SocketShutdown.Both);
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
}
}
}
Best regards.