inl-ui 0.1.124 → 0.1.125

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.
@@ -6492,22 +6492,46 @@ class WebRtcMt$1 {
6492
6492
  playEvent(player, videoElm, sdpUrl) {
6493
6493
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
6494
6494
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
6495
- this.rePlay(videoElm);
6495
+ this.log("warn", e);
6496
+ });
6497
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
6498
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
6499
+ this.log("warn", e);
6500
+ });
6501
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
6502
+ this.log("warn", "CAPTURE_STREAM_FAILED");
6503
+ this.log("warn", e);
6504
+ });
6505
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6506
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
6507
+ this.log("warn", e);
6508
+ });
6509
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
6510
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
6511
+ this.log("warn", e);
6512
+ });
6513
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
6514
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
6515
+ this.log("warn", e);
6516
+ });
6517
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
6518
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
6519
+ this.log("warn", e);
6496
6520
  });
6497
6521
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6498
6522
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
6499
6523
  });
6500
6524
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
6501
6525
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
6502
- this.rePlay(videoElm);
6526
+ this.log("warn", e);
6503
6527
  });
6504
6528
  player.on(Events.DISCONNECTED, e => {
6505
6529
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
6506
- this.rePlay(videoElm);
6530
+ this.log("warn", e);
6507
6531
  });
6508
6532
  player.on(Events.LOST_SERVER, e => {
6509
6533
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
6510
- this.rePlay(videoElm);
6534
+ this.log("warn", e);
6511
6535
  });
6512
6536
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
6513
6537
  this.log("warn", state);
@@ -6464,22 +6464,46 @@ class WebRtcMt$1 {
6464
6464
  playEvent(player, videoElm, sdpUrl) {
6465
6465
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
6466
6466
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
6467
- this.rePlay(videoElm);
6467
+ this.log("warn", e);
6468
+ });
6469
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
6470
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
6471
+ this.log("warn", e);
6472
+ });
6473
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
6474
+ this.log("warn", "CAPTURE_STREAM_FAILED");
6475
+ this.log("warn", e);
6476
+ });
6477
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6478
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
6479
+ this.log("warn", e);
6480
+ });
6481
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
6482
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
6483
+ this.log("warn", e);
6484
+ });
6485
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
6486
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
6487
+ this.log("warn", e);
6488
+ });
6489
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
6490
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
6491
+ this.log("warn", e);
6468
6492
  });
6469
6493
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6470
6494
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
6471
6495
  });
6472
6496
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
6473
6497
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
6474
- this.rePlay(videoElm);
6498
+ this.log("warn", e);
6475
6499
  });
6476
6500
  player.on(Events.DISCONNECTED, e => {
6477
6501
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
6478
- this.rePlay(videoElm);
6502
+ this.log("warn", e);
6479
6503
  });
6480
6504
  player.on(Events.LOST_SERVER, e => {
6481
6505
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
6482
- this.rePlay(videoElm);
6506
+ this.log("warn", e);
6483
6507
  });
6484
6508
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
6485
6509
  this.log("warn", state);
@@ -6099,22 +6099,46 @@ class WebRtcMt {
6099
6099
  playEvent(player, videoElm, sdpUrl) {
6100
6100
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
6101
6101
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
6102
- this.rePlay(videoElm);
6102
+ this.log("warn", e);
6103
+ });
6104
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
6105
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
6106
+ this.log("warn", e);
6107
+ });
6108
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
6109
+ this.log("warn", "CAPTURE_STREAM_FAILED");
6110
+ this.log("warn", e);
6111
+ });
6112
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6113
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
6114
+ this.log("warn", e);
6115
+ });
6116
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
6117
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
6118
+ this.log("warn", e);
6119
+ });
6120
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
6121
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
6122
+ this.log("warn", e);
6123
+ });
6124
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
6125
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
6126
+ this.log("warn", e);
6103
6127
  });
6104
6128
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6105
6129
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
6106
6130
  });
6107
6131
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
6108
6132
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
6109
- this.rePlay(videoElm);
6133
+ this.log("warn", e);
6110
6134
  });
