Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
nandito committed Mar 11, 2024
1 parent 8fd6071 commit d99ea24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/webrtc/VegaRtcManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Logger from "../utils/Logger";

const adapter = adapterRaw.default ?? adapterRaw;
const logger = new Logger();
const uuidv4 = uuid.v4;
const uuidv4 = uuid.default?.v4 ?? uuid.v4; // eslint-disable-line no-unused-vars

const browserName = adapter.browserDetails.browser;
let unloading = false;
Expand Down
2 changes: 1 addition & 1 deletion src/webrtc/rtcStatsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import rtcstats from "rtcstats";
import * as uuid from "uuid";

const adapter = adapterRaw.default ?? adapterRaw; // eslint-disable-line no-unused-vars
const uuidv4 = uuid.v4;
const uuidv4 = uuid.default?.v4 ?? uuid.v4; // eslint-disable-line no-unused-vars

const RTCSTATS_PROTOCOL_VERSION = "1.0";

Expand Down
2 changes: 1 addition & 1 deletion tests/webrtc/RtcManagerDispatcher.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as CONNECTION_STATUS from "../../src/model/connectionStatusConstants";
import EventEmitter from "events";
import * as uuid from "uuid";

const uuidv4 = uuid.v4;
const uuidv4 = uuid.default?.v4 ?? uuid.v4; // eslint-disable-line no-unused-vars

const originalMediasoupDevice = mediasoupClient.Device;

Expand Down

0 comments on commit d99ea24

Please sign in to comment.