quickvo-sdk-js 0.7.9 → 0.8.0

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 CHANGED
@@ -8937,15 +8937,14 @@ class RoomCalls extends RoomPeer {
8937
8937
  * @returns Promise<RoomUser>
8938
8938
  */
8939
8939
  Z(this, "publish", (a) => new Promise(async (E, _) => {
8940
+ try {
8941
+ await this.setLocalStream(a, !0);
8942
+ } catch (e) {
8943
+ console.log("\x1B[38;2;0;151;255m%c%s\x1B[0m", "color:#0097ff;", "------->quickvo: setLocalStream is error.", e);
8944
+ }
8940
8945
  const k = async () => {
8941
8946
  try {
8942
- const e = await this.getCaller();
8943
- try {
8944
- await this.setLocalStream(a, !0);
8945
- } catch (q) {
8946
- console.log("\x1B[38;2;0;151;255m%c%s\x1B[0m", "color:#0097ff;", "------->quickvo: setLocalStream is error.", q);
8947
- }
8948
- const n = [];
8947
+ const e = await this.getCaller(), n = [];
8949
8948
  for (const q of a) {
8950
8949
  {
8951
8950
  const P = this.getPhoneyStreams(q);