6111
6135
  player.on(Events.DISCONNECTED, e => {
6112
6136
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
6113
- this.rePlay(videoElm);
6137
+ this.log("warn", e);
6114
6138
  });
6115
6139
  player.on(Events.LOST_SERVER, e => {
6116
6140
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
6117
- this.rePlay(videoElm);
6141
+ this.log("warn", e);
6118
6142
  });
6119
6143
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
6120
6144
  this.log("warn", state);
@@ -6090,22 +6090,46 @@ class WebRtcMt {
6090
6090
  playEvent(player, videoElm, sdpUrl) {
6091
6091
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
6092
6092
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
6093
- this.rePlay(videoElm);
6093
+ this.log("warn", e);
6094
+ });
6095
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
6096
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
6097
+ this.log("warn", e);
6098
+ });
6099
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
6100
+ this.log("warn", "CAPTURE_STREAM_FAILED");
6101
+ this.log("warn", e);
6102
+ });
6103
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6104
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
6105
+ this.log("warn", e);
6106
+ });
6107
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
6108
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
6109
+ this.log("warn", e);
6110
+ });
6111
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
6112
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
6113
+ this.log("warn", e);
6114
+ });
6115
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
6116
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
6117
+ this.log("warn", e);
6094
6118
  });
6095
6119
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6096
6120
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
6097
6121
  });
6098
6122
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
6099
6123
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
6100
- this.rePlay(videoElm);
6124
+ this.log("warn", e);
6101
6125
  });
6102
6126
  player.on(Events.DISCONNECTED, e => {
6103
6127
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
6104
- this.rePlay(videoElm);
6128
+ this.log("warn", e);
6105
6129
  });
6106
6130
  player.on(Events.LOST_SERVER, e => {
6107
6131
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
6108
- this.rePlay(videoElm);
6132
+ this.log("warn", e);
6109
6133
  });
6110
6134
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
6111
6135
  this.log("warn", state);
package/dist/index.cjs CHANGED
@@ -43,7 +43,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios$2);
43
43
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
44
44
  var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
45
45
 
46
- var version = "0.1.123";
46
+ var version = "0.1.124";
47
47
 
48
48
  const setTheme = theme => {
49
49
  if (theme === "dark") {
@@ -6791,22 +6791,46 @@ class WebRtcMt$1 {
6791
6791
  playEvent(player, videoElm, sdpUrl) {
6792
6792
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
6793
6793
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
6794
- this.rePlay(videoElm);
6794
+ this.log("warn", e);
6795
+ });
6796
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
6797
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
6798
+ this.log("warn", e);
6799
+ });
6800
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
6801
+ this.log("warn", "CAPTURE_STREAM_FAILED");
6802
+ this.log("warn", e);
6803
+ });
6804
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6805
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
6806
+ this.log("warn", e);
6807
+ });
6808
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
6809
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
6810
+ this.log("warn", e);
6811
+ });
6812
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
6813
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
6814
+ this.log("warn", e);
6815
+ });
6816
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
6817
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
6818
+ this.log("warn", e);
6795
6819
  });
6796
6820
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6797
6821
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
6798
6822
  });
6799
6823
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
6800
6824
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
6801
- this.rePlay(videoElm);
6825
+ this.log("warn", e);
6802
6826
  });
6803
6827
  player.on(Events.DISCONNECTED, e => {
6804
6828
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
6805
- this.rePlay(videoElm);
6829
+ this.log("warn", e);
6806
6830
  });
6807
6831
  player.on(Events.LOST_SERVER, e => {
6808
6832
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
6809
- this.rePlay(videoElm);
6833
+ this.log("warn", e);
6810
6834
  });
6811
6835
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
6812
6836
  this.log("warn", state);
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
11
11
  import * as vue_jsx_runtime from 'vue/jsx-runtime';
12
12
  import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
13
13
 
14
- var version = "0.1.123";
14
+ var version = "0.1.124";
15
15
 
