Skip to content

Commit

Permalink
fix: use correct command syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welker committed Jul 29, 2024
1 parent cb50875 commit b0202be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/CiscoRoomOsCodec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7131,7 +7131,12 @@ public void SetCameraAssignedSerialNumber(uint cameraId, string serialNumber)

public void SetCameraName(uint videoConnectorId, string name)
{
EnqueueCommand($"xConfiguration Video Input Connector[{videoConnectorId}] Name: {name}");
EnqueueCommand($"xConfiguration Video Input Connector[{videoConnectorId}] Name: \"{name}\"");
}

public void SetInputCameraId(uint videoConnectorId, uint inputCameraId)
{
EnqueueCommand($"xConfiguration Video Input Connector[{videoConnectorId}] CameraControl CameraId: {inputCameraId}");
}

public void SetInputSourceType(uint videoConnectorId, eCiscoCodecInputSourceType sourceType)
Expand Down

0 comments on commit b0202be

Please sign in to comment.