@oxiaom/adoremix-linux-arm 1.0.0 → 1.0.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 (45) hide show
  1. package/native/etc/docroot/bangzhu/css/app.css +5 -5
  2. package/native/etc/docroot/bangzhu/css/feedback.css +7 -7
  3. package/native/etc/docroot/bangzhu/css/mui.dtpicker.css +1 -1
  4. package/native/etc/docroot/bangzhu/css/mui.picker.all.css +4 -4
  5. package/native/etc/docroot/bangzhu/css/mui.picker.min.css +6 -6
  6. package/native/etc/docroot/bangzhu/css/mui.poppicker.css +3 -3
  7. package/native/etc/docroot/bangzhu/examples/actionsheet-plus.html +20 -20
  8. package/native/etc/docroot/bangzhu/examples/actionsheet.html +6 -6
  9. package/native/etc/docroot/bangzhu/examples/best-practices/list-to-detail/detail.html +3 -3
  10. package/native/etc/docroot/bangzhu/examples/card.html +24 -24
  11. package/native/etc/docroot/bangzhu/examples/im-chat.html +5 -5
  12. package/native/etc/docroot/bangzhu/examples/media-list.html +49 -49
  13. package/native/etc/docroot/bangzhu/examples/message-bottom.html +2 -2
  14. package/native/etc/docroot/bangzhu/examples/offcanvas-drag-left-plus-main.html +13 -13
  15. package/native/etc/docroot/bangzhu/examples/picker.html +2 -2
  16. package/native/etc/docroot/bangzhu/examples/popovers.html +12 -12
  17. package/native/etc/docroot/bangzhu/examples/pullrefresh_sub.html +11 -11
  18. package/native/etc/docroot/bangzhu/examples/slider-default.html +18 -18
  19. package/native/etc/docroot/bangzhu/examples/tab-webview-subpage-setting.html +3 -3
  20. package/native/etc/docroot/bangzhu/index.html +413 -413
  21. package/native/etc/docroot/bangzhu/js/mui.picker.min.js +6 -6
  22. package/native/etc/docroot/bangzhu/manifest.json +993 -993
  23. package/native/etc/docroot/luyin2/index.html +144 -144
  24. package/native/etc/docroot/luyin2/js/jquery-1.10.1.min.js +5 -5
  25. package/native/etc/docroot/luyin2/js/lame.min.js +307 -307
  26. package/native/etc/docroot/luyin2/js/recordmp3.js +239 -239
  27. package/native/etc/docroot/luyin2/js/worker-realtime.js +105 -105
  28. package/native/etc/docroot/luyin2//346/223/215/344/275/234/346/214/207/345/215/227.txt +2 -2
  29. package/native/etc/docroot/static/css/app.8421a6d597ba48619941ccd4e386fbb2.css +332 -332
  30. package/native/etc/docroot/tts.js +150 -150
  31. package/native/etc/docroot/xcx/devicelist.html +658 -658
  32. package/native/etc/docroot/xcx/index.html +74 -74
  33. package/native/etc/docroot/xcx/main.html +84 -84
  34. package/native/etc/ttys/adore03.sql +426 -426
  35. package/native/etc/ttys/adore04.sql +426 -426
  36. package/native/etc/ttys/adore1.sql +859 -859
  37. package/native/etc/ttys/adore_mix22.sql +806 -806
  38. package/native/etc/ttys/sqlite.sql +1140 -1140
  39. package/native/etc/ttys/sqlite3main.sql +434 -434
  40. package/native/etc/ttys/sqltest.sql +279 -279
  41. package/native/etc/ttys/tp3sql.sql +1412 -1412
  42. package/native/find.js +523 -523
  43. package/native/findsc.js +695 -695
  44. package/native/tts.js +150 -150
  45. package/package.json +1 -1
