Skip to content

Commit

Permalink
Ignore MID RTP extension for receiving media (related to versatica/me…
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Nov 30, 2018
1 parent 0949c47 commit 43e9590
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/handlers/sdp/RemotePlanBSdp.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,11 @@ class RecvRemoteSdp extends RemoteSdp

for (const ext of headerExtensions)
{
// Ignore MID RTP extension for receiving media.
// https://github.com/versatica/mediasoup/issues/230
if (ext.uri === 'urn:ietf:params:rtp-hdrext:sdes:mid')
continue;

remoteMediaObj.ext.push(
{
uri : ext.uri,
Expand Down
5 changes: 5 additions & 0 deletions lib/handlers/sdp/RemoteUnifiedPlanSdp.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,11 @@ class RecvRemoteSdp extends RemoteSdp

for (const ext of headerExtensions)
{
// Ignore MID RTP extension for receiving media.
// https://github.com/versatica/mediasoup/issues/230
if (ext.uri === 'urn:ietf:params:rtp-hdrext:sdes:mid')
continue;

remoteMediaObj.ext.push(
{
uri : ext.uri,
Expand Down

0 comments on commit 43e9590

Please sign in to comment.