@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 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
 
@@ -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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@whereby.com/media",
3
3
  "description": "Media library for Whereby",
4
- "version": "2.5.0",
4
+ "version": "2.5.1",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {