@whereby.com/media 2.5.0 → 2.5.1
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 -0
- package/dist/index.mjs +2 -0
- package/dist/legacy-esm.js +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -157,6 +157,8 @@ const getMediasoupDeviceAsync = (features) => __awaiter(void 0, void 0, void 0,
|
|
|
157
157
|
if (/iphone|ipad/i.test(navigator.userAgent)) {
|
|
158
158
|
handlerName = "Safari12";
|
|
159
159
|
}
|
|
160
|
+
if (!handlerName)
|
|
161
|
+
handlerName = "Chrome111";
|
|
160
162
|
return new mediasoupClient.Device({ handlerName });
|
|
161
163
|
});
|
|
162
164
|
|
package/dist/index.mjs
CHANGED
|
@@ -136,6 +136,8 @@ const getMediasoupDeviceAsync = (features) => __awaiter(void 0, void 0, void 0,
|
|
|
136
136
|
if (/iphone|ipad/i.test(navigator.userAgent)) {
|
|
137
137
|
handlerName = "Safari12";
|
|
138
138
|
}
|
|
139
|
+
if (!handlerName)
|
|
140
|
+
handlerName = "Chrome111";
|
|
139
141
|
return new Device({ handlerName });
|
|
140
142
|
});
|
|
141
143
|
|
package/dist/legacy-esm.js
CHANGED
|
@@ -136,6 +136,8 @@ const getMediasoupDeviceAsync = (features) => __awaiter(void 0, void 0, void 0,
|
|
|
136
136
|
if (/iphone|ipad/i.test(navigator.userAgent)) {
|
|
137
137
|
handlerName = "Safari12";
|
|
138
138
|
}
|
|
139
|
+
if (!handlerName)
|
|
140
|
+
handlerName = "Chrome111";
|
|
139
141
|
return new Device({ handlerName });
|
|
140
142
|
});
|
|
141
143
|
|