@whereby.com/media 8.0.8 → 8.0.10
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.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/legacy-esm.js +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -8,7 +8,7 @@ var sdpTransform = require('sdp-transform');
|
|
|
8
8
|
var ipAddress = require('ip-address');
|
|
9
9
|
var checkIp = require('check-ip');
|
|
10
10
|
var validate = require('uuid-validate');
|
|
11
|
-
var mediasoupClient = require('mediasoup-client');
|
|
11
|
+
var mediasoupClient = require('@whereby.com/mediasoup-client');
|
|
12
12
|
var EventEmitter = require('events');
|
|
13
13
|
var socket_ioClient = require('socket.io-client');
|
|
14
14
|
|
|
@@ -1744,7 +1744,7 @@ function startCpuObserver(cb, { sampleRate, } = CPU_OBSERVER_OPTIONS, window = g
|
|
|
1744
1744
|
if ("PressureObserver" in window &&
|
|
1745
1745
|
(window.PressureObserver.knownSources || []).includes("cpu")) {
|
|
1746
1746
|
pressureObserver = new window.PressureObserver(cb, { sampleRate });
|
|
1747
|
-
(_a = pressureObserver.observe("cpu", { sampleInterval: sampleRate * 1000 })) === null || _a === void 0 ? void 0 : _a.catch(logger$8.error);
|
|
1747
|
+
(_a = pressureObserver.observe("cpu", { sampleInterval: sampleRate * 1000 })) === null || _a === void 0 ? void 0 : _a.catch((error) => logger$8.error(error));
|
|
1748
1748
|
return {
|
|
1749
1749
|
stop: () => {
|
|
1750
1750
|
pressureObserver.unobserve("cpu");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Device } from 'mediasoup-client';
|
|
1
|
+
import { Device } from '@whereby.com/mediasoup-client';
|
|
2
2
|
import EventEmitter, { EventEmitter as EventEmitter$1 } from 'events';
|
|
3
|
-
import { RtpCapabilities } from 'mediasoup-client/lib/RtpParameters';
|
|
3
|
+
import { RtpCapabilities } from '@whereby.com/mediasoup-client/lib/RtpParameters';
|
|
4
4
|
|
|
5
5
|
interface MediaStreamTrackWithDenoiserContext extends MediaStreamTrack {
|
|
6
6
|
_denoiserCtx?: AudioContext;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Device } from 'mediasoup-client';
|
|
1
|
+
import { Device } from '@whereby.com/mediasoup-client';
|
|
2
2
|
import EventEmitter, { EventEmitter as EventEmitter$1 } from 'events';
|
|
3
|
-
import { RtpCapabilities } from 'mediasoup-client/lib/RtpParameters';
|
|
3
|
+
import { RtpCapabilities } from '@whereby.com/mediasoup-client/lib/RtpParameters';
|
|
4
4
|
|
|
5
5
|
interface MediaStreamTrackWithDenoiserContext extends MediaStreamTrack {
|
|
6
6
|
_denoiserCtx?: AudioContext;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Device } from 'mediasoup-client';
|
|
1
|
+
import { Device } from '@whereby.com/mediasoup-client';
|
|
2
2
|
import EventEmitter, { EventEmitter as EventEmitter$1 } from 'events';
|
|
3
|
-
import { RtpCapabilities } from 'mediasoup-client/lib/RtpParameters';
|
|
3
|
+
import { RtpCapabilities } from '@whereby.com/mediasoup-client/lib/RtpParameters';
|
|
4
4
|
|
|
5
5
|
interface MediaStreamTrackWithDenoiserContext extends MediaStreamTrack {
|
|
6
6
|
_denoiserCtx?: AudioContext;
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import * as sdpTransform from 'sdp-transform';
|
|
|
6
6
|
import { Address6 } from 'ip-address';
|
|
7
7
|
import checkIp from 'check-ip';
|
|
8
8
|
import validate from 'uuid-validate';
|
|
9
|
-
import { Device, detectDeviceAsync } from 'mediasoup-client';
|
|
9
|
+
import { Device, detectDeviceAsync } from '@whereby.com/mediasoup-client';
|
|
10
10
|
import EventEmitter, { EventEmitter as EventEmitter$1 } from 'events';
|
|
11
11
|
import { io } from 'socket.io-client';
|
|
12
12
|
|
|
@@ -1723,7 +1723,7 @@ function startCpuObserver(cb, { sampleRate, } = CPU_OBSERVER_OPTIONS, window = g
|
|
|
1723
1723
|
if ("PressureObserver" in window &&
|
|
1724
1724
|
(window.PressureObserver.knownSources || []).includes("cpu")) {
|
|
1725
1725
|
pressureObserver = new window.PressureObserver(cb, { sampleRate });
|
|
1726
|
-
(_a = pressureObserver.observe("cpu", { sampleInterval: sampleRate * 1000 })) === null || _a === void 0 ? void 0 : _a.catch(logger$8.error);
|
|
1726
|
+
(_a = pressureObserver.observe("cpu", { sampleInterval: sampleRate * 1000 })) === null || _a === void 0 ? void 0 : _a.catch((error) => logger$8.error(error));
|
|
1727
1727
|
return {
|
|
1728
1728
|
stop: () => {
|
|
1729
1729
|
pressureObserver.unobserve("cpu");
|
package/dist/legacy-esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import * as sdpTransform from 'sdp-transform';
|
|
|
6
6
|
import { Address6 } from 'ip-address';
|
|
7
7
|
import checkIp from 'check-ip';
|
|
8
8
|
import validate from 'uuid-validate';
|
|
9
|
-
import { Device, detectDeviceAsync } from 'mediasoup-client';
|
|
9
|
+
import { Device, detectDeviceAsync } from '@whereby.com/mediasoup-client';
|
|
10
10
|
import EventEmitter, { EventEmitter as EventEmitter$1 } from 'events';
|
|
11
11
|
import { io } from 'socket.io-client';
|
|
12
12
|
|
|
@@ -1723,7 +1723,7 @@ function startCpuObserver(cb, { sampleRate, } = CPU_OBSERVER_OPTIONS, window = g
|
|
|
1723
1723
|
if ("PressureObserver" in window &&
|
|
1724
1724
|
(window.PressureObserver.knownSources || []).includes("cpu")) {
|
|
1725
1725
|
pressureObserver = new window.PressureObserver(cb, { sampleRate });
|
|
1726
|
-
(_a = pressureObserver.observe("cpu", { sampleInterval: sampleRate * 1000 })) === null || _a === void 0 ? void 0 : _a.catch(logger$8.error);
|
|
1726
|
+
(_a = pressureObserver.observe("cpu", { sampleInterval: sampleRate * 1000 })) === null || _a === void 0 ? void 0 : _a.catch((error) => logger$8.error(error));
|
|
1727
1727
|
return {
|
|
1728
1728
|
stop: () => {
|
|
1729
1729
|
pressureObserver.unobserve("cpu");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whereby.com/media",
|
|
3
3
|
"description": "Media library for Whereby",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.10",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/whereby/sdk",
|
|
7
7
|
"repository": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"check-ip": "^1.1.1",
|
|
42
42
|
"events": "^3.3.0",
|
|
43
43
|
"ip-address": "^9.0.5",
|
|
44
|
-
"mediasoup-client": "3.15.
|
|
44
|
+
"@whereby.com/mediasoup-client": "3.15.8",
|
|
45
45
|
"rtcstats": "github:whereby/rtcstats#5.4.1",
|
|
46
46
|
"sdp": "^3.2.0",
|
|
47
47
|
"sdp-transform": "^2.14.2",
|