Skip to content

Commit

Permalink
バージョンを更新する
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki Ito committed Dec 22, 2020
1 parent 6c963ca commit 263c2f4
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 14 deletions.
11 changes: 7 additions & 4 deletions dist/sora.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @sora/sdk
* undefined
* @version: 2020.6.0
* @version: 2020.6.1
* @author: Shiguredo Inc.
* @license: Apache-2.0
**/
Expand Down Expand Up @@ -867,7 +867,7 @@
type: "connect",
// @ts-ignore
// eslint-disable-next-line @typescript-eslint/camelcase
sora_client: `Sora JavaScript SDK ${'2020.6.0'}`,
sora_client: `Sora JavaScript SDK ${'2020.6.1'}`,
environment: window.navigator.userAgent,
role: role,
// eslint-disable-next-line @typescript-eslint/camelcase
Expand Down Expand Up @@ -1374,7 +1374,10 @@
// simulcast の場合
if (this.options.simulcast && (this.role === "upstream" || this.role === "sendrecv" || this.role === "sendonly")) {
const transceiver = this.pc.getTransceivers().find((t) => {
if (t.mid && 0 <= t.mid.indexOf("video") && t.sender.track !== null) {
if (t.mid &&
0 <= t.mid.indexOf("video") &&
t.sender.track !== null &&
(t.currentDirection === null || t.currentDirection === "sendonly")) {
return t;
}
});
Expand Down Expand Up @@ -1768,7 +1771,7 @@
},
version: function () {
// @ts-ignore
return '2020.6.0';
return '2020.6.1';
},
};

Expand Down
4 changes: 2 additions & 2 deletions dist/sora.min.js

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions dist/sora.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @sora/sdk
* undefined
* @version: 2020.6.0
* @version: 2020.6.1
* @author: Shiguredo Inc.
* @license: Apache-2.0
**/
Expand Down Expand Up @@ -861,7 +861,7 @@ function createSignalingMessage(offerSDP, role, channelId, metadata, options) {
type: "connect",
// @ts-ignore
// eslint-disable-next-line @typescript-eslint/camelcase
sora_client: `Sora JavaScript SDK ${'2020.6.0'}`,
sora_client: `Sora JavaScript SDK ${'2020.6.1'}`,
environment: window.navigator.userAgent,
role: role,
// eslint-disable-next-line @typescript-eslint/camelcase
Expand Down Expand Up @@ -1368,7 +1368,10 @@ class ConnectionBase {
// simulcast の場合
if (this.options.simulcast && (this.role === "upstream" || this.role === "sendrecv" || this.role === "sendonly")) {
const transceiver = this.pc.getTransceivers().find((t) => {
if (t.mid && 0 <= t.mid.indexOf("video") && t.sender.track !== null) {
if (t.mid &&
0 <= t.mid.indexOf("video") &&
t.sender.track !== null &&
(t.currentDirection === null || t.currentDirection === "sendonly")) {
return t;
}
});
Expand Down Expand Up @@ -1762,7 +1765,7 @@ var sora = {
},
version: function () {
// @ts-ignore
return '2020.6.0';
return '2020.6.1';
},
};

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "2020.6.0"
"version": "2020.6.1"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sora-js-sdk",
"version": "2020.6.0",
"version": "2020.6.1",
"description": "WebRTC SFU Sora JavaScript SDK",
"main": "dist/sora.min.js",
"module": "dist/sora.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sora/sdk",
"version": "2020.6.0",
"version": "2020.6.1",
"author": "Shiguredo Inc.",
"license": "Apache-2.0",
"main": "dist/sora.min.js",
Expand Down

0 comments on commit 263c2f4

Please sign in to comment.