matrixbirds 5 лет назад
Родитель
Сommit
e7d8354245
2 измененных файлов: 1 добавлений и 57 удалений
  1. 1
    1
      lib/RtcEngine.native.js.map
  2. 0
    56
      src/RtcEngine.native.ts

+ 1
- 1
lib/RtcEngine.native.js.map Просмотреть файл

@@ -1 +1 @@
1
-{"version":3,"file":"RtcEngine.native.js","sourceRoot":"","sources":["../src/RtcEngine.native.ts"],"names":[],"mappings":";;AAAA,+CAIsB;AAWtB,MAAM,EAAE,KAAK,EAAE,GAAG,4BAAa,CAAC;AAChC,MAAM,iBAAiB,GAAG,IAAI,iCAAkB,CAAC,KAAK,CAAC,CAAC;AAExD,MAAqB,SAAS;IAG1B,MAAM,CAAC,IAAI,CAAC,OAAe;QACvB,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,WAAmB,EAAE,GAAY,EAAE,KAAc,EAAE,IAAa;QAC/E,OAAO,KAAK,CAAC,WAAW,CAAC,EAAC,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,cAA8B;QAC9C,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,qCAAqC;QACrC,MAAM,MAAM,GAAG;YACX,WAAW;YAEX,SAAS;YAET,sBAAsB;YAEtB,wBAAwB;YAExB,gBAAgB;YAEhB,qBAAqB;YAErB,cAAc;YAEd,eAAe;YAEf,0BAA0B;YAE1B,yBAAyB;YAEzB,kBAAkB;YAElB,oBAAoB;YAEpB,mBAAmB;YAEnB,4BAA4B;YAE5B,gBAAgB;YAEhB,qBAAqB;YAErB,yBAAyB;YAEzB,iBAAiB;YAEjB,wBAAwB;YAExB,yBAAyB;YAEzB,gBAAgB;YAEhB,wBAAwB;YAExB,2BAA2B;YAE3B,yBAAy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E,OAAgB;QACvD,OAAO,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,QAAgB,EAAE,IAAS;QAChD,OAAO,KAAK,CAAC,iBAAiB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,QAAwB;QACzC,KAAK,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzC,CAAC;CACJ;AAnND,4BAmNC;AAAA,CAAC"}

+ 0
- 56
src/RtcEngine.native.ts Просмотреть файл

@@ -34,117 +34,61 @@ export default class RtcEngine {
34 34
         // const events = EventSchedulerKeys;
35 35
         const events = [
36 36
             "onWarning",
37
-            
38 37
             "onError",
39
-            
40 38
             "onJoinChannelSuccess",
41
-            
42 39
             "onRejoinChannelSuccess",
43
-            
44 40
             "onLeaveChannel",
45
-            
46 41
             "onClientRoleChanged",
47
-            
48 42
             "onUserJoined",
49
-            
50 43
             "onUserOffline",
51
-            
52 44
             "onConnectionStateChanged",
53
-            
54 45
             "onConnectionInterrupted",
55
-            
56 46
             "onConnectionLost",
57
-            
58 47
             "onConnectionBanned",
59
-            
60 48
             "onApiCallExecuted",
61
-            
62 49
             "onTokenPrivilegeWillExpire",
63
-            
64 50
             "onRequestToken",
65
-            
66 51
             "onMicrophoneEnabled",
67
-            
68 52
             "onAudioVolumeIndication",
69
-            
70 53
             "onActiveSpeaker",
71
-            
72 54
             "onFirstLocalAudioFrame",
73
-            
74 55
             "onFirstRemoteAudioFrame",
75
-            
76 56
             "onVideoStopped",
77
-            
78 57
             "onFirstLocalVideoFrame",
79
-            
80 58
             "onFirstRemoteVideoDecoded",
81
-            
82 59
             "onFirstRemoteVideoFrame",
83
-            
84 60
             "onUserMuteAudio",
85
-            
86 61
             "onUserMuteVideo",
87
-            
88 62
             "onUserEnableVideo",
89
-            
90 63
             "onUserEnableLocalVideo",
91
-            
92 64
             "onVideoSizeChanged",
93
-            
94 65
             "onRemoteVideoStateChanged",
95
-            
96 66
             "onLocalPublishFallbackToAudioOnly",
97
-            
98 67
             "onRemoteSubscribeFallbackToAudioOnly",
99
-            
100 68
             "onAudioRouteChanged",
101
-            
102 69
             "onCameraReady",
103
-            
104 70
             "onCameraFocusAreaChanged",
105
-            
106 71
             "onCameraExposureAreaChanged",
107
-            
108 72
             "onAudioQuality",
109
-            
110 73
             "onRtcStats",
111
-            
112 74
             "onLastmileQuality",
113
-            
114 75
             "onNetworkQuality",
115
-            
116 76
             "onLocalVideoStats",
117
-            
118 77
             "onRemoteVideoStats",
119
-            
120 78
             "onRemoteAudioStats",
121
-            
122 79
             "onLocalVideoStat",
123
-            
124 80
             "onRemoteVideoStat",
125
-            
126 81
             "onRemoteAudioTransportStats",
127
-            
128 82
             "onRemoteVideoTransportStats",
129
-            
130 83
             "onAudioMixingFinished",
131
-            
132 84
             "onAudioEffectFinished",
133
-            
134 85
             "onStreamPublished",
135
-            
136 86
             "onStreamUnpublished",
137
-            
138 87
             "onTranscodingUpdated",
139
-            
140 88
             "onStreamInjectedStatus",
141
-            
142 89
             "onStreamMessage",
143
-            
144 90
             "onStreamMessageError",
145
-            
146 91
             "onMediaEngineLoadSuccess",
147
-            
148 92
             "onMediaEngineStartCallSuccess",
149 93
         ];
150 94
         for (let event of events) {