@flashphoner/websdk 2.0.207 → 2.0.208
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/docTemplate/README.md +1 -1
- package/examples/demo/streaming/media_devices_manager/manager.js +2 -5
- package/examples/demo/streaming/screen-sharing/screen-sharing.html +1 -1
- package/examples/demo/streaming/screen-sharing/screen-sharing.js +1 -1
- package/flashphoner-no-flash.js +2 -2
- package/flashphoner-no-flash.min.js +2 -2
- package/flashphoner-no-webrtc.js +1 -1
- package/flashphoner-no-webrtc.min.js +1 -1
- package/flashphoner-no-wsplayer.js +2 -2
- package/flashphoner-no-wsplayer.min.js +2 -2
- package/flashphoner-room-api.js +2 -2
- package/flashphoner-room-api.min.js +2 -2
- package/flashphoner-temasys-flash-websocket-without-adapterjs.js +1 -1
- package/flashphoner-temasys-flash-websocket.js +1 -1
- package/flashphoner-temasys-flash-websocket.min.js +1 -1
- package/flashphoner-webrtc-only.js +2 -2
- package/flashphoner-webrtc-only.min.js +1 -1
- package/flashphoner.js +2 -2
- package/flashphoner.min.js +2 -2
- package/package.json +1 -1
- package/src/flashphoner-core.js +1 -1
- package/src/webrtc-media-provider.js +1 -1
package/docTemplate/README.md
CHANGED
|
@@ -62,12 +62,9 @@ function init_page() {
|
|
|
62
62
|
localVideo = document.getElementById("localVideo");
|
|
63
63
|
remoteVideo = document.getElementById("remoteVideo");
|
|
64
64
|
|
|
65
|
-
if(
|
|
65
|
+
if(Browser.isAndroid() || Browser.isiOS()) {
|
|
66
66
|
$('#screenShareForm').hide();
|
|
67
67
|
}
|
|
68
|
-
if (!Browser.isFirefox()) {
|
|
69
|
-
$('#mediaSourceForm').hide();
|
|
70
|
-
}
|
|
71
68
|
|
|
72
69
|
Flashphoner.getMediaDevices(null, true, MEDIA_DEVICE_KIND.OUTPUT).then(function (list) {
|
|
73
70
|
list.audio.forEach(function (device) {
|
|
@@ -644,7 +641,7 @@ function switchToScreen() {
|
|
|
644
641
|
if (publishStream) {
|
|
645
642
|
$('#switchBtn').prop('disabled', true);
|
|
646
643
|
$('#videoInput').prop('disabled', true);
|
|
647
|
-
publishStream.switchToScreen($('#mediaSource').val()).catch(function () {
|
|
644
|
+
publishStream.switchToScreen($('#mediaSource').val(), true).catch(function () {
|
|
648
645
|
$("#screenShareToggle").removeAttr("checked");
|
|
649
646
|
$('#switchBtn').prop('disabled', false);
|
|
650
647
|
$('#videoInput').prop('disabled', false);
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<h2 class="modal-title text-center text-danger">Warning!</h2>
|
|
30
30
|
</div>
|
|
31
31
|
<div class="modal-body text-center">
|
|
32
|
-
<h2 class="text-primary">Screen sharing works only in
|
|
32
|
+
<h2 class="text-primary">Screen sharing works only in desktop browsers</h2>
|
|
33
33
|
</div>
|
|
34
34
|
<div class="modal-footer">
|
|
35
35
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
@@ -16,7 +16,7 @@ function init_page() {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
var interval;
|
|
19
|
-
if (Browser.isFirefox()) {
|
|
19
|
+
if (Browser.isFirefox() && !Browser.isAndroid() && !Browser.isiOS()) {
|
|
20
20
|
$("#installExtensionButton").show();
|
|
21
21
|
interval = setInterval(function() {
|
|
22
22
|
if (Flashphoner.firefoxScreenSharingExtensionInstalled) {
|
package/flashphoner-no-flash.js
CHANGED
|
@@ -10144,7 +10144,7 @@ var createSession = function createSession(options) {
|
|
|
10144
10144
|
mediaProviders: Object.keys(MediaProvider),
|
|
10145
10145
|
keepAlive: keepAlive,
|
|
10146
10146
|
authToken: authToken,
|
|
10147
|
-
clientVersion: "2.0.
|
|
10147
|
+
clientVersion: "2.0.208",
|
|
10148
10148
|
clientOSVersion: window.navigator.appVersion,
|
|
10149
10149
|
clientBrowserVersion: window.navigator.userAgent,
|
|
10150
10150
|
msePacketizationVersion: 2,
|
|
@@ -13640,7 +13640,7 @@ var createConnection = function createConnection(options) {
|
|
|
13640
13640
|
clonedConstraints.video.mediaSource = source;
|
|
13641
13641
|
}
|
|
13642
13642
|
|
|
13643
|
-
if (
|
|
13643
|
+
if (woExtension) {
|
|
13644
13644
|
getScreenDeviceIdWoExtension(clonedConstraints).then(function (screenSharingConstraints) {
|
|
13645
13645
|
navigator.mediaDevices.getDisplayMedia(screenSharingConstraints).then(function (stream) {
|
|
13646
13646
|
processScreenStream(stream, resolve);
|