@stormstreaming/stormstreamer 0.9.2-beta.2 → 0.9.3-beta.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.
Files changed (51) hide show
  1. package/README.md +130 -3
  2. package/dist/amd/index.js +2206 -105
  3. package/dist/cjs/index.js +3 -3
  4. package/dist/esm/index.js +3 -3
  5. package/dist/iife/index.js +4 -4
  6. package/dist/types/StormStreamer.d.ts +394 -3
  7. package/dist/types/config/AudioData.d.ts +46 -0
  8. package/dist/types/config/ConfigManager.d.ts +47 -0
  9. package/dist/types/config/DebugData.d.ts +108 -0
  10. package/dist/types/config/IConfig.d.ts +3 -0
  11. package/dist/types/config/SettingsData.d.ts +114 -0
  12. package/dist/types/config/StorageData.d.ts +46 -0
  13. package/dist/types/config/StreamData.d.ts +75 -0
  14. package/dist/types/config/VideoData.d.ts +115 -0
  15. package/dist/types/config/enum/LogType.d.ts +3 -0
  16. package/dist/types/config/enum/ProtocolType.d.ts +3 -0
  17. package/dist/types/config/enum/ScalingType.d.ts +3 -0
  18. package/dist/types/config/enum/SecurityType.d.ts +3 -0
  19. package/dist/types/config/enum/SizeCalculationType.d.ts +3 -0
  20. package/dist/types/events/EventDispatcher.d.ts +34 -0
  21. package/dist/types/graph/MicrophoneGraph.d.ts +11 -0
  22. package/dist/types/logger/Logger.d.ts +103 -0
  23. package/dist/types/model/AbstractSourceItem.d.ts +23 -0
  24. package/dist/types/model/GatewayServerItem.d.ts +53 -0
  25. package/dist/types/model/IServerItem.d.ts +3 -0
  26. package/dist/types/model/ISourceItem.d.ts +3 -0
  27. package/dist/types/model/IStreamItem.d.ts +3 -0
  28. package/dist/types/model/RTMPSourceItem.d.ts +50 -0
  29. package/dist/types/model/RTSPSourceItem.d.ts +50 -0
  30. package/dist/types/model/StormMetaDataItem.d.ts +3 -0
  31. package/dist/types/model/StormServerItem.d.ts +53 -0
  32. package/dist/types/model/StormSourceItem.d.ts +27 -0
  33. package/dist/types/model/StreamInfo.d.ts +46 -0
  34. package/dist/types/network/AbstractSocket.d.ts +94 -0
  35. package/dist/types/network/NetworkController.d.ts +33 -0
  36. package/dist/types/network/WowzaConnection.d.ts +63 -0
  37. package/dist/types/network/WowzaStatusConnection.d.ts +54 -0
  38. package/dist/types/playback/CooldownMonitor.d.ts +17 -0
  39. package/dist/types/playback/StreamerController.d.ts +267 -1
  40. package/dist/types/playback/enum/ConnectionState.d.ts +3 -0
  41. package/dist/types/playback/player/AbstractPlayer.d.ts +23 -0
  42. package/dist/types/playback/task/IPlaybackTask.d.ts +3 -0
  43. package/dist/types/stage/ScreenElement.d.ts +54 -0
  44. package/dist/types/stage/StageController.d.ts +86 -0
  45. package/dist/types/statistics/StatsController.d.ts +8 -0
  46. package/dist/types/storage/StorageManager.d.ts +37 -0
  47. package/dist/types/utilities/DomUtilities.d.ts +7 -0
  48. package/dist/types/utilities/NumberUtilities.d.ts +7 -0
  49. package/dist/types/utilities/UserCapabilities.d.ts +44 -0
  50. package/dist/umd/index.js +4 -4
  51. package/package.json +1 -1
@@ -1,19 +1,63 @@
1
+ /**
2
+ * Class for detecting user device, browser, etc.
3
+ */
1
4
  export declare class UserCapabilities {
5
+ /**
6
+ * Returns true or false depending on availability of WebSockets
7
+ */
2
8
  static hasWebSocketsSupport(): boolean;
9
+ /**
10
+ * Returns true if user is using a mobile browser
11
+ */
3
12
  static isMobile(): boolean;
13
+ /**
14
+ * Returns true if cookies are enabled for this browser/device
15
+ */
4
16
  static isCookieEnabled(): boolean;
17
+ /**
18
+ * Returns an OS Version
19
+ */
5
20
  static getOSVersion(): string;
21
+ /**
22
+ * Returns a browser name
23
+ */
6
24
  static getBrowserName(): string;
25
+ /**
26
+ * Returns a browser version
27
+ */
7
28
  static getBrowserVersion(): number;
29
+ /**
30
+ * Returns a full browser name
31
+ */
8
32
  static getFullBrowser(): {
9
33
  name: string;
10
34
  fullVersion: string;
11
35
  version: number;
12
36
  };
37
+ /**
38
+ * Returns Operating System name
39
+ */
13
40
  static getOS(): string;
41
+ /**
42
+ * Returns true whenever device supports WebRTC
43
+ */
14
44
  static hasWebRTCSupport(): boolean;
45
+ /**
46
+ * Checks whenever player support "out-of-box" HLS (mobile browsers mostly do)
47
+ * @param videoObject html element video
48
+ */
15
49
  static hasHLSSupport(videoObject: HTMLVideoElement | null): boolean;
50
+ /**
51
+ * Returns true or false depending on availability of Media Source Extensions (MSE)
52
+ */
16
53
  static hasMSESupport(): boolean;
54
+ /**
55
+ * Returns true or false depending on availability of Managed Media Source Extensions (MMS).
56
+ * This API is MacOS / iOS only.
57
+ */
17
58
  static hasMMSSupport(): boolean;
59
+ /**
60
+ * Returns true whenever user is connected via HTTPS
61
+ */
18
62
  static isSSL(): boolean;
19
63
  }