sendCameraCommand
Queues a remote-control command for a camera. FilmKit never contacts the camera itself: a FilmKit app on set holding a connected link to the camera claims and runs the command. Returns the command, still PENDING unless waitMs allowed time for the outcome. Requires edit access to the project.
Argumente
cameraIdID!ID of the
Camerato control.commandCameraCommandInput!The command to send.
linkIdIDID of the
CameraLinkto use. Omit to let any connected link of the camera run it.projectIdID!ID of the project.
ttlMsIntHow long the command may wait to be claimed, in milliseconds. Defaults to 30000; clamped to between 1000 and 600000.
waitMsIntHow long to wait for the outcome before answering, in milliseconds (at most 20000). Omit or 0 to return at once.
Rückgabe
CameraCommand!Beispiel
mutation SendCameraCommand($cameraId: ID!, $command: CameraCommandInput!, $linkId: ID, $projectId: ID!, $ttlMs: Int, $waitMs: Int) {
sendCameraCommand(
cameraId: $cameraId
command: $command
linkId: $linkId
projectId: $projectId
ttlMs: $ttlMs
waitMs: $waitMs
) {
cameraId
claimedAt
claimedBy
completedAt
error
expiresAt
id
kind
}
}