@@ -1,145 +1,145 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
- <title>Html5网页JavaScript录制MP3音频</title>
6
- <meta charset="utf-8" />
7
- <link href="favicon.ico" rel="shortcut icon">
8
- </head>
9
- <body>
10
- <h1>Html5网页JavaScript录制MP3音频</h1>
11
- <button onclick="funStart(this);" id="btnStart" disabled>录制</button>
12
- <button onclick="funStop(this);" id="btnStop" disabled>停止</button>
13
- <button onclick="funOntime(this);" id="btnOntime" disabled>开启广播</button>
14
- <button onclick="funOnStop(this);" id="btnOnStop" disabled>关闭广播</button>
15
- <button onclick="funMp3(this);" id="btnMp3" disabled>歌曲播放</button>
16
- <button onclick="funUpload(this);" id="btnUpload" disabled>上传</button>
17
- <h4>调试信息:</h4>
18
- <div id="recordingslist"></div>
19
- <script src="js/recordmp3.js"></script>
20
- <script src="js/jquery-1.10.1.min.js"></script>
21
- <script>
22
- var ws;
23
- var recorder = new MP3Recorder({
24
- debug:true,
25
- funOk: function () {
26
- btnStart.disabled = false;
27
- btnOntime.disabled = false;
28
- btnMp3.disabled = false;
29
- log('初始化成功');
30
- },
31
- funCancel: function (msg) {
32
- log(msg);
33
- recorder = null;
34
- }
35
- });
36
- var mp3Blob;
37
-
38
-
39
- function funStart(button) {
40
- btnStart.disabled = true;
41
- btnStop.disabled = false;
42
- btnUpload.disabled = true;
43
- btnOntime.disabled = true;
44
- btnOnStop.disabled = true;
45
- log('录音开始...');
46
- recorder.start();
47
- }
48
-
49
- function funStop(button) {
50
- recorder.stop();
51
- btnStart.disabled = false;
52
- btnStop.disabled = true;
53
- btnUpload.disabled = false;
54
- btnOntime.disabled = false;
55
- btnOnStop.disabled = true;
56
- log('录音结束,MP3导出中...');
57
- recorder.getMp3Blob(function (blob) {
58
- log('MP3导出成功');
59
- // console.log(blod)
60
- mp3Blob = blob;
61
- var url = URL.createObjectURL(mp3Blob);
62
- var div = document.createElement('div');
63
- var au = document.createElement('audio');
64
- var hf = document.createElement('a');
65
-
66
- au.controls = true;
67
- au.src = url;
68
- hf.href = url;
69
- hf.download = new Date().toISOString() + '.mp3';
70
- hf.innerHTML = hf.download;
71
- div.appendChild(au);
72
- div.appendChild(hf);
73
- recordingslist.appendChild(div);
74
- });
75
- }
76
-
77
- function log(str) {
78
- recordingslist.innerHTML += str + '<br/>';
79
- }
80
-
81
- function funUpload() {
82
- var fd = new FormData();
83
- var mp3Name = encodeURIComponent('audio_recording_' + new Date().getTime() + '.mp3');
84
- fd.append('mp3Name', mp3Name);
85
- fd.append('file', mp3Blob);
86
-
87
- var xhr = new XMLHttpRequest();
88
- xhr.onreadystatechange = function () {
89
- if (xhr.readyState == 4 && xhr.status == 200) {
90
- recordingslist.innerHTML += '上传成功:<a href="' + xhr.responseText + '" target="_blank">' + mp3Name + '</a>';
91
- }
92
- };
93
-
94
- xhr.open('POST', 'upload.ashx');
95
- xhr.send(fd);
96
- }
97
-
98
- function funOntime(){
99
- var mp3Blob;
100
- btnStart.disabled = true;
101
- btnStop.disabled = true;
102
- btnUpload.disabled = true;
103
- btnOntime.disabled = true;
104
- btnOnStop.disabled = false;
105
- log('开启广播...');
106
- ws = new WebSocket('ws://xxx.xxx.xxx.xxx:23202/'); // 这里填写Avadore 服务器的IP地址 和 ws 端口号 对应的 websocket 服务信息
107
- setTimeout("test()","1000");
108
- }
109
- function funOnStop(){
110
- recorder.Onstop();
111
- btnStart.disabled = false;
112
- btnStop.disabled = true;
113
- btnUpload.disabled = true;
114
- btnOntime.disabled = false;
115
- btnOnStop.disabled = true;
116
- log('关闭广播...');
117
- // ws.send('CLOSE');
118
- ws.close();
119
- }
120
- function test(){
121
-
122
- var josnobj = {
123
- Meport: 6002, //跨服端口号
124
- Umagic: 89686, //快服句柄随机数
125
- userid: 8888, //userid 用户id
126
- token:"tokenxxxxxx", //用户token
127
- Umask: "84d3def493da487b96ed12744ad44c7a", //快服填随机字符串
128
- plevel: 9,//该用户内播放等级1~9 9是最高优先级
129
- ulevel: 600,//用户间等级 1~600 不同用户间同时推流一个音响 等级高的会切掉等级低的
130
- snlist: ["35255309dc3372edec0f68fac85a34a4", "d2aecbe315710b7b4e4a362effb853ec"], //被播放的设备序列号
131
- cmd: "PLAYLIST",//固定值
132
- Meip: "xxx.xxx.xxx.xxx" // 您的节点服务器IP地址
133
- }
134
-
135
- var userInfo = JSON.stringfiy(josnobj).length+"\n"+ JSON.stringfiy(josnobj);
136
- ws.send(userInfo);//这里 发送的是 信息头;
137
- recorder.Ontime(2);
138
- }
139
-
140
- function funMp3(){
141
-
142
- }
143
- </script>
144
- </body>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <title>Html5网页JavaScript录制MP3音频</title>
6
+ <meta charset="utf-8" />
7
+ <link href="favicon.ico" rel="shortcut icon">
8
+ </head>
9
+ <body>
10
+ <h1>Html5网页JavaScript录制MP3音频</h1>
11
+ <button onclick="funStart(this);" id="btnStart" disabled>录制</button>
12
+ <button onclick="funStop(this);" id="btnStop" disabled>停止</button>
13
+ <button onclick="funOntime(this);" id="btnOntime" disabled>开启广播</button>
14
+ <button onclick="funOnStop(this);" id="btnOnStop" disabled>关闭广播</button>
15
+ <button onclick="funMp3(this);" id="btnMp3" disabled>歌曲播放</button>
16
+ <button onclick="funUpload(this);" id="btnUpload" disabled>上传</button>
17
+ <h4>调试信息:</h4>
18
+ <div id="recordingslist"></div>
19
+ <script src="js/recordmp3.js"></script>
20
+ <script src="js/jquery-1.10.1.min.js"></script>
21
+ <script>
22
+ var ws;
23
+ var recorder = new MP3Recorder({
24
+ debug:true,
25
+ funOk: function () {
26
+ btnStart.disabled = false;
27
+ btnOntime.disabled = false;
28
+ btnMp3.disabled = false;
29
+ log('初始化成功');
30
+ },
31
+ funCancel: function (msg) {
32
+ log(msg);
33
+ recorder = null;
34
+ }
35
+ });
36
+ var mp3Blob;
37
+
38
+
39
+ function funStart(button) {
40
+ btnStart.disabled = true;
41
+ btnStop.disabled = false;
42
+ btnUpload.disabled = true;
43
+ btnOntime.disabled = true;
44
+ btnOnStop.disabled = true;
45
+ log('录音开始...');
46
+ recorder.start();
47
+ }
48
+
49
+ function funStop(button) {
50
+ recorder.stop();
51
+ btnStart.disabled = false;
52
+ btnStop.disabled = true;
53
+ btnUpload.disabled = false;
54
+ btnOntime.disabled = false;
55
+ btnOnStop.disabled = true;
56
+ log('录音结束,MP3导出中...');
57
+ recorder.getMp3Blob(function (blob) {
58
+ log('MP3导出成功');
59
+ // console.log(blod)
60
+ mp3Blob = blob;
61
+ var url = URL.createObjectURL(mp3Blob);
62
+ var div = document.createElement('div');
63
+ var au = document.createElement('audio');
64
+ var hf = document.createElement('a');
65
+
66
+ au.controls = true;
67
+ au.src = url;
68
+ hf.href = url;
69
+ hf.download = new Date().toISOString() + '.mp3';
70
+ hf.innerHTML = hf.download;
71
+ div.appendChild(au);
72
+ div.appendChild(hf);
73
+ recordingslist.appendChild(div);
74
+ });
75
+ }
76
+
77
+ function log(str) {
78
+ recordingslist.innerHTML += str + '<br/>';
79
+ }
80
+
81
+ function funUpload() {
82
+ var fd = new FormData();
83
+ var mp3Name = encodeURIComponent('audio_recording_' + new Date().getTime() + '.mp3');
84
+ fd.append('mp3Name', mp3Name);
85
+ fd.append('file', mp3Blob);
86
+
87
+ var xhr = new XMLHttpRequest();
88
+ xhr.onreadystatechange = function () {
89
+ if (xhr.readyState == 4 && xhr.status == 200) {
90
+ recordingslist.innerHTML += '上传成功:<a href="' + xhr.responseText + '" target="_blank">' + mp3Name + '</a>';
91
+ }
92
+ };
93
+
94
+ xhr.open('POST', 'upload.ashx');
95
+ xhr.send(fd);
96
+ }
97
+
98
+ function funOntime(){
99
+ var mp3Blob;
100
+ btnStart.disabled = true;
101
+ btnStop.disabled = true;
102
+ btnUpload.disabled = true;
103
+ btnOntime.disabled = true;
104
+ btnOnStop.disabled = false;
105
+ log('开启广播...');
106
+ ws = new WebSocket('ws://xxx.xxx.xxx.xxx:23202/'); // 这里填写Avadore 服务器的IP地址 和 ws 端口号 对应的 websocket 服务信息
107
+ setTimeout("test()","1000");
108
+ }
109
+ function funOnStop(){
110
+ recorder.Onstop();
111
+ btnStart.disabled = false;
112
+ btnStop.disabled = true;
113
+ btnUpload.disabled = true;
114
+ btnOntime.disabled = false;
115
+ btnOnStop.disabled = true;
116
+ log('关闭广播...');
117
+ // ws.send('CLOSE');
118
+ ws.close();
119
+ }
120
+ function test(){
121
+
122
+ var josnobj = {
123
+ Meport: 6002, //跨服端口号
124
+ Umagic: 89686, //快服句柄随机数
125
+ userid: 8888, //userid 用户id
126
+ token:"tokenxxxxxx", //用户token
127
+ Umask: "84d3def493da487b96ed12744ad44c7a", //快服填随机字符串
128
+ plevel: 9,//该用户内播放等级1~9 9是最高优先级
129
+ ulevel: 600,//用户间等级 1~600 不同用户间同时推流一个音响 等级高的会切掉等级低的
130
+ snlist: ["35255309dc3372edec0f68fac85a34a4", "d2aecbe315710b7b4e4a362effb853ec"], //被播放的设备序列号
131
+ cmd: "PLAYLIST",//固定值
132
+ Meip: "xxx.xxx.xxx.xxx" // 您的节点服务器IP地址
133
+ }
134
+
135
+ var userInfo = JSON.stringfiy(josnobj).length+"\n"+ JSON.stringfiy(josnobj);
136
+ ws.send(userInfo);//这里 发送的是 信息头;
137
+ recorder.Ontime(2);
138
+ }
139
+
140
+ function funMp3(){
141
+
142
+ }
143
+ </script>
144
+ </body>
145
145
  </html>