@flashphoner/websdk 2.0.264 → 2.0.265

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.
@@ -1,4 +1,4 @@
1
- Web SDK - 2.0.264
1
+ Web SDK - 2.0.265
2
2
 
3
3
  [Download builds](https://docs.flashphoner.com/display/WEBSDK2EN/Web+SDK+release+notes)
4
4
 
@@ -550,13 +550,10 @@ function getConstraints() {
550
550
 
551
551
  if (constraints.video) {
552
552
  constraints.video = {
553
- deviceId: $('#videoInput').val(),
553
+ deviceId: {exact: $('#videoInput').val()},
554
554
  width: parseInt($('#sendWidth').val()),
555
555
  height: parseInt($('#sendHeight').val())
556
556
  };
557
- if (Browser.isSafariWebRTC() && Browser.isiOS() && Flashphoner.getMediaProviders()[0] === "WebRTC") {
558
- constraints.video.deviceId = {exact: $('#videoInput').val()};
559
- }
560
557
  if (parseInt($('#sendVideoMinBitrate').val()) > 0)
561
558
  constraints.video.minBitrate = parseInt($('#sendVideoMinBitrate').val());
562
559
  if (parseInt($('#sendVideoMaxBitrate').val()) > 0)
@@ -213,7 +213,7 @@ const startStreamingCamera = function(session, screenStream) {
213
213
  display: localVideoCamera,
214
214
  constraints: {
215
215
  video: {
216
- deviceId: $('#videoInput').val(),
216
+ deviceId: {exact: $('#videoInput').val()},
217
217
  width: parseInt($('#cameraWidth').val()),
218
218
  height: parseInt($('#cameraHeight').val()),
219
219
  frameRate: parseInt($('#cameraFps').val()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashphoner/websdk",
3
- "version": "2.0.264",
3
+ "version": "2.0.265",
4
4
  "description": "Official Flashphoner WebCallServer WebSDK package",
5
5
  "main": "./src/flashphoner-core.js",
6
6
  "types": "./src/flashphoner-core.d.ts",