@videosdk.live/react-sdk 0.1.60 → 0.1.62
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/dist/index.js +1666 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +1654 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/types/connection/useConnection.d.ts +42 -0
- package/dist/types/connection/useConnection.d.ts.map +1 -0
- package/dist/types/index.d.ts +116 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/meeting/MeetingProvider.d.ts +48 -0
- package/dist/types/meeting/MeetingProvider.d.ts.map +1 -0
- package/dist/types/meeting/meetingProviderContextDef.d.ts +149 -0
- package/dist/types/meeting/meetingProviderContextDef.d.ts.map +1 -0
- package/dist/types/participant/useParticipant.d.ts +189 -0
- package/dist/types/participant/useParticipant.d.ts.map +1 -0
- package/dist/types/pubSub/usePubSub.d.ts +37 -0
- package/dist/types/pubSub/usePubSub.d.ts.map +1 -0
- package/dist/types/utils.d.ts +34 -0
- package/dist/types/utils.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meetingProviderContextDef.d.ts","sourceRoot":"","sources":["../../../src/meeting/meetingProviderContextDef.js"],"names":[],"mappings":"AAGA,wCAAqD;AAsH9C,wlBAlHI;IACV,mBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,iBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,gBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,kBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,wBAA2B,CAAC,EAAE,MAAM,IAAI,CAAC;IACzC,gBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,gBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,kBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,kBAAqB,CAAC,EAAE,MAAM,IAAI,CA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AAM,GAAG,WAAW,KAAK,IAAI;;cAEzC,MAAM;UACV,IAAI;eACA,MAAM,IAAI;;qBAEH,MAAM;UACjB,IAAI;iBACE,MAAM,IAAI;;qBAEL,MAAM;UACjB,IAAI;;mBAEK,MAAM;iBACR,MAAM;UACb,IAAI;EA2Hd;AAEM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA+HN"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
export default useParticipant;
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param {string} participantId
|
|
5
|
+
* @param {{
|
|
6
|
+
* onStreamDisabled?: Function,
|
|
7
|
+
* onStreamEnabled?: Function,
|
|
8
|
+
* onMediaStatusChanged?: Function,
|
|
9
|
+
* onVideoQualityChanged?: Function,
|
|
10
|
+
* }} options
|
|
11
|
+
*
|
|
12
|
+
* @returns {{
|
|
13
|
+
* displayName: string;
|
|
14
|
+
* participant: Participant;
|
|
15
|
+
* webcamStream: MediaStreamTrack;
|
|
16
|
+
* micStream: MediaStreamTrack;
|
|
17
|
+
* screenShareStream: MediaStreamTrack;
|
|
18
|
+
* webcamOn: boolean;
|
|
19
|
+
* micOn: boolean;
|
|
20
|
+
* screenShareOn: boolean;
|
|
21
|
+
* isLocal: boolean;
|
|
22
|
+
* isActiveSpeaker: boolean;
|
|
23
|
+
* isMainParticipant: boolean;
|
|
24
|
+
* pinState: any;
|
|
25
|
+
* mode: "CONFERENCE" | "VIEWER",
|
|
26
|
+
* consumeMicStreams: () => void;
|
|
27
|
+
* consumeWebcamStreams: () => void;
|
|
28
|
+
* stopConsumingMicStreams: () => void;
|
|
29
|
+
* stopConsumingWebcamStreams: () => void;
|
|
30
|
+
* setQuality: (quality: "low" | "med" | 'high') => void;
|
|
31
|
+
* setViewPort: (width: number, height: number) => void;
|
|
32
|
+
* enableMic: () => void;
|
|
33
|
+
* disableMic: () => void;
|
|
34
|
+
* enableWebcam: () => void;
|
|
35
|
+
* disableWebcam: () => void;
|
|
36
|
+
* pin: (data: "SHARE_AND_CAM" | "CAM" | "SHARE") => void;
|
|
37
|
+
* unpin: (data: "SHARE_AND_CAM" | "CAM" | "SHARE") => void;
|
|
38
|
+
* switchTo: ({ meetingId, payload, token }: {
|
|
39
|
+
* meetingId: string;
|
|
40
|
+
* payload: string;
|
|
41
|
+
* token: string;
|
|
42
|
+
* }) => Promise<void>;
|
|
43
|
+
* getAudioStats: () => Promise<[{
|
|
44
|
+
* bitrate: number,
|
|
45
|
+
* rtt: number,
|
|
46
|
+
* network:String,
|
|
47
|
+
* codec: String,
|
|
48
|
+
* jitter: number,
|
|
49
|
+
* limitation: Object,
|
|
50
|
+
* totalPackets: number,
|
|
51
|
+
* packetsLost: number,
|
|
52
|
+
* concealmentEvents: number,
|
|
53
|
+
* insertedSamplesForDecelaration: number,
|
|
54
|
+
* removedSamplesForAccelaration: number,
|
|
55
|
+
* size:Object
|
|
56
|
+
* }]>;
|
|
57
|
+
* getVideoStats: () => Promise<[{
|
|
58
|
+
* bitrate: number,
|
|
59
|
+
* rtt: number,
|
|
60
|
+
* network:String,
|
|
61
|
+
* codec: String,
|
|
62
|
+
* jitter: number,
|
|
63
|
+
* limitation: Object,
|
|
64
|
+
* totalPackets: number,
|
|
65
|
+
* packetsLost: number,
|
|
66
|
+
* concealmentEvents: number,
|
|
67
|
+
* insertedSamplesForDecelaration: number,
|
|
68
|
+
* removedSamplesForAccelaration: number,
|
|
69
|
+
* size:Object,
|
|
70
|
+
* currentSpatialLayer: number,
|
|
71
|
+
* currentTemporalLayer: number,
|
|
72
|
+
* preferredSpatialLayer: number,
|
|
73
|
+
* preferredTemporalLayer: number
|
|
74
|
+
* }]>;
|
|
75
|
+
* getShareStats: () => Promise<[{
|
|
76
|
+
* bitrate: number,
|
|
77
|
+
* rtt: number,
|
|
78
|
+
* network:String,
|
|
79
|
+
* codec: String,
|
|
80
|
+
* jitter: number,
|
|
81
|
+
* limitation: Object,
|
|
82
|
+
* totalPackets: number,
|
|
83
|
+
* packetsLost: number,
|
|
84
|
+
* concealmentEvents: number,
|
|
85
|
+
* insertedSamplesForDecelaration: number,
|
|
86
|
+
* removedSamplesForAccelaration: number,
|
|
87
|
+
* size:Object,
|
|
88
|
+
* currentSpatialLayer: number,
|
|
89
|
+
* currentTemporalLayer: number,
|
|
90
|
+
* preferredSpatialLayer: number,
|
|
91
|
+
* preferredTemporalLayer: number
|
|
92
|
+
* }]>;
|
|
93
|
+
*}}
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
declare function useParticipant(participantId: string, { onStreamEnabled, onStreamDisabled, onMediaStatusChanged, onVideoQualityChanged }?: {
|
|
97
|
+
onStreamDisabled?: Function;
|
|
98
|
+
onStreamEnabled?: Function;
|
|
99
|
+
onMediaStatusChanged?: Function;
|
|
100
|
+
onVideoQualityChanged?: Function;
|
|
101
|
+
}): {
|
|
102
|
+
displayName: string;
|
|
103
|
+
participant: Participant;
|
|
104
|
+
webcamStream: MediaStreamTrack;
|
|
105
|
+
micStream: MediaStreamTrack;
|
|
106
|
+
screenShareStream: MediaStreamTrack;
|
|
107
|
+
webcamOn: boolean;
|
|
108
|
+
micOn: boolean;
|
|
109
|
+
screenShareOn: boolean;
|
|
110
|
+
isLocal: boolean;
|
|
111
|
+
isActiveSpeaker: boolean;
|
|
112
|
+
isMainParticipant: boolean;
|
|
113
|
+
pinState: any;
|
|
114
|
+
mode: "CONFERENCE" | "VIEWER";
|
|
115
|
+
consumeMicStreams: () => void;
|
|
116
|
+
consumeWebcamStreams: () => void;
|
|
117
|
+
stopConsumingMicStreams: () => void;
|
|
118
|
+
stopConsumingWebcamStreams: () => void;
|
|
119
|
+
setQuality: (quality: "low" | "med" | 'high') => void;
|
|
120
|
+
setViewPort: (width: number, height: number) => void;
|
|
121
|
+
enableMic: () => void;
|
|
122
|
+
disableMic: () => void;
|
|
123
|
+
enableWebcam: () => void;
|
|
124
|
+
disableWebcam: () => void;
|
|
125
|
+
pin: (data: "SHARE_AND_CAM" | "CAM" | "SHARE") => void;
|
|
126
|
+
unpin: (data: "SHARE_AND_CAM" | "CAM" | "SHARE") => void;
|
|
127
|
+
switchTo: ({ meetingId, payload, token }: {
|
|
128
|
+
meetingId: string;
|
|
129
|
+
payload: string;
|
|
130
|
+
token: string;
|
|
131
|
+
}) => Promise<void>;
|
|
132
|
+
getAudioStats: () => Promise<[
|
|
133
|
+
{
|
|
134
|
+
bitrate: number;
|
|
135
|
+
rtt: number;
|
|
136
|
+
network: string;
|
|
137
|
+
codec: string;
|
|
138
|
+
jitter: number;
|
|
139
|
+
limitation: any;
|
|
140
|
+
totalPackets: number;
|
|
141
|
+
packetsLost: number;
|
|
142
|
+
concealmentEvents: number;
|
|
143
|
+
insertedSamplesForDecelaration: number;
|
|
144
|
+
removedSamplesForAccelaration: number;
|
|
145
|
+
size: any;
|
|
146
|
+
}
|
|
147
|
+
]>;
|
|
148
|
+
getVideoStats: () => Promise<[
|
|
149
|
+
{
|
|
150
|
+
bitrate: number;
|
|
151
|
+
rtt: number;
|
|
152
|
+
network: string;
|
|
153
|
+
codec: string;
|
|
154
|
+
jitter: number;
|
|
155
|
+
limitation: any;
|
|
156
|
+
totalPackets: number;
|
|
157
|
+
packetsLost: number;
|
|
158
|
+
concealmentEvents: number;
|
|
159
|
+
insertedSamplesForDecelaration: number;
|
|
160
|
+
removedSamplesForAccelaration: number;
|
|
161
|
+
size: any;
|
|
162
|
+
currentSpatialLayer: number;
|
|
163
|
+
currentTemporalLayer: number;
|
|
164
|
+
preferredSpatialLayer: number;
|
|
165
|
+
preferredTemporalLayer: number;
|
|
166
|
+
}
|
|
167
|
+
]>;
|
|
168
|
+
getShareStats: () => Promise<[
|
|
169
|
+
{
|
|
170
|
+
bitrate: number;
|
|
171
|
+
rtt: number;
|
|
172
|
+
network: string;
|
|
173
|
+
codec: string;
|
|
174
|
+
jitter: number;
|
|
175
|
+
limitation: any;
|
|
176
|
+
totalPackets: number;
|
|
177
|
+
packetsLost: number;
|
|
178
|
+
concealmentEvents: number;
|
|
179
|
+
insertedSamplesForDecelaration: number;
|
|
180
|
+
removedSamplesForAccelaration: number;
|
|
181
|
+
size: any;
|
|
182
|
+
currentSpatialLayer: number;
|
|
183
|
+
currentTemporalLayer: number;
|
|
184
|
+
preferredSpatialLayer: number;
|
|
185
|
+
preferredTemporalLayer: number;
|
|
186
|
+
}
|
|
187
|
+
]>;
|
|
188
|
+
};
|
|
189
|
+
//# sourceMappingURL=useParticipant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useParticipant.d.ts","sourceRoot":"","sources":["../../../src/participant/useParticipant.js"],"names":[],"mappings":";AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,+CA5FW,MAAM,uFACN;IACV,gBAAmB,CAAC,WAAW;IAC/B,eAAkB,CAAC,WAAW;IAC9B,oBAAuB,CAAC,WAAW;IACnC,qBAAwB,CAAC,WAAW;CACjC;iBAGc,MAAM;;kBAEL,gBAAgB;eACnB,gBAAgB;uBACR,gBAAgB;cACzB,OAAO;WACV,OAAO;mBACC,OAAO;aACb,OAAO;qBACC,OAAO;uBACL,OAAO;cAChB,GAAG;UACP,YAAY,GAAG,QAAQ;uBACV,MAAM,IAAI;0BACP,MAAM,IAAI;6BACP,MAAM,IAAI;gCACP,MAAM,IAAI;0BAChB,KAAK,GAAG,KAAK,GAAG,MAAM,KAAK,IAAI;yBAChC,MAAM,UAAU,MAAM,KAAK,IAAI;eACzC,MAAM,IAAI;gBACT,MAAM,IAAI;kBACR,MAAM,IAAI;mBACT,MAAM,IAAI;gBACb,eAAe,GAAG,KAAK,GAAG,OAAO,KAAK,IAAI;kBACxC,eAAe,GAAG,KAAK,GAAG,OAAO,KAAK,IAAI;;mBAE1C,MAAM;iBACR,MAAM;eACR,MAAM;UACV,QAAQ,IAAI,CAAC;mBACJ,MAAM,QAAQ;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M,CAAC;YAChC,oBAAwB,EAAE,MAAM,CAAC;YACjC,qBAAyB,EAAE,MAAM,CAAC;YAClC,sBAA0B,EAAE,MAAM,CAAA;SAC/B;KAAC,CAAC;EAoRL"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export default usePubSub;
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param {string} topic
|
|
5
|
+
* @param {{
|
|
6
|
+
* onMessageReceived?: Function,
|
|
7
|
+
* onOldMessagesReceived?: Function,
|
|
8
|
+
* }} options
|
|
9
|
+
* @returns {{
|
|
10
|
+
* publish: (message: string,{persist: boolean}) => void
|
|
11
|
+
* messages: Array<{
|
|
12
|
+
* id: string,
|
|
13
|
+
* message: string,
|
|
14
|
+
* senderId: string,
|
|
15
|
+
* senderName: string,
|
|
16
|
+
* timestamp: string,
|
|
17
|
+
* topic: string
|
|
18
|
+
* }>
|
|
19
|
+
* }}
|
|
20
|
+
*/
|
|
21
|
+
declare function usePubSub(topic: string, { onMessageReceived, onOldMessagesReceived }?: {
|
|
22
|
+
onMessageReceived?: Function;
|
|
23
|
+
onOldMessagesReceived?: Function;
|
|
24
|
+
}): {
|
|
25
|
+
publish: (message: string, { persist: boolean }: {
|
|
26
|
+
persist: any;
|
|
27
|
+
}) => void;
|
|
28
|
+
messages: Array<{
|
|
29
|
+
id: string;
|
|
30
|
+
message: string;
|
|
31
|
+
senderId: string;
|
|
32
|
+
senderName: string;
|
|
33
|
+
timestamp: string;
|
|
34
|
+
topic: string;
|
|
35
|
+
}>;
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=usePubSub.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePubSub.d.ts","sourceRoot":"","sources":["../../../src/pubSub/usePubSub.js"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;GAkBG;AACH,kCAjBW,MAAM,iDACN;IACV,iBAAoB,CAAC,WAAW;IAChC,qBAAwB,CAAC,WAAW;CACjC;uBAEmB,MAAM;;UAAwB,IAAI;cAC3C,MAAM;QACnB,EAAO,EAAE,MAAM,CAAC;QAChB,OAAY,EAAE,MAAM,CAAC;QACrB,QAAa,EAAE,MAAM,CAAC;QACtB,UAAe,EAAE,MAAM,CAAC;QACxB,SAAc,EAAE,MAAM,CAAC;QACvB,KAAU,EAAE,MAAM,CAAA;KACd,CAAC;EA+CL"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export const eventEmitter: any;
|
|
2
|
+
export const events: {
|
|
3
|
+
'participant-joined': string;
|
|
4
|
+
'participant-left': string;
|
|
5
|
+
'speaker-changed': string;
|
|
6
|
+
'presenter-changed': string;
|
|
7
|
+
'main-participant-changed': string;
|
|
8
|
+
'entry-requested': string;
|
|
9
|
+
'entry-responded': string;
|
|
10
|
+
'recording-started': string;
|
|
11
|
+
'recording-stopped': string;
|
|
12
|
+
'chat-message': string;
|
|
13
|
+
'meeting-joined': string;
|
|
14
|
+
'meeting-left': string;
|
|
15
|
+
'live-stream-started': string;
|
|
16
|
+
'live-stream-stopped': string;
|
|
17
|
+
'video-state-changed': string;
|
|
18
|
+
'video-seeked': string;
|
|
19
|
+
'webcam-requested': string;
|
|
20
|
+
'mic-requested': string;
|
|
21
|
+
'pin-state-changed': string;
|
|
22
|
+
'connection-open': string;
|
|
23
|
+
'connection-close': string;
|
|
24
|
+
'switch-meeting': string;
|
|
25
|
+
error: string;
|
|
26
|
+
'hls-started': string;
|
|
27
|
+
'hls-stopped': string;
|
|
28
|
+
'hls-state-changed': string;
|
|
29
|
+
'recording-state-changed': string;
|
|
30
|
+
'livestream-state-changed': string;
|
|
31
|
+
'meeting-state-changed': string;
|
|
32
|
+
'participant-mode-changed': string;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.js"],"names":[],"mappings":"AAqCA,+BAAwC;AAjCxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@videosdk.live/react-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.62",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.modern.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@videosdk.live/js-sdk": "0.0.
|
|
75
|
+
"@videosdk.live/js-sdk": "0.0.59",
|
|
76
76
|
"events": "^3.3.0"
|
|
77
77
|
}
|
|
78
78
|
}
|