How to send DriverCommand messages to a camera with HTTPS?

Like this example:

public void SendJSON(string jsonBody, string jsonCommand)

{

// object reg = EnvironmentManager.Instance.RegisterReceiver(JSONResponse,

// new MessageIdFilter(MessageId.Control.DriverResponse));

EnvironmentManager.Instance.SendMessage(

new VideoOS.Platform.Messaging.Message(

MessageId.Control.DriverCommand,

new DriverCommandData()

{

Command = jsonCommand,

Parameter = jsonBody,

SyncObject = currentCameraItem

}),

this.currentCameraItem.FQID);

}

This works when the camera allows HTTP, but when I only allow HTTPS I get “ERROR: Empty response from device” from the camera.

I think the driver command should work the same way regardsless if the camera works on HTPP or HTTPS. I will open a support case on this.

What was the driver you were testing with? Camera model?