Skip to content

Commit 951ec66

Browse files
Merge pull request #369 from fippo/no-rtx
edge: remove rtx from recv encoding parameters
2 parents cc81d14 + a740573 commit 951ec66

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/js/edge/edge_shim.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,13 @@ var edgeShim = {
362362
transceiver.rtpSender.send(params);
363363
}
364364
if (recv && transceiver.rtpReceiver) {
365+
// remove RTX field in Edge 14942
366+
if (transceiver.kind === 'video'
367+
&& transceiver.recvEncodingParameters) {
368+
transceiver.recvEncodingParameters.forEach(function(p) {
369+
delete p.rtx;
370+
});
371+
}
365372
params.encodings = transceiver.recvEncodingParameters;
366373
params.rtcp = {
367374
cname: transceiver.cname

0 commit comments

Comments
 (0)