Cisco Cisco MediaSense Release 9.0(1) Developer's Guide

Page of 136
{
    
: {
"requestParameters"
        
,
"deviceRef"
"1000"
        
: [
"mediaStreams"
            {
                
"mediaType"
"VIDEO"
            },
            {
                
"mediaType"
"AUDIO"
            }
        ]
    }
}
Example 2
To start a blog recording that contains only an audio track on a device with deviceRef 1111:
HTTP POST:
http://10.194.118.1:8440/ora/controlService/control/startRecording 
Headers:
Content-Type: application/json
JSESSIONID: <the jsessionId received from a signIn request>
Body:
{
    
: {
"requestParameters"
        
,
"deviceRef"
"1111"
        
: [
"mediaStreams"
            {
                
"mediaType"
"AUDIO"
            }
        ]
    }
}
stopRecording
stopRecording
Description:
Use this API to stop device recording as soon as your outbound call (initiated by the 
API) is completed.
API URI:
https://<
>:<
>/ora/controlService/control/stopRecording
host
port
Supported Response Format:
JSON
 
77