Skip to content

Commit

Permalink
Merge branch 'hotfix/2022.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Dec 21, 2022
2 parents a23ebb6 + c1b8ec4 commit de0e714
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

## develop

## 2022.3.1

- [FIX] e2ee が有効で無い場合の判定は null かどうかに修正する
- @voluntas

## 2022.3.0

- [UPDATE] E2EE 有効時に Lyra コーデックを使用可能にする
Expand Down
10 changes: 5 additions & 5 deletions dist/sora.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* sora-js-sdk
* WebRTC SFU Sora JavaScript SDK
* @version: 2022.3.0
* @version: 2022.3.1
* @author: Shiguredo Inc.
* @license: Apache-2.0
**/
Expand Down Expand Up @@ -2252,7 +2252,7 @@
}
const message = {
type: "connect",
sora_client: "Sora JavaScript SDK 2022.3.0",
sora_client: "Sora JavaScript SDK 2022.3.1",
environment: window.navigator.userAgent,
role: role,
channel_id: channelId,
Expand Down Expand Up @@ -3738,7 +3738,7 @@
* @param sender 対象となる RTCRtpSender インスタンス
*/
async setupSenderTransform(sender) {
if ((this.e2ee === undefined && this.lyra === undefined) || sender.track === null) {
if ((this.e2ee === null && this.lyra === undefined) || sender.track === null) {
return;
}
// TODO(sile): WebRTC Encoded Transform の型が提供されるようになったら ignore を外す
Expand Down Expand Up @@ -3768,7 +3768,7 @@
* @param receiver 対象となる RTCRtpReceiver インスタンス
*/
async setupReceiverTransform(mid, receiver) {
if (this.e2ee === undefined && this.lyra === undefined) {
if (this.e2ee === null && this.lyra === undefined) {
return;
}
// TODO(sile): WebRTC Encoded Transform の型が提供されるようになったら ignore を外す
Expand Down Expand Up @@ -5154,7 +5154,7 @@
* @public
*/
version: function () {
return "2022.3.0";
return "2022.3.1";
},
/**
* WebRTC のユーティリティ関数群
Expand Down
10 changes: 5 additions & 5 deletions dist/sora.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* sora-js-sdk
* WebRTC SFU Sora JavaScript SDK
* @version: 2022.3.0
* @version: 2022.3.1
* @author: Shiguredo Inc.
* @license: Apache-2.0
**/
Expand Down Expand Up @@ -2246,7 +2246,7 @@ function createSignalingMessage(offerSDP, role, channelId, metadata, options, re
}
const message = {
type: "connect",
sora_client: "Sora JavaScript SDK 2022.3.0",
sora_client: "Sora JavaScript SDK 2022.3.1",
environment: window.navigator.userAgent,
role: role,
channel_id: channelId,
Expand Down Expand Up @@ -3732,7 +3732,7 @@ class ConnectionBase {
* @param sender 対象となる RTCRtpSender インスタンス
*/
async setupSenderTransform(sender) {
if ((this.e2ee === undefined && this.lyra === undefined) || sender.track === null) {
if ((this.e2ee === null && this.lyra === undefined) || sender.track === null) {
return;
}
// TODO(sile): WebRTC Encoded Transform の型が提供されるようになったら ignore を外す
Expand Down Expand Up @@ -3762,7 +3762,7 @@ class ConnectionBase {
* @param receiver 対象となる RTCRtpReceiver インスタンス
*/
async setupReceiverTransform(mid, receiver) {
if (this.e2ee === undefined && this.lyra === undefined) {
if (this.e2ee === null && this.lyra === undefined) {
return;
}
// TODO(sile): WebRTC Encoded Transform の型が提供されるようになったら ignore を外す
Expand Down Expand Up @@ -5148,7 +5148,7 @@ var sora = {
* @public
*/
version: function () {
return "2022.3.0";
return "2022.3.1";
},
/**
* WebRTC のユーティリティ関数群
Expand Down
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": "2022.3.0",
"version": "2022.3.1",
"description": "WebRTC SFU Sora JavaScript SDK",
"main": "dist/sora.js",
"module": "dist/sora.mjs",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ export default class ConnectionBase {
* @param sender 対象となる RTCRtpSender インスタンス
*/
protected async setupSenderTransform(sender: RTCRtpSender): Promise<void> {
if ((this.e2ee === undefined && this.lyra === undefined) || sender.track === null) {
if ((this.e2ee === null && this.lyra === undefined) || sender.track === null) {
return;
}

Expand Down Expand Up @@ -1418,7 +1418,7 @@ export default class ConnectionBase {
* @param receiver 対象となる RTCRtpReceiver インスタンス
*/
protected async setupReceiverTransform(mid: string | null, receiver: RTCRtpReceiver): Promise<void> {
if (this.e2ee === undefined && this.lyra === undefined) {
if (this.e2ee === null && this.lyra === undefined) {
return;
}

Expand Down

0 comments on commit de0e714

Please sign in to comment.