ovenlivekit 1.2.0 → 1.4.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 +14 -6
- package/dist/OvenLiveKit.js +3 -3
- package/dist/OvenLiveKit.min.js +1 -1
- package/dist/OvenLiveKit.min.js.map +1 -1
- package/package.json +2 -1
- package/src/OvenLiveKit.js +848 -577
- package/.github/FUNDING.yml +0 -2
- package/assets/05_OvenSpace_230214.png +0 -0
- package/index.html +0 -41
- package/webpack.dev.js +0 -17
- package/webpack.prod.js +0 -18
package/.github/FUNDING.yml
DELETED
|
Binary file
|
package/index.html
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
8
|
-
<title>OvenLiveKit for Web Quick Start</title>
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
<p>Your user device Stream (local)</p>
|
|
13
|
-
<video id="localVideo" controls src="" style="width: 480px; height: 270px;"></video>
|
|
14
|
-
<p>Sending Stream to OvenMediaEngine running at AirenSoft(South Korea)</p>
|
|
15
|
-
|
|
16
|
-
<p>Check playback at
|
|
17
|
-
<a href="https://demo.ovenplayer.com/#sources=%5B%7B%22id%22%3A0%2C%22label%22%3Anull%2C%22file%22%3A%22wss%3A%2F%2Fdev2.airensoft.com%3A3333%2Fovenspace%2Ftest_stream%22%2C%22type%22%3A%22webrtc%22%7D%5D&lowLatency=false&liveDelay=false"
|
|
18
|
-
target="_blank">
|
|
19
|
-
OvenPlayer Demo
|
|
20
|
-
</a>
|
|
21
|
-
</p>
|
|
22
|
-
<script src="https://cdn.jsdelivr.net/npm/ovenlivekit@latest/dist/OvenLiveKit.min.js"></script>
|
|
23
|
-
<script>
|
|
24
|
-
|
|
25
|
-
let ovenLivekit = OvenLiveKit.create();
|
|
26
|
-
|
|
27
|
-
ovenLivekit.attachMedia(document.getElementById('localVideo'));
|
|
28
|
-
|
|
29
|
-
ovenLivekit.getUserMedia({
|
|
30
|
-
audio: true,
|
|
31
|
-
video: true
|
|
32
|
-
}).then(function (stream) {
|
|
33
|
-
|
|
34
|
-
// Or set your OvenMediaEngine's WebRTC Provider URL
|
|
35
|
-
ovenLivekit.startStreaming('wss://dev2.airensoft.com:3333/ovenspace/test_stream?direction=send&transport=tcp')
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
</script>
|
|
39
|
-
</body>
|
|
40
|
-
|
|
41
|
-
</html>
|
package/webpack.dev.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
|
|
3
|
-
const config = [
|
|
4
|
-
{
|
|
5
|
-
mode: 'development',
|
|
6
|
-
entry: "./src/OvenLiveKit.js",
|
|
7
|
-
output: {
|
|
8
|
-
path: path.resolve(__dirname + "/dist"),
|
|
9
|
-
filename: "OvenLiveKit.js",
|
|
10
|
-
library: "OvenLiveKit",
|
|
11
|
-
libraryTarget: "umd",
|
|
12
|
-
libraryExport: "default",
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
];
|
|
16
|
-
|
|
17
|
-
module.exports = config;
|
package/webpack.prod.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
|
|
3
|
-
const config = [
|
|
4
|
-
{
|
|
5
|
-
mode: 'production',
|
|
6
|
-
entry: "./src/OvenLiveKit.js",
|
|
7
|
-
output: {
|
|
8
|
-
path: path.resolve(__dirname + "/dist"),
|
|
9
|
-
filename: "OvenLiveKit.min.js",
|
|
10
|
-
library: "OvenLiveKit",
|
|
11
|
-
libraryTarget: "umd",
|
|
12
|
-
libraryExport: "default",
|
|
13
|
-
},
|
|
14
|
-
devtool: 'source-map',
|
|
15
|
-
}
|
|
16
|
-
];
|
|
17
|
-
|
|
18
|
-
module.exports = config;
|