Skip to content

Commit a740573

Browse files
committed
edge: remove rtx from recv encoding parameters
Edge 14942 throws errors if that field is present.
1 parent cc81d14 commit a740573

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)