@stinkycomputing/web-live-player 0.1.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 +323 -0
- package/dist/audio/file-audio-player.d.ts +60 -0
- package/dist/audio/live-audio-player.d.ts +64 -0
- package/dist/decoders/decoder-interface.d.ts +63 -0
- package/dist/decoders/wasm-decoder.d.ts +68 -0
- package/dist/decoders/wasm-worker/H264NALDecoder.worker.d.ts +1 -0
- package/dist/decoders/webcodecs-decoder.d.ts +82 -0
- package/dist/index.d.ts +35 -0
- package/dist/player/base-player.d.ts +54 -0
- package/dist/player/base-player.test.d.ts +8 -0
- package/dist/player/file-player.d.ts +200 -0
- package/dist/player/live-player.d.ts +219 -0
- package/dist/protocol/codec-utils.d.ts +25 -0
- package/dist/protocol/sesame-binary-protocol.d.ts +98 -0
- package/dist/scheduling/frame-scheduler.d.ts +122 -0
- package/dist/scheduling/frame-scheduler.test.d.ts +11 -0
- package/dist/sources/mp4-file-source.d.ts +143 -0
- package/dist/sources/standalone-moq-source.d.ts +44 -0
- package/dist/sources/stream-source.d.ts +73 -0
- package/dist/sources/websocket-source.d.ts +120 -0
- package/dist/types.d.ts +58 -0
- package/dist/vitest.config.d.ts +2 -0
- package/dist/web-live-player.cjs +234 -0
- package/dist/web-live-player.mjs +9559 -0
- package/package.json +54 -0
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stinkycomputing/web-live-player",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A framework-agnostic video streaming library with MoQ support",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/web-live-player.cjs",
|
|
7
|
+
"module": "./dist/web-live-player.mjs",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/web-live-player.mjs",
|
|
12
|
+
"require": "./dist/web-live-player.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"src"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "vite build -c vite.config.lib.ts",
|
|
23
|
+
"build:demo": "vite build",
|
|
24
|
+
"preview": "vite preview",
|
|
25
|
+
"typecheck": "tsc --noEmit",
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:watch": "vitest",
|
|
28
|
+
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
29
|
+
"prepublishOnly": "npm run clean && npm run typecheck && npm test && npm run build",
|
|
30
|
+
"publish:npm": "npm publish --access public"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@types/node": "^20.0.0",
|
|
34
|
+
"typescript": "^5.0.0",
|
|
35
|
+
"vite": "^4.4.9",
|
|
36
|
+
"vite-plugin-dts": "^3.0.0",
|
|
37
|
+
"vitest": "^1.0.0"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"mp4box": "^2.3.0",
|
|
41
|
+
"stinky-moq-js": ">=0.1.18",
|
|
42
|
+
"tinyh264": "^0.0.7"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"video",
|
|
46
|
+
"streaming",
|
|
47
|
+
"webcodecs",
|
|
48
|
+
"moq",
|
|
49
|
+
"media-over-quic",
|
|
50
|
+
"live-video"
|
|
51
|
+
],
|
|
52
|
+
"author": "",
|
|
53
|
+
"license": "MIT"
|
|
54
|
+
}
|