RecordingController
Last updated: 2025/3/7 11:9:0 | ||
Path To | Name | Description/Function |
/api/recording | /duration | Gets the curernt recording duration. |
/api/recording | /bitrate | Get recording bitrate (for parity with v3). |
/api/recording | /configs/get | Get recording configs/settings. |
/api/recording | /encoder | Get recording encoder (for parity with v3). |
/api/recording | /framerate | Get recording framerate (for parity with v3). |
/api/recording | /isrecording | Gets if recording is in progress. |
/api/recording | /pathtemplate | Gets the path template set for recording. |
/api/recording | /resolution | Get recording resolution (for parity with v3). |
/api/recording | /bitrate/{bitrate} | Set recording bitrate (for parity with v3). |
/api/recording | /directorytemplate | Gets the directory name. |
/api/recording | /directorytemplate/{template} | Get the path template. |
/api/recording | /encoder/{encoder} | Set recording encoder (for parity with v3). |
/api/recording | /filenametemplate | Gets the file name. |
/api/recording | /filenametemplate/{template} | Get the path template. |
/api/recording | /pathtemplate | Sets the path template for saaving Videos. |
/api/recording | /preset/{preset} | Set recording preset (for parity with v3). |
/api/recording | /startwithfeedback | Start recording. (returns if the storage is full or not). |
/api/recording | /start | Start recording. |
/api/recording | /stop | Stop recording. |
/api/recording | /configs/update | Update the recording settings. |
/duration
Function | Gets the curernt recording duration. |
---|---|
Method | Get |
Response | Recording timer. |
Example |
CODE
|
/bitrate
Function | Get recording bitrate (for parity with v3). |
---|---|
Method | Get |
Response | The recording bitrate. |
Example |
CODE
|
/configs/get
Function | Get recording configs/settings. |
---|---|
Method | Get |
Response | Dict of recording configs and their values. |
Example |
CODE
|
/encoder
Function | Get recording encoder (for parity with v3). |
---|---|
Method | Get |
Response | The recording encoder. |
Example |
CODE
|
/framerate
Function | Get recording framerate (for parity with v3). |
---|---|
Method | Get |
Response | The recording framerate. |
Example |
CODE
|
/isrecording
Function | Gets if recording is in progress. |
---|---|
Method | Get |
Response | true or false. |
Example |
CODE
|
/pathtemplate
Function | Gets the path template set for recording. |
---|---|
Method | Get |
Response | path in string. |
Example |
CODE
|
/resolution
Function | Get recording resolution (for parity with v3). |
---|---|
Method | Get |
Response | The recording resolution. |
Example |
CODE
|
/bitrate/{bitrate}
Function | Set recording bitrate (for parity with v3). |
---|---|
Method | Get |
Response | Either UHD30 or FHD30. |
Example |
CODE
|
/directorytemplate
Function | Gets the directory name. |
---|---|
Method | Get |
Response | Directory template. |
Example |
CODE
|
/directorytemplate/{template}
Function | Get the path template. |
---|---|
Method | Get |
Response | The template. |
Example |
CODE
|
/encoder/{encoder}
Function | Set recording encoder (for parity with v3). |
---|---|
Method | Get |
Response | Either UHD30 or FHD30. |
Example |
CODE
|
/filenametemplate
Function | Gets the file name. |
---|---|
Method | Get |
Response | Filename template. |
Example |
CODE
|
/filenametemplate/{template}
Function | Get the path template. |
---|---|
Method | Get |
Response | The template. |
Example |
CODE
|
/pathtemplate
Function | Sets the path template for saaving Videos. |
---|---|
Method | Post |
Body |
CODE
|
Response | A representing the asynchronous operation. |
Explanation | The filename formatting, see the available formats below:
|
Example | Example 1
CODE
Output
CODE
|
/preset/{preset}
Function | Set recording preset (for parity with v3). |
---|---|
Method | Get |
Response | Either UHD30 or FHD30. |
Example |
CODE
|
/startwithfeedback
Function | Start recording. (returns if the storage is full or not). |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/start
Function | Start recording. |
---|---|
Method | Get |
Response | A representing the asynchronous operation. |
Example |
CODE
|
/stop
Function | Stop recording. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/configs/update
Function | Update the recording settings. |
---|---|
Method | Post |
Body |
CODE
|
Response | A representing the asynchronous operation. |
Explanation | Sets any of the above properties for recording. VideoCodec can be either H264 or H265, Framerate can be between 1 and 60, Bitrate can be between 1 and 100, Resolution must be a standard resolution between SD and 4K. |
Example |
CODE
|