Skip to content

Commit

Permalink
feat add support disable rtp endpoint address learning
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Nov 6, 2024
1 parent 7a8664b commit d47be7c
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 d47be7c

Please sign in to comment.