16
16
  declare const _default$p: {
17
17
  set(theme: string): void;
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
13
13
  import { marked } from 'marked';
14
14
  import '@sszj-temp/mobile/style.css';
15
15
 
16
- var version = "0.1.123";
16
+ var version = "0.1.124";
17
17
 
18
18
  const setTheme = theme => {
19
19
  if (theme === "dark") {
@@ -6761,22 +6761,46 @@ class WebRtcMt$1 {
6761
6761
  playEvent(player, videoElm, sdpUrl) {
6762
6762
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
6763
6763
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
6764
- this.rePlay(videoElm);
6764
+ this.log("warn", e);
6765
+ });
6766
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
6767
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
6768
+ this.log("warn", e);
6769
+ });
6770
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
6771
+ this.log("warn", "CAPTURE_STREAM_FAILED");
6772
+ this.log("warn", e);
6773
+ });
6774
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6775
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
6776
+ this.log("warn", e);
6777
+ });
6778
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
6779
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
6780
+ this.log("warn", e);
6781
+ });
6782
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
6783
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
6784
+ this.log("warn", e);
6785
+ });
6786
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
6787
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
6788
+ this.log("warn", e);
6765
6789
  });
6766
6790
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
6767
6791
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
6768
6792
  });
6769
6793
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
6770
6794
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
6771
- this.rePlay(videoElm);
6795
+ this.log("warn", e);
6772
6796
  });
6773
6797
  player.on(Events.DISCONNECTED, e => {
6774
6798
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
6775
- this.rePlay(videoElm);
6799
+ this.log("warn", e);
6776
6800
  });
6777
6801
  player.on(Events.LOST_SERVER, e => {
6778
6802
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
6779
- this.rePlay(videoElm);
6803
+ this.log("warn", e);
6780
6804
  });
6781
6805
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
6782
6806
  this.log("warn", state);
@@ -5865,22 +5865,46 @@ class WebRtcMt {
5865
5865
  playEvent(player, videoElm, sdpUrl) {
5866
5866
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
5867
5867
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
5868
- this.rePlay(videoElm);
5868
+ this.log("warn", e);
5869
+ });
5870
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
5871
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
5872
+ this.log("warn", e);
5873
+ });
5874
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
5875
+ this.log("warn", "CAPTURE_STREAM_FAILED");
5876
+ this.log("warn", e);
5877
+ });
5878
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5879
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
5880
+ this.log("warn", e);
5881
+ });
5882
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
5883
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
5884
+ this.log("warn", e);
5885
+ });
5886
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
5887
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
5888
+ this.log("warn", e);
5889
+ });
5890
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
5891
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
5892
+ this.log("warn", e);
5869
5893
  });
5870
5894
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5871
5895
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
5872
5896
  });
5873
5897
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
5874
5898
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
5875
- this.rePlay(videoElm);
5899
+ this.log("warn", e);
5876
5900
  });
5877
5901
  player.on(Events.DISCONNECTED, e => {
5878
5902
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
5879
- this.rePlay(videoElm);
5903
+ this.log("warn", e);
5880
5904
  });
5881
5905
  player.on(Events.LOST_SERVER, e => {
5882
5906
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
5883
- this.rePlay(videoElm);
5907
+ this.log("warn", e);
5884
5908
  });
5885
5909
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
5886
5910
  this.log("warn", state);
@@ -5861,22 +5861,46 @@ class WebRtcMt {
5861
5861
  playEvent(player, videoElm, sdpUrl) {
5862
5862
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
5863
5863
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
5864
- this.rePlay(videoElm);
5864
+ this.log("warn", e);
5865
+ });
5866
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
5867
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
5868
+ this.log("warn", e);
5869
+ });
5870
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
5871
+ this.log("warn", "CAPTURE_STREAM_FAILED");
5872
+ this.log("warn", e);
5873
+ });
5874
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5875
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
5876
+ this.log("warn", e);
5877
+ });
5878
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
5879
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
5880
+ this.log("warn", e);
5881
+ });
5882
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
5883
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
5884
+ this.log("warn", e);
5885
+ });
5886
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
5887
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
5888
+ this.log("warn", e);
5865
5889
  });
