| PST SDK 6.0.0.0-272350a

SetFramerate

Set the frame rate of the tracker in frames per second.

Endpoint

      POST /PSTapi/SetFramerate HTTP/1.1
      Host: address:port

Framerate Object

Key | Value Type | Description
--- | --- | ---
Framerate | double | Frame per seconds

POST Payload: Request body parameters example

      {"Framerate":30}

Response

Returns a status message.

Verification table

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 <...>"} | This endpoint is not supported by your tracker.
500 | {"message":"TrackerException: <...>"} | An other type of internal error