@videosdk.live/react-sdk 0.1.96 → 0.1.97
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 +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/types/character.d.ts +9 -3
- package/dist/types/index.d.ts +19 -2
- package/dist/types/participant.d.ts +230 -189
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1288,6 +1288,9 @@ var useParticipant = function useParticipant(participantId, _temp) {
|
|
|
1288
1288
|
var getShareStats = function getShareStats() {
|
|
1289
1289
|
return Promise.resolve(participant === null || participant === void 0 ? void 0 : participant.getShareStats());
|
|
1290
1290
|
};
|
|
1291
|
+
var getShareAudioStats = function getShareAudioStats() {
|
|
1292
|
+
return Promise.resolve(participant === null || participant === void 0 ? void 0 : participant.getShareAudioStats());
|
|
1293
|
+
};
|
|
1291
1294
|
var consumeWebcamStreams = function consumeWebcamStreams() {
|
|
1292
1295
|
participant === null || participant === void 0 ? void 0 : participant.consumeWebcamStreams();
|
|
1293
1296
|
};
|
|
@@ -1362,7 +1365,8 @@ var useParticipant = function useParticipant(participantId, _temp) {
|
|
|
1362
1365
|
switchTo: switchTo,
|
|
1363
1366
|
getAudioStats: getAudioStats,
|
|
1364
1367
|
getVideoStats: getVideoStats,
|
|
1365
|
-
getShareStats: getShareStats
|
|
1368
|
+
getShareStats: getShareStats,
|
|
1369
|
+
getShareAudioStats: getShareAudioStats
|
|
1366
1370
|
};
|
|
1367
1371
|
};
|
|
1368
1372
|
|
|
@@ -1781,6 +1785,9 @@ var useCharacter = function useCharacter(_ref, _temp) {
|
|
|
1781
1785
|
var sendMessage = function sendMessage(d) {
|
|
1782
1786
|
return Promise.resolve(character === null || character === void 0 ? void 0 : character.sendMessage(d)).then(function () {});
|
|
1783
1787
|
};
|
|
1788
|
+
var interrupt = function interrupt() {
|
|
1789
|
+
return Promise.resolve(character === null || character === void 0 ? void 0 : character.interrupt()).then(function () {});
|
|
1790
|
+
};
|
|
1784
1791
|
var leave = function leave() {
|
|
1785
1792
|
return Promise.resolve(character === null || character === void 0 ? void 0 : character.leave()).then(function () {});
|
|
1786
1793
|
};
|
|
@@ -1834,7 +1841,8 @@ var useCharacter = function useCharacter(_ref, _temp) {
|
|
|
1834
1841
|
disableWebcam: disableWebcam,
|
|
1835
1842
|
join: join,
|
|
1836
1843
|
leave: leave,
|
|
1837
|
-
sendMessage: sendMessage
|
|
1844
|
+
sendMessage: sendMessage,
|
|
1845
|
+
interrupt: interrupt
|
|
1838
1846
|
};
|
|
1839
1847
|
};
|
|
1840
1848
|
|