()
| 632 | // Called when the remote peer settings have been updated. |
| 633 | // Resets the cached settings. |
| 634 | function onSettings() { |
| 635 | const session = this[kOwner]; |
| 636 | if (session.destroyed) |
| 637 | return; |
| 638 | session[kUpdateTimer](); |
| 639 | debugSessionObj(session, 'new settings received'); |
| 640 | session[kRemoteSettings] = undefined; |
| 641 | session.emit('remoteSettings', session.remoteSettings); |
| 642 | } |
| 643 | |
| 644 | // If the stream exists, an attempt will be made to emit an event |
| 645 | // on the stream object itself. Otherwise, forward it on to the |
nothing calls this directly
no test coverage detected
searching dependent graphs…