@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.
@@ -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: String): void;
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
  }