cmd-control-client-lib 3.0.288 → 3.0.291

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.
@@ -0,0 +1,11 @@
1
+ export declare enum EnumPlayerFormat {
2
+ H5LIVE = "h5live",
3
+ JPEG = "jpeg",
4
+ MJPEG = "mjpeg",
5
+ HLS = "hls",
6
+ RTMP = "rtmp",
7
+ WEBRTC = "webrtc",
8
+ MP3 = "mp3",
9
+ VORBIS = "vorbis",
10
+ VIDEOSDK = "videosdk"
11
+ }
@@ -4,6 +4,7 @@ export * from "./enum-boolean-stringified-extended";
4
4
  export * from "./enum-status-type";
5
5
  export * from "./enum-channel-flags";
6
6
  export * from "./enum-currency";
7
+ export * from "./enum-player-format";
7
8
  export * from "./iemoji";
8
9
  export * from "./ireaction";
9
10
  export * from "./icurrency-description";
@@ -22,6 +22,7 @@ export declare class ConnectionConfig {
22
22
  commandHandler: (response: cmdcontrol.IRESPONSE) => any;
23
23
  logger: Logger;
24
24
  webtoken: string;
25
+ clientID?: string;
25
26
  jsonp: boolean;
26
27
  firstConnectionRetryInterval: number;
27
28
  connectionRetryInterval: number;
@@ -54,6 +55,7 @@ export declare class CmdConnection {
54
55
  private _queue;
55
56
  private readonly _jumpTable;
56
57
  private _sessionID;
58
+ private _clientID;
57
59
  private _logPrefix;
58
60
  constructor(settings: ConnectionConfig);
59
61
  connect(): void;
@@ -76,9 +78,13 @@ export declare class CmdConnection {
76
78
  private _sendNoop;
77
79
  private _processCommand;
78
80
  private _processCmpdInit;
81
+ private _processCmdpCInit;
79
82
  private _processCmdpLogin;
80
83
  private _processCmdpNoop;
84
+ private _processCmdpCLogout;
81
85
  private _processCmdcDsReload;
82
86
  private _markAllQueueEntriesAsQueued;
83
87
  get isOpened(): boolean;
88
+ private get _hasSessionId();
89
+ private get _hasClientId();
84
90
  }