What's Changed
- sip: add support for SIP plugin in #57
- package.json: export Handle class under janode/handle
- recordplay: add support for Record&Play plugin in #60
- textroom: add support for TextRoom plugin (Janus API only) in #61
Full Changelog: v1.7.5...v1.8.0
Breaking changes
The support for SIP plugin has two important effects on the Janode core:
- Due to the nature of SIP, transactions may now timeout, hence the sendRequest has now a second parameter timeout_ms that defaults to 0 (no timeout).
- Transactions will not be automatically closed with success by the core in case of truthy returns from the specialized plugin handleMessage. That is needed to keep transactions open even when handling intermediate events (e.g. INVITE tx should not be closed by a RINGING). As a consequence, plugins must now define every case of successful tx issuing closeTransactionWithSucces whenever it's needed.