5866
5890
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5867
5891
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
5868
5892
  });
5869
5893
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
5870
5894
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
5871
- this.rePlay(videoElm);
5895
+ this.log("warn", e);
5872
5896
  });
5873
5897
  player.on(Events.DISCONNECTED, e => {
5874
5898
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
5875
- this.rePlay(videoElm);
5899
+ this.log("warn", e);
5876
5900
  });
5877
5901
  player.on(Events.LOST_SERVER, e => {
5878
5902
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
5879
- this.rePlay(videoElm);
5903
+ this.log("warn", e);
5880
5904
  });
5881
5905
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
5882
5906
  this.log("warn", state);
@@ -5870,22 +5870,46 @@ class WebRtcMt$1 {
5870
5870
  playEvent(player, videoElm, sdpUrl) {
5871
5871
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
5872
5872
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
5873
- this.rePlay(videoElm);
5873
+ this.log("warn", e);
5874
+ });
5875
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
5876
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
5877
+ this.log("warn", e);
5878
+ });
5879
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
5880
+ this.log("warn", "CAPTURE_STREAM_FAILED");
5881
+ this.log("warn", e);
5882
+ });
5883
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5884
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
5885
+ this.log("warn", e);
5886
+ });
5887
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
5888
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
5889
+ this.log("warn", e);
5890
+ });
5891
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
5892
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
5893
+ this.log("warn", e);
5894
+ });
5895
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
5896
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
5897
+ this.log("warn", e);
5874
5898
  });
5875
5899
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5876
5900
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
5877
5901
  });
5878
5902
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
5879
5903
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
5880
- this.rePlay(videoElm);
5904
+ this.log("warn", e);
5881
5905
  });
5882
5906
  player.on(Events.DISCONNECTED, e => {
5883
5907
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
5884
- this.rePlay(videoElm);
5908
+ this.log("warn", e);
5885
5909
  });
5886
5910
  player.on(Events.LOST_SERVER, e => {
5887
5911
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
5888
- this.rePlay(videoElm);
5912
+ this.log("warn", e);
5889
5913
  });
5890
5914
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
5891
5915
  this.log("warn", state);
@@ -5844,22 +5844,46 @@ class WebRtcMt$1 {
5844
5844
  playEvent(player, videoElm, sdpUrl) {
5845
5845
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
5846
5846
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
5847
- this.rePlay(videoElm);
5847
+ this.log("warn", e);
5848
+ });
5849
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
5850
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
5851
+ this.log("warn", e);
5852
+ });
5853
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
5854
+ this.log("warn", "CAPTURE_STREAM_FAILED");
5855
+ this.log("warn", e);
5856
+ });
5857
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5858
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
5859
+ this.log("warn", e);
5860
+ });
5861
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
5862
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
5863
+ this.log("warn", e);
5864
+ });
5865
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
5866
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
5867
+ this.log("warn", e);
5868
+ });
5869
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
5870
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
5871
+ this.log("warn", e);
5848
5872
  });
5849
5873
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5850
5874
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
5851
5875
  });
5852
5876
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
5853
5877
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
5854
- this.rePlay(videoElm);
5878
+ this.log("warn", e);
5855
5879
  });
5856
5880
  player.on(Events.DISCONNECTED, e => {
5857
5881
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
5858
- this.rePlay(videoElm);
5882
+ this.log("warn", e);
5859
5883
  });
5860
5884
  player.on(Events.LOST_SERVER, e => {
5861
5885
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
5862
- this.rePlay(videoElm);
5886
+ this.log("warn", e);
5863
5887
  });
5864
5888
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
5865
5889
  this.log("warn", state);
@@ -5832,22 +5832,46 @@ class WebRtcMt {
5832
5832
  playEvent(player, videoElm, sdpUrl) {
5833
5833
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
5834
5834
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
5835
- this.rePlay(videoElm);
5835
+ this.log("warn", e);
5836
+ });
5837
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
5838
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
5839
+ this.log("warn", e);
5840
+ });
5841
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
5842
+ this.log("warn", "CAPTURE_STREAM_FAILED");
5843
+ this.log("warn", e);
5844
+ });
5845
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5846
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
5847
+ this.log("warn", e);
5848
+ });
5849
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
5850
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
5851
+ this.log("warn", e);
5852
+ });
5853
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
5854
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
5855
+ this.log("warn", e);
5856
+ });
5857
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
5858
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
5859
+ this.log("warn", e);
5836
5860
  });
