Skip to content

Commit

Permalink
this is how it works
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 17, 2024
1 parent 5c89403 commit 5960a96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rtpengine-call-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ function allocateEndpoint(which, rtpEngine, totag, opts) {

debug(`callDetails: ${JSON.stringify(opts.callDetails)}`);
debug(`rtpengine args for ${which}: ${JSON.stringify(args)}, sending to ${JSON.stringify(rtpEngine.remote)}`);
// so silly debug stuff
opts.logger.info(`which: ${which}`);
opts.logger.info(`sdp: ${JSON.stringify(sdp)}`);
opts.logger.info(`callDetails: ${JSON.stringify(opts.callDetails)}`);
opts.logger.info(`rtpengine args for ${which}: ${JSON.stringify(args)}, sending to ${JSON.stringify(rtpEngine.remote)}`);
return rtpEngine[which === 'caller' ? 'offer' : 'answer'](rtpEngine.remote, args)
Expand Down

0 comments on commit 5960a96

Please sign in to comment.