Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 2328f19

Browse files
authored
Merge branch 'master' into owt-wasm-denoise
2 parents f7fcf72 + f4e5248 commit 2328f19

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://help.github.com/articles/about-code-owners/ for CODEOWNERS syntax.
22

3-
* @jianjunz
3+
* @jianjunz @taste1981 @lzhai @HuaChunbo
44
test/ @yanbin7
5-
src/sdk/rest/ @xiandeatintel
6-
src/samples/conference/public/scripts/rest-sample.js @xiandeatintel
5+
src/sdk/rest/ @starwarfan
6+
src/samples/conference/public/scripts/rest-sample.js @starwarfan

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
8 Bytes
Binary file not shown.

src/samples/p2p/peercall.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</head>
6060

6161
<body>
62-
<script src="https://code.jquery.com/jquery-1.10.2.min.js"
62+
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
6363
type="text/javascript"></script>
6464
<script
6565
src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js"

src/sdk/base/sdputils.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ function setDefaultCodec(mLine, payload) {
514514

515515
// Following codecs will not be removed from SDP event they are not in the
516516
// user-specified codec list.
517-
const audioCodecWhiteList = ['CN', 'telephone-event'];
518-
const videoCodecWhiteList = ['red', 'ulpfec'];
517+
const audioCodecAllowList = ['CN', 'telephone-event'];
518+
const videoCodecAllowList = ['red', 'ulpfec', 'flexfec'];
519519

520520
// Returns a new m= line with the specified codec order.
521521
function setCodecOrder(mLine, payloads) {
@@ -561,8 +561,8 @@ export function reorderCodecs(sdp, type, codecs) {
561561
return sdp;
562562
}
563563

564-
codecs = type === 'audio' ? codecs.concat(audioCodecWhiteList) : codecs.concat(
565-
videoCodecWhiteList);
564+
codecs = type === 'audio' ? codecs.concat(audioCodecAllowList) : codecs.concat(
565+
videoCodecAllowList);
566566

567567
let sdpLines = sdp.split('\r\n');
568568

src/sdk/p2p/peerconnection-channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ class P2PPeerConnectionChannel extends EventDispatcher {
10901090
const mediaStreams = this._getStreamByTrack(event.target);
10911091
for (const mediaStream of mediaStreams) {
10921092
if (this._areAllTracksEnded(mediaStream)) {
1093-
this._onRemoteStreamRemoved(mediaStream);
1093+
this._onRemoteStreamRemoved({stream: mediaStream});
10941094
}
10951095
}
10961096
});

0 commit comments

Comments
 (0)