clickgo 3.16.6 → 3.16.8

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/README.md CHANGED
@@ -25,7 +25,7 @@ Load the module loader first, and then load it using the module loader.
25
25
  **index.html**
26
26
 
27
27
  ```html
28
- <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.6'}"></script>
28
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.8'}"></script>
29
29
  ```
30
30
 
31
31
  **index.js**
@@ -82,7 +82,7 @@ This library is published under [Apache-2.0](./LICENSE) license.
82
82
 
83
83
  #### Icon
84
84
 
85
- <a href="https://www.flaticon.com/free-icons/identity" title="identity icons">Identity icons created by Ghozi Muhtarom - Flaticon</a>
85
+ <a href="https://www.flaticon.com/free-icons/identity" title="identity icons">Identity icons created by Ghozi Muhtarom - Flaticon</a>
86
86
  <a href="https://www.flaticon.com/free-icons/truck" title="truck icons">Truck icons created by Freepik - Flaticon</a>
87
87
 
88
88
  ### **LICENSE:** MIT License **AUTHOR:** sigurdarson
@@ -146,6 +146,15 @@ This library is published under [Apache-2.0](./LICENSE) license.
146
146
  [Border Radius SVG Vector](https://www.svgrepo.com/svg/446973/border-radius)
147
147
  [Copy SVG Vector](https://www.svgrepo.com/svg/446994/copy)
148
148
 
149
+ #### Mpegts
150
+
151
+ [Play SVG Vector](https://www.svgrepo.com/svg/447035/play)
152
+ [Pause SVG Vector](https://www.svgrepo.com/svg/447033/pause)
153
+ [Border Radius SVG Vector](https://www.svgrepo.com/svg/446973/border-radius)
154
+ [Copy SVG Vector](https://www.svgrepo.com/svg/446994/copy)
155
+ [Speaker 2 SVG Vector](https://www.svgrepo.com/svg/506329/speaker-2)
156
+ [Speaker Cross SVG Vector](https://www.svgrepo.com/show/506328/speaker-cross.svg)
157
+
149
158
  #### Select
150
159
 
151
160
  [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
@@ -47,14 +47,24 @@ class default_1 extends clickgo.form.AbstractForm {
47
47
  },
48
48
  {
49
49
  'label': 'rtsp1',
50
- 'value': 'ws://ocs.brctest.com:8080/camera?_auth=Basic%20dG9rZW46aWVlUk5UUmJybnMyMlJrZA==&lang=sc&shop_uid=j5CJlpt0fAOq2DCo&uid=cASOapX4ftbiuSY0uIhKPFID'
50
+ 'value': 'ws://ocs.brctest.com:8080/camera?_auth=Basic%20dG9rZW46ek1pNFFkZmMyMWxCOG95Ng==&lang=sc&shop_uid=j5CJlpt0fAOq2DCo&uid=cASOapX4ftbiuSY0uIhKPFID&channel=sub'
51
51
  },
52
52
  {
53
53
  'label': 'rtsp2',
54
- 'value': 'ws://ocs.brctest.com:8080/camera?_auth=Basic%20dG9rZW46aWVlUk5UUmJybnMyMlJrZA==&lang=sc&shop_uid=j5CJlpt0fAOq2DCo&uid=jv6Rk0FdCYHGnu02xjKxz9Pe'
54
+ 'value': 'ws://ocs.brctest.com:8080/camera?_auth=Basic%20dG9rZW46ek1pNFFkZmMyMWxCOG95Ng==&lang=sc&shop_uid=j5CJlpt0fAOq2DCo&uid=jv6Rk0FdCYHGnu02xjKxz9Pe&channel=sub',
55
+ 'fval': 'ws://ocs.brctest.com:8080/camera?_auth=Basic%20dG9rZW46ek1pNFFkZmMyMWxCOG95Ng==&lang=sc&shop_uid=j5CJlpt0fAOq2DCo&uid=jv6Rk0FdCYHGnu02xjKxz9Pe&channel=main'
55
56
  }
56
57
  ];
57
58
  this.src = [''];
59
+ this.fsrc = '';
60
+ }
61
+ changed(e) {
62
+ const found = this.list.find(item => item.value === e.detail.value[0]);
63
+ if (found && found.fval) {
64
+ this.fsrc = found.fval;
65
+ return;
66
+ }
67
+ this.fsrc = '';
58
68
  }
59
69
  }
60
70
  exports.default = default_1;
@@ -1,11 +1,11 @@
1
1
  <form width="450" height="500" title="Mpegts" padding="10">
2
2
  <layout direction="v" gutter="10" style="flex: 1;">
3
- <label>volume: {{volume}}</label>
4
- <mpegts :src="src[0]" :controls="controls" v-model:volume="volume" v-model:play="play" text="TEST RTSP" style="flex: 1; height: 0;"></mpegts>
3
+ <label>volume: {{volume}}, fsrc: {{fsrc}}</label>
4
+ <mpegts :src="src[0]" :fsrc="fsrc" :controls="controls" v-model:volume="volume" v-model:play="play" text="TEST RTSP" style="flex: 1; height: 0;"></mpegts>
5
5
  <layout gutter="10">
6
6
  <button @click="controls = !controls" style="flex: 1;">{{controls ? '' : '!'}}controls</button>
7
7
  <button @click="play = !play" style="flex: 1;">{{play ? '' : '!'}}play</button>
8
- <select :data="list" v-model="src" style="flex: 1;"></select>
8
+ <select :data="list" v-model="src" style="flex: 1;" @changed="changed"></select>
9
9
  </layout>
10
10
  </layout>
11
11
  </form>
package/dist/clickgo.js CHANGED
@@ -39,7 +39,7 @@ exports.isNative = isNative;
39
39
  exports.getPlatform = getPlatform;
40
40
  exports.isImmersion = isImmersion;
41
41
  exports.hasFrame = hasFrame;
42
- const version = '3.16.6';
42
+ const version = '3.16.8';
43
43
  function getVersion() {
44
44
  return version;
45
45
  }
package/dist/clickgo.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- const version = '3.16.6';
16
+ const version = '3.16.8';
17
17
  export function getVersion(): string {
18
18
  return version;
19
19
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.16.6",
3
+ "version": "3.16.8",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",