intelliprove-streaming-sdk v1.7.9
About
This is an SDK for the IntelliProve API without the need your own back-end. It streams video content directly to IntelliProve servers and stores it until processing is finished.
Support
This SDK is written in typescript and should work on all in-browser JavaScript front-ends.
For NodeJS we also provide a back-end SDK
Installation
npm add intelliprove-streaming-sdk
Updating
npm update intelliprove-streaming--sdk
Documentation
You can find the full documentation here.
Example usage
import IntelliProveStreamingSDK from "intelliprove-streaming-sdk";
// You need a video HTML element with the a unique id
// For example: the id 'video'
const VIDEO_ELEMENT_ID = "video"
// Your intelliprove token
const ACTION_TOKEN = "";
// Create an instance of our SDK and attach it to the video object with the id provided above
const intelliprove = new IntelliProveSDK(VIDEO_ELEMENT_ID, ACTION_TOKEN);
await intelliprove.attach();
// Assign a callback to handle data when the recording stops or is finished
sdk.stopCallback = async (streamInfo) => {
// Log the stream info
console.log(streamInfo);
// Fetch results from recording
const biomarkers = await intelliprove.getResults();
console.log(biomarkers);
// Detach the video stream from your video element
await intelliprove.detach();
}
// Start the recording with the default settings
sdk.start();
7 days ago
7 days ago
22 days ago
22 days ago
22 days ago
22 days ago
29 days ago
29 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
9 months ago
9 months ago
12 months ago
12 months ago
12 months ago
12 months ago
10 months ago
9 months ago
11 months ago
9 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago