You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
We can use the execllent [`videostream`](https://www.npmjs.com/package/videostream) to stream video from IPFS to the browser. All we need to do is return a [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream)-like object that contains the requested byte ranges.
4
+
5
+
Take a look at [`index.js`](./index.js) to see a working example.
6
+
7
+
## Running the demo
8
+
9
+
In this directory:
10
+
11
+
```
12
+
$ npm install
13
+
$ npm start
14
+
```
15
+
16
+
Then open [http://localhost:8888](http://localhost:8888) in your browser.
0 commit comments