@livedigital/client 2.4.0-beta.2 → 2.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 +1 -2
- package/dist/engine/index.d.ts +0 -4
- package/dist/engine/network/Socket.d.ts +0 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/engine/index.ts +13 -56
- package/src/engine/network/Socket.ts +4 -10
- package/dist/helpers/datetime.d.ts +0 -5
- package/dist/helpers/retry.d.ts +0 -10
- package/src/helpers/datetime.ts +0 -13
- package/src/helpers/retry.ts +0 -50
package/README.md
CHANGED
|
@@ -30,8 +30,7 @@ There are three log severities:
|
|
|
30
30
|
All the logs generated by LiveDigital client have a namespace starting with “LiveDigital” plus colon, followed by the log severity in upper case plus colon (just if “warn” or “error”), and followed by the internal component name (if any) and the log message.
|
|
31
31
|
|
|
32
32
|
### Enable Logging
|
|
33
|
-
By default
|
|
34
|
-
localStorage must be set.
|
|
33
|
+
By default logging is turned off. In order to enable it, the debug key in the browser's localStorage must be set.
|
|
35
34
|
>Check the [debug](https://www.npmjs.com/package/debug) module documentation for further information regarding how to filter specific log messages based on namespace matching rules.
|
|
36
35
|
|
|
37
36
|
### Example
|
package/dist/engine/index.d.ts
CHANGED
|
@@ -46,13 +46,9 @@ declare class Engine {
|
|
|
46
46
|
deleteTrack(tracks: Track): void;
|
|
47
47
|
get channelId(): string | undefined;
|
|
48
48
|
get appId(): string | undefined;
|
|
49
|
-
private connectToSocketServerWithRetry;
|
|
50
|
-
private connectToSocketServer;
|
|
51
49
|
private getAvailableNode;
|
|
52
50
|
private waitForSocketConnection;
|
|
53
51
|
private performJoin;
|
|
54
|
-
private sendJoinChannelRequestWithRetry;
|
|
55
|
-
private sendJoinChannelRequest;
|
|
56
52
|
get cahPublish(): boolean;
|
|
57
53
|
}
|
|
58
54
|
export default Engine;
|