ovenplayer 0.10.2 → 0.10.3-3.alpha-2

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 (49) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +39 -46
  3. package/dist/ovenplayer.js +1 -1
  4. package/dist/ovenplayer.js.map +1 -1
  5. package/package.json +1 -1
  6. package/src/assets/fonts/seek-icons.svg +13 -13
  7. package/src/js/api/Api.js +231 -140
  8. package/src/js/api/Configurator.js +6 -3
  9. package/src/js/api/SupportChecker.js +9 -3
  10. package/src/js/api/constants.js +203 -15
  11. package/src/js/api/media/Manager.js +15 -106
  12. package/src/js/api/provider/Controller.js +5 -6
  13. package/src/js/api/provider/html5/Provider.js +107 -86
  14. package/src/js/api/provider/html5/providers/Dash.js +39 -110
  15. package/src/js/api/provider/html5/providers/Hls.js +139 -99
  16. package/src/js/api/provider/html5/providers/Html5.js +3 -1
  17. package/src/js/api/provider/html5/providers/WebRTC.js +207 -37
  18. package/src/js/api/provider/html5/providers/WebRTCLoader.js +247 -116
  19. package/src/js/ovenplayer.js +5 -9
  20. package/src/js/ovenplayer.sdk.js +5 -6
  21. package/src/js/utils/browser.js +6 -1
  22. package/src/js/utils/getTouchSection.js +23 -0
  23. package/src/js/utils/likeA$.js +4 -3
  24. package/src/js/utils/resize-sensor.js +168 -1
  25. package/src/js/utils/underscore.js +5 -5
  26. package/src/js/view/components/controls/fullScreenButton.js +22 -15
  27. package/src/js/view/components/controls/main.js +33 -20
  28. package/src/js/view/components/controls/playlistPanel.js +1 -1
  29. package/src/js/view/components/controls/progressBar.js +151 -76
  30. package/src/js/view/components/controls/settingButton.js +65 -48
  31. package/src/js/view/components/controls/settingPanel/audioTrackPanel.js +57 -0
  32. package/src/js/view/components/controls/settingPanel/captionPanel.js +1 -1
  33. package/src/js/view/components/controls/settingPanel/main.js +110 -80
  34. package/src/js/view/components/controls/settingPanel/qualityPanel.js +2 -2
  35. package/src/js/view/components/controls/settingPanel/sourcePanel.js +1 -1
  36. package/src/js/view/components/controls/settingPanel/speedPanel.js +1 -1
  37. package/src/js/view/components/controls/settingPanel/timeDisplayPanel.js +1 -1
  38. package/src/js/view/components/controls/timeDisplay.js +95 -23
  39. package/src/js/view/components/controls/timeDisplayTemplate.js +1 -1
  40. package/src/js/view/components/controls/volumeButton.js +2 -3
  41. package/src/js/view/components/helpers/captionViewer.js +1 -1
  42. package/src/js/view/components/helpers/contextPanel.js +1 -1
  43. package/src/js/view/components/helpers/contextPanelTemplate.js +1 -1
  44. package/src/js/view/components/helpers/main.js +21 -0
  45. package/src/js/view/components/helpers/thumbnailTemplate.js +0 -1
  46. package/src/js/view/engine/Templates.js +2 -0
  47. package/src/js/view/view.js +53 -14
  48. package/src/js/view/viewTemplate.js +8 -8
  49. package/src/stylesheet/ovenplayer.less +565 -308
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2021 AirenSoft Co., Ltd.
1
+ Copyright (c) 2022 AirenSoft Co., Ltd.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,56 +1,42 @@
1
- # "HTML5 player for OvenMediaEngine" OvenPlayer
2
-
1
+ # OvenPlayer
3
2
 
4
3
  ## What is OvenPlayer?
4
+ <img src="demo/assets/images/OP_LLHLS_220610.svg" style="max-width: 100%; height: auto;">
5
5
 
