Skip to content

Commit

Permalink
Merge pull request #14 from jambonz/feat/allow_asymmetric
Browse files Browse the repository at this point in the history
feat add support disable rtp endpoint address learning
  • Loading branch information
davehorton authored Nov 6, 2024
2 parents 7a8664b + d47be7c commit bf1b51d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ class SrsClient extends Emitter {
'from-tag': this.sipRecFromTag,
'transport protocol': 'RTP/AVP',
'ICE': 'remove',
'flags': ['allow transcoding']
'flags': [
...(process.env.JAMBONES_DISABLE_RTP_ADDRESS_LEARNING ? ['asymmetric'] : []),
'allow transcoding']
};

let response = await this.subscribeRequest({ ...opts, label: '1', flags: ['all'], interface: 'public' });
Expand Down

0 comments on commit bf1b51d

Please sign in to comment.