![]() |
PST SDK
5.1.0.0-e242fa9
|
Set the frame rate of the tracker in frames per second.
POST /PSTapi/SetFramerate HTTP/1.1
Host: address:port
| Key | Value Type | Description |
|---|---|---|
| Framerate | double | Frame per seconds |
{"Framerate":30}
Returns a status message.
| Status Code | Content Example | Meaning |
|---|---|---|
| 200 | {"message": "Framerate set successfully"} | Success message |
| 400 | {"message":"JSON_ERROR: <...>"} | an error occurred when parsing a JSON object |
| 400 | {"message":"TrackerException:MSG_NOT_SUPPORTED <...>"} | |
| 500 | {"message":"TrackerException: <...>"} | an other type of internal error |