Hi,
Where are you getting the sessionId from? Before using the pauseRecording API, you have to use the getAllActiveSessions to get the sessionId.
You mention the cross origin request failing. I don't believe that mediasense supports CORS.
Thanx,
Denise