@molecule/api-video-rooms-livekit 1.0.3 → 1.0.4
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/dist/provider.d.ts.map +1 -1
- package/dist/provider.js +2 -4
- package/package.json +2 -2
package/dist/provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,cAAc,CAAA;AASrB,OAAO,KAAK,EAMV,kBAAkB,EACnB,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EAMV,uBAAuB,EACxB,MAAM,YAAY,CAAA;AAyKnB;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,MAAM,GAAE,uBAA4B,GAAG,kBAAkB,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,cAAc,CAAA;AASrB,OAAO,KAAK,EAMV,kBAAkB,EACnB,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EAMV,uBAAuB,EACxB,MAAM,YAAY,CAAA;AAyKnB;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,MAAM,GAAE,uBAA4B,GAAG,kBAAkB,CAyOvF"}
|
package/dist/provider.js
CHANGED
|
@@ -214,10 +214,8 @@ export function createProvider(config = {}) {
|
|
|
214
214
|
const resolvedApiSecret = apiSecret;
|
|
215
215
|
const { http: httpUrl, ws: wsUrl } = normaliseHost(rawHost);
|
|
216
216
|
const accessTokenCtor = config.accessTokenCtor ?? AccessToken;
|
|
217
|
-
const roomService = config.roomServiceClient ??
|
|
218
|
-
|
|
219
|
-
const egress = config.egressClient ??
|
|
220
|
-
new EgressClient(httpUrl, resolvedApiKey, resolvedApiSecret);
|
|
217
|
+
const roomService = config.roomServiceClient ?? new RoomServiceClient(httpUrl, resolvedApiKey, resolvedApiSecret);
|
|
218
|
+
const egress = config.egressClient ?? new EgressClient(httpUrl, resolvedApiKey, resolvedApiSecret);
|
|
221
219
|
const recordingEgress = config.recordingEgress;
|
|
222
220
|
/**
|
|
223
221
|
* Resolves the configured auto-egress specification for a room, if any.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-video-rooms-livekit",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "LiveKit video rooms provider for molecule.dev",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "LiveKit video rooms provider for molecule.dev. Implements @molecule/api-video-rooms via the LiveKit Server API (Twirp transport) and HS256 JWT meeting tokens via livekit-server-sdk. Self-hostable + LiveKit Cloud.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|