|
@ -232,7 +232,7 @@ public class SIPCommander implements ISIPCommander { |
|
|
ptzXml.append("</Info>\r\n"); |
|
|
ptzXml.append("</Info>\r\n"); |
|
|
ptzXml.append("</Control>\r\n"); |
|
|
ptzXml.append("</Control>\r\n"); |
|
|
|
|
|
|
|
|
Request request = headerProvider.createMessageRequest(device, ptzXml.toString(), "ViaPtzBranch", "FromPtzTag", "ToPtzTag"); |
|
|
Request request = headerProvider.createMessageRequest(device, ptzXml.toString(), "ViaPtzBranch", "FromPtzTag", null); |
|
|
|
|
|
|
|
|
transmitRequest(device, request); |
|
|
transmitRequest(device, request); |
|
|
return true; |
|
|
return true; |
|
@ -268,7 +268,7 @@ public class SIPCommander implements ISIPCommander { |
|
|
ptzXml.append("</Info>\r\n"); |
|
|
ptzXml.append("</Info>\r\n"); |
|
|
ptzXml.append("</Control>\r\n"); |
|
|
ptzXml.append("</Control>\r\n"); |
|
|
|
|
|
|
|
|
Request request = headerProvider.createMessageRequest(device, ptzXml.toString(), "ViaPtzBranch", "FromPtzTag", "ToPtzTag"); |
|
|
Request request = headerProvider.createMessageRequest(device, ptzXml.toString(), "ViaPtzBranch", "FromPtzTag", null); |
|
|
transmitRequest(device, request); |
|
|
transmitRequest(device, request); |
|
|
return true; |
|
|
return true; |
|
|
} catch (SipException | ParseException | InvalidArgumentException e) { |
|
|
} catch (SipException | ParseException | InvalidArgumentException e) { |
|
@ -635,7 +635,7 @@ public class SIPCommander implements ISIPCommander { |
|
|
catalogXml.append("<DeviceID>" + device.getDeviceId() + "</DeviceID>\r\n"); |
|
|
catalogXml.append("<DeviceID>" + device.getDeviceId() + "</DeviceID>\r\n"); |
|
|
catalogXml.append("</Query>\r\n"); |
|
|
catalogXml.append("</Query>\r\n"); |
|
|
|
|
|
|
|
|
Request request = headerProvider.createMessageRequest(device, catalogXml.toString(), "ViaDeviceInfoBranch", "FromDeviceInfoTag", "ToDeviceInfoTag"); |
|
|
Request request = headerProvider.createMessageRequest(device, catalogXml.toString(), "ViaDeviceInfoBranch", "FromDeviceInfoTag", null); |
|
|
|
|
|
|
|
|
transmitRequest(device, request); |
|
|
transmitRequest(device, request); |
|
|
|
|
|
|
|
|