@stormstreaming/stormstreamer 1.0.4 → 1.0.5
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/CHANGELOG.md +4 -0
- package/dist/amd/index.js +33 -17
- package/dist/cjs/index.js +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/iife/index.js +4 -4
- package/dist/types/network/NetworkController.d.ts +4 -2
- package/dist/umd/index.js +4 -4
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ export declare class NetworkController {
|
|
|
30
30
|
* @private
|
|
31
31
|
*/
|
|
32
32
|
private _lastState;
|
|
33
|
+
private _isDestroyed;
|
|
33
34
|
/**
|
|
34
35
|
* Constructor
|
|
35
36
|
* @param main reference to the main class
|
|
@@ -41,13 +42,14 @@ export declare class NetworkController {
|
|
|
41
42
|
private onServerConnect;
|
|
42
43
|
private onServerDisconnect;
|
|
43
44
|
onMessage: (event: MessageEvent) => void;
|
|
44
|
-
sendMessage(message:
|
|
45
|
+
sendMessage(message: string): void;
|
|
45
46
|
/**
|
|
46
47
|
* Returns current SocketConnection object
|
|
47
48
|
*/
|
|
48
|
-
getConnection(): WowzaConnection;
|
|
49
|
+
getConnection(): WowzaConnection | null;
|
|
49
50
|
/**
|
|
50
51
|
* Returns streamKey that is currently being used
|
|
51
52
|
*/
|
|
52
53
|
getCurrentStreamKey(): string;
|
|
54
|
+
destroy(): void;
|
|
53
55
|
}
|