@osaas/client-transcode 0.14.1 → 0.14.2
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/lib/live.d.ts +2 -2
- package/lib/live.js +2 -2
- package/package.json +2 -2
package/lib/live.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { Context } from '@osaas/client-core';
|
|
|
8
8
|
* @param ctx - Eyevinn OSC context
|
|
9
9
|
* @param name - name of the encoder
|
|
10
10
|
* @param streamKey - optional stream key
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns RTMP and HLS URLs
|
|
12
12
|
*/
|
|
13
13
|
export declare function createLiveMultiBitrateHLS(ctx: Context, name: string, streamKey?: string): Promise<{
|
|
14
14
|
rtmpUrl: URL;
|
|
@@ -21,7 +21,7 @@ export declare function createLiveMultiBitrateHLS(ctx: Context, name: string, st
|
|
|
21
21
|
* @async
|
|
22
22
|
* @param ctx - Eyevinn OSC context
|
|
23
23
|
* @param name - name of the encoder
|
|
24
|
-
* @returns
|
|
24
|
+
* @returns RTMP and HLS URLs
|
|
25
25
|
*/
|
|
26
26
|
export declare function startLiveMultiBitrateHLS(ctx: Context, name: string): Promise<{
|
|
27
27
|
rtmpUrl: URL;
|
package/lib/live.js
CHANGED
|
@@ -11,7 +11,7 @@ const util_1 = require("./util");
|
|
|
11
11
|
* @param ctx - Eyevinn OSC context
|
|
12
12
|
* @param name - name of the encoder
|
|
13
13
|
* @param streamKey - optional stream key
|
|
14
|
-
* @returns
|
|
14
|
+
* @returns RTMP and HLS URLs
|
|
15
15
|
*/
|
|
16
16
|
async function createLiveMultiBitrateHLS(ctx, name, streamKey) {
|
|
17
17
|
const serviceAccessToken = await ctx.getServiceAccessToken('eyevinn-live-encoding');
|
|
@@ -39,7 +39,7 @@ exports.createLiveMultiBitrateHLS = createLiveMultiBitrateHLS;
|
|
|
39
39
|
* @async
|
|
40
40
|
* @param ctx - Eyevinn OSC context
|
|
41
41
|
* @param name - name of the encoder
|
|
42
|
-
* @returns
|
|
42
|
+
* @returns RTMP and HLS URLs
|
|
43
43
|
*/
|
|
44
44
|
async function startLiveMultiBitrateHLS(ctx, name) {
|
|
45
45
|
const serviceAccessToken = await ctx.getServiceAccessToken('eyevinn-live-encoding');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osaas/client-transcode",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "Open Source Cloud Client SDK transcode library",
|
|
5
5
|
"author": "Eyevinn Open Source Cloud <osc@eyevinn.se>",
|
|
6
6
|
"homepage": "https://www.osaas.io",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "8ff7947a478aa3052f23ec886ba7b07439d111ea"
|
|
38
38
|
}
|