Remove a Source from a Session
This command removes the specified source from the session.
Authorizations: All
Requests
removeSourceFromSession sessionId sourceId |
Parameters
| Parameter | Description/Values |
|---|---|
| sessionId | The ID of a HMP session. |
| sourceId | The ID of a HMP source. See the Tip in Add a Source to a Session to obtain the source ID. |
Result
Success
OK |
Error
| Error | Description |
|---|---|
ERROR|010003|Expected 2 parameter(s). | Calling removeSourceFromSession requires 2 parameters. |
ERROR|010001|'Y' is not a uuid | The sessionId provided was not a valid UUID. OR The sourceId provided was not a valid UUID. |
ERROR|040006|Session not found | The 'session' with UUID 'sessionId' was not found. |
ERROR|040009|Source not found | The source with UUID 'sourceId' was not found. |
ERROR|060003|Active recording currently | The session is being recorded. All recordings for this session must be stopped before a source can be added. |
ERROR|070000|Internal Server Error | Removing source from session failed. Please see calypso.log for details. |
Example
The following example removes the source from session ID 71edd346-2cf0-4c62- b3d3-9d457b287394. The system returns OK.
removeSourceFromSession 71edd346-2cf0-4c62-b3d3-9d457b287394 b86befc3-7b44-4655-852f-21a77935d110 OK |