@flashphoner/websdk 2.0.206 → 2.0.207
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/stream-auto-restore/stream-auto-restore.css +23 -0
- package/examples/demo/streaming/stream-auto-restore/stream-auto-restore.html +76 -0
- package/examples/demo/streaming/stream-auto-restore/stream-auto-restore.js +356 -0
- package/flashphoner-no-flash.js +16 -16
- package/flashphoner-no-flash.min.js +2 -2
- package/flashphoner-no-webrtc.js +15 -15
- package/flashphoner-no-webrtc.min.js +1 -1
- package/flashphoner-no-wsplayer.js +17 -17
- package/flashphoner-no-wsplayer.min.js +2 -2
- package/flashphoner-room-api.js +3 -3
- package/flashphoner-room-api.min.js +2 -2
- package/flashphoner-temasys-flash-websocket-without-adapterjs.js +17 -17
- package/flashphoner-temasys-flash-websocket.js +17 -17
- package/flashphoner-temasys-flash-websocket.min.js +1 -1
- package/flashphoner-webrtc-only.js +14 -14
- package/flashphoner-webrtc-only.min.js +1 -1
- package/flashphoner.js +17 -17
- package/flashphoner.min.js +2 -2
- package/package.json +1 -1
- package/src/flashphoner-core.js +1 -1
- package/src/webrtc-media-provider.js +2 -2
package/flashphoner-room-api.js
CHANGED
|
@@ -10166,7 +10166,7 @@ var createSession = function (options) {
|
|
|
10166
10166
|
mediaProviders: Object.keys(MediaProvider),
|
|
10167
10167
|
keepAlive: keepAlive,
|
|
10168
10168
|
authToken:authToken,
|
|
10169
|
-
clientVersion: "2.0.
|
|
10169
|
+
clientVersion: "2.0.207",
|
|
10170
10170
|
clientOSVersion: window.navigator.appVersion,
|
|
10171
10171
|
clientBrowserVersion: window.navigator.userAgent,
|
|
10172
10172
|
msePacketizationVersion: 2,
|
|
@@ -14262,14 +14262,14 @@ var createConnection = function (options) {
|
|
|
14262
14262
|
if (!report.isRemote) {
|
|
14263
14263
|
if (report.type == 'outbound-rtp') {
|
|
14264
14264
|
fillStatObject(result.outboundStream, report);
|
|
14265
|
-
if (report.mediaType == 'video') {
|
|
14265
|
+
if (report.mediaType == 'video' && localVideo != undefined && localVideo != null) {
|
|
14266
14266
|
var vSettings = localVideo.srcObject.getVideoTracks()[0].getSettings();
|
|
14267
14267
|
result.outboundStream[report.mediaType].height = vSettings.height;
|
|
14268
14268
|
result.outboundStream[report.mediaType].width = vSettings.width;
|
|
14269
14269
|
}
|
|
14270
14270
|
} else if (report.type == 'inbound-rtp') {
|
|
14271
14271
|
fillStatObject(result.inboundStream, report);
|
|
14272
|
-
if (report.mediaType == 'video' && remoteVideo != undefined) {
|
|
14272
|
+
if (report.mediaType == 'video' && remoteVideo != undefined && remoteVideo != null) {
|
|
14273
14273
|
result.inboundStream[report.mediaType].height = remoteVideo.videoHeight;
|
|
14274
14274
|
result.inboundStream[report.mediaType].width = remoteVideo.videoWidth;
|
|
14275
14275
|
}
|