6
- In short, OvenPlayer is <b>Open-Source HTML5 Player</b>.
7
-
8
- OvenPlayer supports WebRTC Signaling from OvenMediaEngine for Sub-Second Latency Streaming. And, it automatically plays and fallbacks using <b>WebRTC</b>, <b>Low Latency MPEG-DASH</b> (LLDASH), <b>MPEG-DASH</b>, <b>HLS</b>, and <b>RTMP</b>.
9
-
10
- See the picture below:
11
- <img src="docs/assets/images/01_OvenPlayer_210512.png" style="max-width: 100%; height: auto;">
6
+ OvenPlayer is a JavaScript-based Player that can play Low Latency HLS (LLHLS) and WebRTC streams optimized for [OvenMediaEngine](https://github.com/AirenSoft/OvenMediaEngine). It provides various APIs, so you can build and operate your media service more easily.
12
7
 
13
- We also provide [OvenMediaEngine](https://github.com/AirenSoft/OvenMediaEngine), Open-Source Sub-Second Latency Streaming Server.
14
-
15
-
16
- ## What is the goal of this project?
17
-
18
- AirenSoft aims to make it easier for you to build a stable broadcasting/streaming service with Sub-Second Latency.
19
- Therefore, we will continue developing and providing the most optimized tools for smooth Sub-Second Latency Streaming.
20
-
21
- Would you mind clicking on each link below for details:
22
- * ["Live Streaming Encoder for Mobile" <b>OvenLiveKit SDK](https://www.airensoft.com/olk)</b>
23
- * ["Sub-Second Latency Streaming Server" <b>OvenMediaEngine](https://www.ovenmediaengine.com/ome)</b>
24
- * ["HTML5 Player" <b>OvenPlayer](https://www.ovenmediaengine.com/ovenplayer)</b>
8
+ ## Demo
9
+ <img src="demo/assets/images/05_OvenSpace_230214.png" style="max-width: 100%; height: auto;">
25
10
 
11
+ OvenSpace is a sub-second latency streaming demo service using [OvenMediaEngine](https://github.com/AirenSoft/OvenMediaEngine), [OvenPlayer](https://github.com/AirenSoft/OvenPlayer) and [OvenLiveKit](https://github.com/AirenSoft/OvenLiveKit-Web). You can experience OvenPlayer in the **[OvenSpace Demo](https://space.ovenplayer.com/)** and see examples of applying in [OvenSpace Repository](https://github.com/AirenSoft/OvenSpace).
26
12
 
27
13
  ## Features
28
-
29
- * HTML5 Standard Player
30
- * Streaming Playback with Various Protocols
14
+ * HTML5 Standard Video Player
15
+ * Live Streaming with Various Protocols
31
16
  * Sub-Second Latency: WebRTC (Signalling Protocol Conforms to the OME Specification)
32
- * Low Latency: MPEG-DASH (Chunked CMAF)
33
- * Legacy: MPEG-DASH, HLS
34
- * Automatic Fallback
17
+ * Low Latency: LLHLS, LLDASH (Chunked CMAF)
18
+ * Legacy: HLS, MPEG-DASH
19
+ * Automatic Fallback Streaming
35
20
  * Fully Customizable UI and SDK
36
- * Insert ADs with Various Formats
21
+ * Insert ADs with Various Formats<
37
22
  * VAST4, VAST3, VAST2, VPAID2 (HTML5), VMAP1.0.1
38
23
  * Support Multiple Subtitle Formats
39
24
  * SMI, VTT, SRT
40
25
 
41
-
42
26
  ## Quick Start
43
-
44
27
  Please read the [Quick Start](https://airensoft.gitbook.io/ovenplayer/#quick-start).
45
28
 
29
+ ### OvenPlayer Demo
30
+ * Without TLS: http://demo.ovenplayer.com
31
+ * With TLS: https://demo.ovenplayer.com
46
32
 
47
33
  ## API and Configuration
34
+ Start the [Demo](https://demo.ovenplayer.com) and see [API and Configuration](https://airensoft.gitbook.io/ovenplayer/initialization) for more details.
48
35
 
49
- Start the [Demo](https://airensoft.github.io/OvenPlayer/docs/demo.html) and see [API and Configuration](docs/api.md) for more details.
50
-
36
+ ## Build the source code
37
+ Check out [Build](https://airensoft.gitbook.io/ovenplayer/builds) section how to create `ovenplayer.js` for deployment or development after modifying the source code.
51
38
 
52
39
  ## How to contribute
53
-
54
40
  We appreciate your interest in OvenPlayer.
55
41
 
56
42
  We need your help to keep and develop our open-source project, and we want to tell you that you can contribute in many ways. Please read our [Guidelines](CONTRIBUTING.md), [Rules](CODE_OF_CONDUCT.md), and [Contribute](https://www.ovenmediaengine.com/contribute).
@@ -66,20 +52,27 @@ We need your help to keep and develop our open-source project, and we want to te
66
52
  We always hope that OvenPlayer will make your project a success.
67
53
 
68
54
  ## For more information
69
-
70
- * [OvenPlayer Website](https://www.ovenmediaengine.com/ovenplayer)
71
- * Basic Information about OvenPlayer
72
- * [OvenPlayer Tutorial](https://airensoft.gitbook.io/ovenplayer/)
73
- * Quick Start, API Reference, and Examples
74
- * Test Player
75
- * `Without TLS`: [http://demo.ovenplayer.com](http://demo.ovenplayer.com)
76
- * `With TLS`: [https://demo.ovenplayer.com](https://demo.ovenplayer.com)
77
- * [OvenMediaEngine Github](https://github.com/AirenSoft/OvenMediaEngine)
78
- * Sub-Second Latency Streaming Server
79
- * [AirenSoft Website](https://www.airensoft.com/)
80
- * AirenSoft's Solutions/Services, and Blog (Tech Journal)
81
-
55
+ * [AirenSoft Website](https://airensoft.com)
56
+ * About OvenMediaEngine, OvenMediaEngine Enterprise, OvenVideo, AirenBlog and more
57
+ * [OvenPlayer Getting Started](https://airensoft.gitbook.io/ovenplayer)
58
+ * User guide for OvenPlayer UI Customize, API Reference, Examples, and more
59
+ * [OvenMediaEngine GitHub](https://github.com/AirenSoft/OvenMediaEngine)
60
+ * Sub-Second Latency Streaming Server with LLHLS and WebRTC
61
+ * [OvenMediaEngine Getting Started](https://airensoft.gitbook.io/ovenmediaengine/)
62
+ * User guide for OvenMediaEngine Configuration, ABR, Clustering, and more
63
+ * [OvenLiveKit](https://github.com/AirenSoft/OvenLiveKit-Web)
64
+ * JavaScript-based Live Streaming Encoder for OvenMediaEngine
65
+ * [OvenSpace Demo](https://space.ovenplayer.com/)
66
+ * Sub-Second Latency Streaming Demo Service
82
67
 
83
68
  ## License
84
-
85
69
  OvenPlayer is licensed under the [MIT license](LICENSE).
70
+
71
+ ## About AirenSoft
72
+ AirenSoft aims to make it easier for you to build a stable broadcasting/streaming service with Sub-Second Latency.
73
+ Therefore, we will continue developing and providing the most optimized tools for smooth Sub-Second Latency Streaming.
74
+
75
+ Would you please click on each link below for details:
76
+ * ["JavaScript-based Live Streaming Encdoer" **OvenLiveKit**](https://github.com/AirenSoft/OvenLiveKit-Web)
77
+ * ["Sub-Second Latency Streaming Server with LLHLS and WebRTC" **OvenMediaEngine**](https://github.com/AirenSoft/OvenMediaEngine)
78
+ * ["JavaScript-based Player with LLHLS and WebRTC" **OvenPlayer**](https://github.com/AirenSoft/OvenPlayer)