quickvo-sdk-js 0.6.8 → 0.6.9
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 +3 -2
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8800,7 +8800,8 @@ class RoomCalls extends RoomPeer {
|
|
|
8800
8800
|
Z(this, "setMediaDeviceKind", async (a, E) => new Promise(async (_, k) => {
|
|
8801
8801
|
await this.setDeviceKind(a, E);
|
|
8802
8802
|
const e = await this.getCaller(), { id: n, tracks: O = [], callActionMap: $ } = e, N = [], D = async (q) => {
|
|
8803
|
-
|
|
8803
|
+
const P = this.localStreamsActionMap.get(q);
|
|
8804
|
+
if (P) {
|
|
8804
8805
|
N.push(q), await this.stopLocalStreams([q]);
|
|
8805
8806
|
try {
|
|
8806
8807
|
await this.initLocalStream(q);
|
|
@@ -8809,7 +8810,7 @@ class RoomCalls extends RoomPeer {
|
|
|
8809
8810
|
}
|
|
8810
8811
|
}
|
|
8811
8812
|
const j = O.find((J) => J.mediaType === q), V = $[q];
|
|
8812
|
-
if (j) {
|
|
8813
|
+
if (this.options.debug && console.log("\x1B[38;2;0;151;255m%c%s\x1B[0m", "color:#0097ff;", "------->quickvo: setMediaDeviceKind", { active: P, hadTrack: j, action: V }), j) {
|
|
8813
8814
|
const J = this.getLocalStream(q);
|
|
8814
8815
|
if (J) {
|
|
8815
8816
|
const z = this.getUserMediaStreamContext(n, q);
|