@norskvideo/moq-js-player 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -0
- package/dist/moq-player.esm.js +2 -0
- package/dist/moq-player.esm.js.map +1 -0
- package/dist/moq-player.iife.js +2 -0
- package/dist/moq-player.iife.js.map +1 -0
- package/dist/moq-publisher.esm.js +2 -0
- package/dist/moq-publisher.esm.js.map +1 -0
- package/dist/moq-publisher.iife.js +2 -0
- package/dist/moq-publisher.iife.js.map +1 -0
- package/dist/moq-simple-player.esm.js +2 -0
- package/dist/moq-simple-player.esm.js.map +1 -0
- package/dist/moq-simple-player.iife.js +2 -0
- package/dist/moq-simple-player.iife.js.map +1 -0
- package/dist/types/moq-player.d.ts +83 -0
- package/package.json +86 -0
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Media over QUIC
|
|
2
|
+
|
|
3
|
+
Media over QUIC (MoQ) is a live media delivery protocol utilizing QUIC streams.
|
|
4
|
+
See the [Warp draft](https://datatracker.ietf.org/doc/draft-lcurley-warp/).
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
To install dependencies:
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
npm install
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Build
|
|
15
|
+
|
|
16
|
+
To generate the builds:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
npm run build
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Generated builds:
|
|
23
|
+
|
|
24
|
+
- **IIFE:** `dist/moq-player.iife.js` & `dist/moq-simple-player.iife.js` – for direct browser usage via `<script>` tags.
|
|
25
|
+
- **ESM:** `dist/moq-player.esm.js` & `dist/moq-simple-player.esm.js` – for module-based usage in modern bundlers.
|
|
26
|
+
- **Type Definitions:** `dist/types/moq-player.d.ts` – TypeScript declarations for type-safe development.
|
|
27
|
+
|
|
28
|
+
## Develop
|
|
29
|
+
|
|
30
|
+
To start the development build process (with Rollup):
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
npm run dev
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
This builds the library continuously as you make changes.
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
Licensed under either:
|
|
41
|
+
|
|
42
|
+
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
43
|
+
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|