This command creates an active recording for specified session and returns its ID. You will use the recording ID in later commands.
Authorizations: All
Note
If you record a multi-source session, you get a multi-stream recording, whereas if you record a session with one source, you get a one-stream recording. The Command Line API is the same in either case; you are always working with a single recording ID.
Note
The Command Line API only records the session intact. For example, you cannot use it to record only two of the sources for a four-source session.
Request
|
|
Parameters
|
Parameter |
Description/Values |
|---|---|
|
sessionId |
The ID of a HMP session. |
Result
Success
|
|
Error
|
Error |
Description |
|---|---|
|
|
Calling |
|
|
The |
|
|
The session with UUID ' |
|
|
An internal error occurred while attempting to write to the disk. Please see |
|
|
The recording could not be started due to an internal error. Please see |
|
|
Not enough disk space on server for creating a recording. |
|
|
The session does not have a source. |
Example
|
|