How to turn off CCTV stream in matrix?

We have difficulties in turning off the CCTV stream in a matrix using Milestone ServerCommandService SOAP protocol.

There is a command to activate the stream using MatrixMonitorActivateCamera(), but the command to deactivate the stream seems unavailable.

Is there any solution to stop the CCTV stream from the matrix monitor? We would like to discontinue the CCTV stream on Milestone matrix when the call is disconnected in the system.

Providing Guid.Empty as the device ID should stop the stream.

Hi, we did change the device ID to Guid.Empty but the stream still doesn’t stop. Is there something missing or any other solution for this?

Logs:

[16:10:05.779] <16660> 1: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>soap:BodyTOKEN#b338332…5ed9f17d-0a91-4559-8887-98b8514cacccGuid.Empty</soap:Body></soap:Envelope>

Sorry, I should have been more clear. Guid.Empty is a .NET property. Its value is

00000000-0000-0000-0000-000000000000

Please use this instead.

Ok thanks Peter, it works.