react_hsbc_teller 1.9.23 → 1.9.24
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/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +4 -21
package/package.json
CHANGED
|
@@ -296,7 +296,7 @@ class Video extends Component {
|
|
|
296
296
|
saveLog = (val) => {
|
|
297
297
|
axios({
|
|
298
298
|
method: 'get',
|
|
299
|
-
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.
|
|
299
|
+
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.24&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
|
|
300
300
|
|
|
301
301
|
}).then(res => {
|
|
302
302
|
|
|
@@ -1774,23 +1774,6 @@ class Video extends Component {
|
|
|
1774
1774
|
if (publish_tag == 'tag1') {
|
|
1775
1775
|
console.log('tag1', stream)
|
|
1776
1776
|
let newStream = stream;
|
|
1777
|
-
// if (stream.getVideoTracks()[0]) {
|
|
1778
|
-
// await startBeauty(newStream);
|
|
1779
|
-
// newStream = beautyCaptureStream();
|
|
1780
|
-
// // 清理原始流
|
|
1781
|
-
// newStream.oninactive = function () {
|
|
1782
|
-
// clearOriginStream(stream);
|
|
1783
|
-
// };
|
|
1784
|
-
// newStream.getVideoTracks()[0].onended = function () {
|
|
1785
|
-
// clearOriginStream(stream);
|
|
1786
|
-
// };
|
|
1787
|
-
// function clearOriginStream(stream) {
|
|
1788
|
-
// stream.getTracks().forEach((track) => {
|
|
1789
|
-
// track.stop();
|
|
1790
|
-
// });
|
|
1791
|
-
// stream = null;
|
|
1792
|
-
// }
|
|
1793
|
-
// };
|
|
1794
1777
|
if (stream.getVideoTracks()[0]) {
|
|
1795
1778
|
await startBeauty(newStream);
|
|
1796
1779
|
newStream = beautyCaptureStream();
|
|
@@ -1817,8 +1800,6 @@ class Video extends Component {
|
|
|
1817
1800
|
}
|
|
1818
1801
|
|
|
1819
1802
|
if (publish_tag == 'projectionWhiteboard' && publish_device == 2) {
|
|
1820
|
-
// this.graffiti()
|
|
1821
|
-
console.log('projectionWhiteboard', stream)
|
|
1822
1803
|
let newStream1 = stream;
|
|
1823
1804
|
if (stream.getVideoTracks()[0]) {
|
|
1824
1805
|
if (this.state.operateShow) {
|
|
@@ -1836,6 +1817,8 @@ class Video extends Component {
|
|
|
1836
1817
|
}
|
|
1837
1818
|
|
|
1838
1819
|
newStream1 = mixCaptureStream();
|
|
1820
|
+
newStream1.getVideoTracks()[0].contentHint = "text"; // 解决清晰度问题
|
|
1821
|
+
|
|
1839
1822
|
console.log('projectionWhiteboard1', newStream1)
|
|
1840
1823
|
// 清理原始流
|
|
1841
1824
|
newStream1.oninactive = function () {
|
|
@@ -2951,7 +2934,7 @@ class Video extends Component {
|
|
|
2951
2934
|
}
|
|
2952
2935
|
}
|
|
2953
2936
|
componentWillMount() {
|
|
2954
|
-
console.log('hsbc_teller_sdk', '1.9.
|
|
2937
|
+
console.log('hsbc_teller_sdk', '1.9.24')
|
|
2955
2938
|
let arr = []
|
|
2956
2939
|
for(let i=1;i<=12;i++){
|
|
2957
2940
|
arr.push({
|