Recording
START_RECORDING (sourceUrl: string)
Starts recording the web app on the given sourceUrl
huddleClient.startRecording('https://yourapp.com');
STOP_RECORDING
Stops the live-stream on the web app
huddleClient.stopRecording();
Sample Code
<script>
huddleClient.initialize("YOUR_PROJECT_ID")
document.getElementById('startRecording').onclick = () => {
huddleClient.startRecording('https://yourapp.com');
};
document.getElementById('stopRecording').onclick = () => {
huddleClient.stopRecording();
};
</script>