5837
5861
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5838
5862
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
5839
5863
  });
5840
5864
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
5841
5865
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
5842
- this.rePlay(videoElm);
5866
+ this.log("warn", e);
5843
5867
  });
5844
5868
  player.on(Events.DISCONNECTED, e => {
5845
5869
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
5846
- this.rePlay(videoElm);
5870
+ this.log("warn", e);
5847
5871
  });
5848
5872
  player.on(Events.LOST_SERVER, e => {
5849
5873
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
5850
- this.rePlay(videoElm);
5874
+ this.log("warn", e);
5851
5875
  });
5852
5876
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
5853
5877
  this.log("warn", state);
@@ -5824,22 +5824,46 @@ class WebRtcMt {
5824
5824
  playEvent(player, videoElm, sdpUrl) {
5825
5825
  player.on(Events.WEBRTC_ICE_CANDIDATE_ERROR, e => {
5826
5826
  this.log("warn", "ICE \u534F\u5546\u51FA\u9519");
5827
- this.rePlay(videoElm);
5827
+ this.log("warn", e);
5828
+ });
5829
+ player.on(Events.WEBRTC_NOT_SUPPORT, e => {
5830
+ this.log("warn", "WEBRTC_NOT_SUPPORT");
5831
+ this.log("warn", e);
5832
+ });
5833
+ player.on(Events.CAPTURE_STREAM_FAILED, e => {
5834
+ this.log("warn", "CAPTURE_STREAM_FAILED");
5835
+ this.log("warn", e);
5836
+ });
5837
+ player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5838
+ this.log("warn", "WEBRTC_ON_REMOTE_STREAMS");
5839
+ this.log("warn", e);
5840
+ });
5841
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_MSG, e => {
5842
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_MSG");
5843
+ this.log("warn", e);
5844
+ });
5845
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_CLOSE, e => {
5846
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_CLOSE");
5847
+ this.log("warn", e);
5848
+ });
5849
+ player.on(Events.WEBRTC_ON_DATA_CHANNEL_ERR, e => {
5850
+ this.log("warn", "WEBRTC_ON_DATA_CHANNEL_ERR");
5851
+ this.log("warn", e);
5828
5852
  });
5829
5853
  player.on(Events.WEBRTC_ON_REMOTE_STREAMS, e => {
5830
5854
  this.log("warn", "\u83B7\u53D6\u5230\u4E86\u8FDC\u7AEF\u6D41\uFF0C\u53EF\u4EE5\u64AD\u653E");
5831
5855
  });
5832
5856
  player.on(Events.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, e => {
5833
5857
  this.log("warn", `offer anwser \u4EA4\u6362\u5931\u8D25\uFF0C\u83B7\u53D6\u89C6\u9891\u6D41\u5931\u8D25, ${e}`);
5834
- this.rePlay(videoElm);
5858
+ this.log("warn", e);
5835
5859
  });
5836
5860
  player.on(Events.DISCONNECTED, e => {
5837
5861
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u8FDE\u63A5\u65AD\u5F00${videoElm}`);
5838
- this.rePlay(videoElm);
5862
+ this.log("warn", e);
5839
5863
  });
5840
5864
  player.on(Events.LOST_SERVER, e => {
5841
5865
  this.log("warn", `\u4E8B\u4EF6\u68C0\u6D4B\u5230\u89C6\u9891\u670D\u52A1\u5668\u4E22\u5931${videoElm}`);
5842
- this.rePlay(videoElm);
5866
+ this.log("warn", e);
5843
5867
  });
5844
5868
  player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
5845
5869
  this.log("warn", state);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.1.124",
3
+ "version": "0.1.125",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",